提交 70d696fc authored 作者: Anthony Minessale's avatar Anthony Minessale

add DUMP_EVENT macro

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15439 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 13b26efb
...@@ -626,6 +626,8 @@ SWITCH_DECLARE(int) switch_number_cmp(const char *exp, int val); ...@@ -626,6 +626,8 @@ SWITCH_DECLARE(int) switch_number_cmp(const char *exp, int val);
#endif #endif
#endif #endif
#define DUMP_EVENT(_e) {char *event_str;switch_event_serialize(_e, &event_str, SWITCH_FALSE);printf("DUMP\n%s\n", event_str);free(event_str);}
#ifndef _MSC_VER #ifndef _MSC_VER
#define switch_inet_ntop inet_ntop #define switch_inet_ntop inet_ntop
#else #else
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论