1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/media/webrtc/signaling/src/sipcc/plat/common/plat_debug.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,26 @@ 1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.7 + 1.8 +#ifndef __PLAT_DEBUG_H__ 1.9 +#define __PLAT_DEBUG_H__ 1.10 +#include "cc_constants.h" 1.11 +#include "debug.h" 1.12 + 1.13 +typedef cc_int32_t (*ci_callback)(cc_int32_t argc, const char *argv[]); 1.14 +typedef struct ci_cmd_block 1.15 +{ 1.16 + const char *cmd; 1.17 + ci_callback func; 1.18 + struct ci_cmd_block *next; 1.19 +} ci_cmd_block_t; 1.20 + 1.21 +void debug_bind_keyword(const char *cmd, cc_int32_t *flag_ptr); 1.22 +void bind_debug_func_keyword(const char *cmd, debug_callback func); 1.23 +void bind_show_keyword(const char *cmd, show_callback func); 1.24 +void bind_show_tech_keyword(const char *cmd, show_callback func, 1.25 + cc_boolean show_tech); 1.26 +void bind_clear_keyword(const char *cmd, clear_callback func); 1.27 +void ci_bind_cmd(const char *cmd, ci_callback func, ci_cmd_block_t *blk); 1.28 + 1.29 +#endif