mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-13 13:07:06 +00:00
add sipcc to tree for sdp parser
This commit is contained in:
1 parent
36f89c8b7c
commit
0f00946782
369 files changed
+183596
No files matched your search
@@ -0,0 +1,35 @@
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#ifndef CC_DEBUG_H_
|
||||
#define CC_DEBUG_H_
|
||||
#include "cc_types.h"
|
||||
#include <cpr_stdio.h>
|
||||
|
||||
extern cc_int32_t VCMDebug;
|
||||
extern cc_int32_t PLATDebug;
|
||||
|
||||
#define PLAT_ERROR err_msg
|
||||
#define VCM_ERR err_msg
|
||||
|
||||
#define VCM_DEBUG if (VCMDebug) buginf
|
||||
#define PLAT_DEBUG if (PLATDebug) buginf
|
||||
|
||||
//DEBUG message prefixes
|
||||
#define PLAT_F_PREFIX "PLAT : %s : "
|
||||
#define PLAT_A_F_PREFIX "PLAT : %s : %s :"
|
||||
#define PLAT_L_C_F_PREFIX "PLAT : %d/%d : %s : " // line/call/fname as arg
|
||||
#define VCM_F_PREFIX "VCM : %s : "
|
||||
#define VCM_A_F_PREFIX "VCM : %s : %s :"
|
||||
#define VCM_L_C_F_PREFIX "%s : %d/%d : %s : " // line/call/fname as arg
|
||||
#define PLAT_F_PREFIX_ARGS(msg_name, func_name) msg_name, func_name
|
||||
#define PLAT_L_C_F_PREFIX_ARGS(msg_name, line, call_id, func_name) \
|
||||
msg_name, line, call_id, func_name
|
||||
|
||||
|
||||
//
|
||||
#define PLAT_API "PLAT_API" // platform API
|
||||
#define VCM_API "VCM_API" // vcm api
|
||||
|
||||
#endif /* CC_DEBUG_H_ */
|
||||
Reference in new issue
Block a user