Lines Matching defs:sm

64 void sm_inc_use_count(StateMachine * sm)  in sm_inc_use_count()
69 void sm_dec_use_count(StateMachine * sm) in sm_dec_use_count()
75 const gchar *sm_current_name(StateMachine * sm) in sm_current_name()
80 void sm_state_name(StateMachine * sm, const gchar * name) in sm_state_name()
86 gboolean sm_is_connected(StateMachine * sm) in sm_is_connected()
91 static void route_event(StateMachine * sm, gint event) in route_event()
152 void sm_cancel_prefix(StateMachine * sm) in sm_cancel_prefix()
160 StateMachine *sm = (StateMachine *) user_data; in net_event() local
196 gboolean sm_connect(StateMachine * sm, const gchar * host, in sm_connect()
212 void sm_set_session(StateMachine * sm, Session * ses) in sm_set_session()
222 gboolean sm_recv(StateMachine * sm, const gchar * fmt, ...) in sm_recv()
235 gboolean sm_recv_prefix(StateMachine * sm, const gchar * fmt, ...) in sm_recv_prefix()
250 void sm_write(StateMachine * sm, const gchar * str) in sm_write()
265 void sm_write_uncached(StateMachine * sm, const gchar * str) in sm_write_uncached()
273 void sm_send(StateMachine * sm, const gchar * fmt, ...) in sm_send()
289 void sm_set_use_cache(StateMachine * sm, gboolean use_cache) in sm_set_use_cache()
311 gboolean sm_get_use_cache(const StateMachine * sm) in sm_get_use_cache()
316 void sm_global_set(StateMachine * sm, StateFunc state) in sm_global_set()
321 void sm_unhandled_set(StateMachine * sm, StateFunc state) in sm_unhandled_set()
326 static void push_new_state(StateMachine * sm) in push_new_state()
342 static void do_goto(StateMachine * sm, StateFunc new_state, gboolean enter) in do_goto()
375 void sm_goto_nomacro(StateMachine * sm, StateFunc new_state) in sm_goto_nomacro()
380 void sm_goto_noenter_nomacro(StateMachine * sm, StateFunc new_state) in sm_goto_noenter_nomacro()
385 static void do_push(StateMachine * sm, StateFunc new_state, gboolean enter) in do_push()
401 void sm_push_nomacro(StateMachine * sm, StateFunc new_state) in sm_push_nomacro()
406 void sm_push_noenter_nomacro(StateMachine * sm, StateFunc new_state) in sm_push_noenter_nomacro()
411 void sm_pop(StateMachine * sm) in sm_pop()
425 void sm_multipop(StateMachine * sm, gint depth) in sm_multipop()
440 void sm_pop_all_and_goto(StateMachine * sm, StateFunc new_state) in sm_pop_all_and_goto()
459 StateFunc sm_stack_inspect(const StateMachine * sm, guint offset) in sm_stack_inspect()
467 StateFunc sm_current(StateMachine * sm) in sm_current()
478 StateMachine *sm = g_malloc0(sizeof(*sm)); in sm_new() local
488 void sm_free(StateMachine * sm) in sm_free()
504 void sm_close(StateMachine * sm) in sm_close()
529 void sm_stack_dump(const StateMachine * sm) in sm_stack_dump()