[sr-dev] git:master: debugger: added some comments for functions

Daniel-Constantin Mierla miconda at gmail.com
Mon Dec 20 09:54:43 CET 2010


Module: sip-router
Branch: master
Commit: e2335db0b437157001c08da2802fcdf3de6c712a
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=e2335db0b437157001c08da2802fcdf3de6c712a

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Mon Dec 20 09:44:43 2010 +0100

debugger: added some comments for functions

---

 modules/debugger/debugger_mod.c |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/modules/debugger/debugger_mod.c b/modules/debugger/debugger_mod.c
index e0fa8f2..8b85afb 100644
--- a/modules/debugger/debugger_mod.c
+++ b/modules/debugger/debugger_mod.c
@@ -116,6 +116,9 @@ static int mod_init(void)
 	return dbg_init_bp_list();
 }
 
+/**
+ * child init function
+ */
 static int child_init(int rank)
 {
 	LM_DBG("rank is (%d)\n", rank);
@@ -123,6 +126,7 @@ static int child_init(int rank)
 		return dbg_init_pid_list();
 	return dbg_init_mypid();
 }
+
 /**
  * destroy module function
  */
@@ -130,6 +134,9 @@ static void mod_destroy(void)
 {
 }
 
+/**
+ * cfg wrapper to set breakpoint (not implemented yet)
+ */
 static int w_dbg_breakpoint(struct sip_msg* msg, char* point, char* str2)
 {
 	return 1;
@@ -150,6 +157,9 @@ static struct action *dbg_fixup_get_action(void **param, int param_no)
 }
 
 
+/**
+ * fixup for cfg set breakpoint function
+ */
 static int fixup_dbg_breakpoint(void** param, int param_no)
 {
 	struct action *a;




More information about the sr-dev mailing list