forked from Mirrors/freeswitch
be more C compliant.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8056 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
c0b76910e1
commit
e55ac3efaf
@ -74,7 +74,7 @@ typedef NUA_HMAGIC_T nua_hmagic_t;
|
||||
typedef enum nua_nw_detector_e {
|
||||
NUA_NW_DETECT_NOTHING = 0,
|
||||
NUA_NW_DETECT_ONLY_INFO,
|
||||
NUA_NW_DETECT_TRY_FULL,
|
||||
NUA_NW_DETECT_TRY_FULL
|
||||
} nua_nw_detector_t;
|
||||
|
||||
/** Events */
|
||||
@ -154,7 +154,7 @@ typedef enum nua_event_e {
|
||||
compatibility! */
|
||||
nua_i_network_changed, /**< Local IP(v6) address has changed.
|
||||
@NEW_1_12_2 */
|
||||
nua_i_register, /**< Incoming REGISTER. @NEW_1_12_4. */
|
||||
nua_i_register /**< Incoming REGISTER. @NEW_1_12_4. */
|
||||
} nua_event_t;
|
||||
|
||||
typedef struct event_s {
|
||||
|
@ -61,7 +61,7 @@ typedef enum {
|
||||
sip_method_subscribe, /**< SUBSCRIBE */
|
||||
sip_method_notify, /**< NOTIFY */
|
||||
sip_method_refer, /**< REFER */
|
||||
sip_method_publish, /**< PUBLISH */
|
||||
sip_method_publish /**< PUBLISH */
|
||||
} sip_method_t;
|
||||
|
||||
#define SIP_METHOD(s) sip_method_unknown, #s
|
||||
@ -95,7 +95,7 @@ enum {
|
||||
#define SIP_DEFAULT_SERV "5060"
|
||||
|
||||
/** Default port for SIPS as integer */
|
||||
SIPS_DEFAULT_PORT = 5061,
|
||||
SIPS_DEFAULT_PORT = 5061
|
||||
#define SIPS_DEFAULT_PORT SIPS_DEFAULT_PORT
|
||||
/** Default port for SIPS as string */
|
||||
#define SIPS_DEFAULT_SERV "5061"
|
||||
|
Loading…
Reference in New Issue
Block a user