summaryrefslogtreecommitdiffstats
path: root/tinySIP/include/tinysip/dialogs/tsip_dialog_register.common.h
diff options
context:
space:
mode:
Diffstat (limited to 'tinySIP/include/tinysip/dialogs/tsip_dialog_register.common.h')
-rwxr-xr-xtinySIP/include/tinysip/dialogs/tsip_dialog_register.common.h52
1 files changed, 25 insertions, 27 deletions
diff --git a/tinySIP/include/tinysip/dialogs/tsip_dialog_register.common.h b/tinySIP/include/tinysip/dialogs/tsip_dialog_register.common.h
index 94e4897..e99df2b 100755
--- a/tinySIP/include/tinysip/dialogs/tsip_dialog_register.common.h
+++ b/tinySIP/include/tinysip/dialogs/tsip_dialog_register.common.h
@@ -2,19 +2,19 @@
* Copyright (C) 2010-2011 Mamadou Diop.
*
* Contact: Mamadou Diop <diopmamadou(at)doubango[dot]org>
-*
+*
* This file is part of Open Source Doubango Framework.
*
* DOUBANGO is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as publishd by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
-*
+*
* DOUBANGO is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
-*
+*
* You should have received a copy of the GNU General Public License
* along with DOUBANGO.
*
@@ -31,37 +31,35 @@
/* ======================== actions ======================== */
-typedef enum _fsm_action_e
-{
- _fsm_action_accept = tsip_atype_accept,
- _fsm_action_reject = tsip_atype_hangup,
- _fsm_action_hangup = tsip_atype_hangup,
- _fsm_action_oREGISTER = tsip_atype_register,
- _fsm_action_cancel = tsip_atype_cancel,
- _fsm_action_shutdown = tsip_atype_shutdown,
- _fsm_action_transporterror = tsip_atype_transport_error,
+typedef enum _fsm_action_e {
+ _fsm_action_accept = tsip_atype_accept,
+ _fsm_action_reject = tsip_atype_hangup,
+ _fsm_action_hangup = tsip_atype_hangup,
+ _fsm_action_oREGISTER = tsip_atype_register,
+ _fsm_action_cancel = tsip_atype_cancel,
+ _fsm_action_shutdown = tsip_atype_shutdown,
+ _fsm_action_transporterror = tsip_atype_transport_error,
- _fsm_action_1xx = 0xFF,
- _fsm_action_2xx,
- _fsm_action_401_407_421_494,
- _fsm_action_423,
- _fsm_action_300_to_699,
+ _fsm_action_1xx = 0xFF,
+ _fsm_action_2xx,
+ _fsm_action_401_407_421_494,
+ _fsm_action_423,
+ _fsm_action_300_to_699,
- _fsm_action_iREGISTER,
+ _fsm_action_iREGISTER,
- _fsm_action_shutdown_timedout, /* Any -> Terminated */
- _fsm_action_error,
+ _fsm_action_shutdown_timedout, /* Any -> Terminated */
+ _fsm_action_error,
}
_fsm_action_t;
/* ======================== states ======================== */
-typedef enum _fsm_state_e
-{
- _fsm_state_Started,
- _fsm_state_InProgress, // Outgoing (Client)
- _fsm_state_Incoming, // Incoming (Server)
- _fsm_state_Connected,
- _fsm_state_Terminated
+typedef enum _fsm_state_e {
+ _fsm_state_Started,
+ _fsm_state_InProgress, // Outgoing (Client)
+ _fsm_state_Incoming, // Incoming (Server)
+ _fsm_state_Connected,
+ _fsm_state_Terminated
}
_fsm_state_t;
OpenPOWER on IntegriCloud