Module: kamailio
Branch: master
Commit: 66943de4344c30fefa361f24213f01f8ef58d2c3
URL:
https://github.com/kamailio/kamailio/commit/66943de4344c30fefa361f24213f01f…
Author: Stefan Mititelu <stefan.mititelu(a)1and1.ro>
Committer: Stefan Mititelu <stefan.mititelu(a)1and1.ro>
Date: 2016-01-05T14:02:43+02:00
debugger: rpc module level/facility setters
Rename kamcmd rpc module level/facility setters.
---
Modified: modules/debugger/debugger_api.c
---
Diff:
https://github.com/kamailio/kamailio/commit/66943de4344c30fefa361f24213f01f…
Patch:
https://github.com/kamailio/kamailio/commit/66943de4344c30fefa361f24213f01f…
---
diff --git a/modules/debugger/debugger_api.c b/modules/debugger/debugger_api.c
index f060b36..0e28b54 100644
--- a/modules/debugger/debugger_api.c
+++ b/modules/debugger/debugger_api.c
@@ -981,12 +981,12 @@ static void dbg_rpc_trace(rpc_t* rpc, void* ctx)
/**
*
*/
-static const char* dbg_rpc_mod_level_doc[2] = {
- "Specify module log level",
+static const char* dbg_rpc_set_mod_level_doc[2] = {
+ "Set module log level",
0
};
-static void dbg_rpc_mod_level(rpc_t* rpc, void* ctx){
+static void dbg_rpc_set_mod_level(rpc_t* rpc, void* ctx){
int l;
str value = {0,0};
@@ -1007,12 +1007,12 @@ static void dbg_rpc_mod_level(rpc_t* rpc, void* ctx){
/**
*
*/
-static const char* dbg_rpc_mod_facility_doc[2] = {
- "Specify module log facility",
+static const char* dbg_rpc_set_mod_facility_doc[2] = {
+ "Set module log facility",
0
};
-static void dbg_rpc_mod_facility(rpc_t* rpc, void* ctx) {
+static void dbg_rpc_set_mod_facility(rpc_t* rpc, void* ctx) {
int fl;
str value = {0, 0};
str facility = {0, 0};
@@ -1076,8 +1076,8 @@ rpc_export_t dbg_rpc[] = {
{"dbg.bp", dbg_rpc_bp, dbg_rpc_bp_doc, 0},
{"dbg.ls", dbg_rpc_list, dbg_rpc_list_doc, 0},
{"dbg.trace", dbg_rpc_trace, dbg_rpc_trace_doc, 0},
- {"dbg.mod_level", dbg_rpc_mod_level, dbg_rpc_mod_level_doc, 0},
- {"dbg.mod_facility", dbg_rpc_mod_facility, dbg_rpc_mod_facility_doc, 0},
+ {"dbg.set_mod_level", dbg_rpc_set_mod_level, dbg_rpc_set_mod_level_doc, 0},
+ {"dbg.set_mod_facility", dbg_rpc_set_mod_facility,
dbg_rpc_set_mod_facility_doc, 0},
{"dbg.reset_msgid", dbg_rpc_reset_msgid, dbg_rpc_reset_msgid_doc, 0},
{0, 0, 0, 0}
};