提交 e55ac3ef authored 作者: Michael Jerris's avatar Michael Jerris

be more C compliant.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8056 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 c0b76910
......@@ -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"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论