add flags to state_handler table

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15356 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2009-11-04 21:07:18 +00:00
parent 2c94b2a924
commit 4a2e4ffc0e
6 changed files with 309 additions and 5 deletions
+1
View File
@@ -85,6 +85,7 @@ struct switch_state_handler_table {
switch_state_handler_t on_reporting;
/*! executed when the state changes to destroy */
switch_state_handler_t on_destroy;
int flags;
void *padding[10];
};
+4
View File
@@ -1409,6 +1409,10 @@ typedef enum {
SCSC_SEND_SIGHUP
} switch_session_ctl_t;
typedef enum {
SSH_FLAG_STICKY = (1 << 0)
} switch_state_handler_flag_t;
typedef struct apr_pool_t switch_memory_pool_t;
typedef uint16_t switch_port_t;
typedef uint8_t switch_payload_t;