00001 #ifndef __EUAC_STATE_MACHINE_H 00002 #define __EUAC_STATE_MACHINE_H 00003 00004 #include "events_uac.h" 00005 00006 typedef enum { 00007 act_1xx, /* not final responses */ 00008 act_2xx, /* all ok responses */ 00009 act_3xx, /* redirect responses */ 00010 act_4xx, /* all error responses 4xx, 5xx, 6xx, ... */ 00011 act_notify, /* NOTIFY arrives */ 00012 act_destroy, /* called destroy from client (like create) */ 00013 act_tick 00014 } euac_action_t; 00015 00016 00017 void euac_do_step(euac_action_t action, struct sip_msg *m, events_uac_t *uac); 00018 void euac_start(events_uac_t *uac); 00019 00020 #endif
1.7.1