[sr-dev] git:master: doxygen: fix a bunch of errors in parser, db_mysql and xmlrpc modules

Henning Westerholt henning.westerholt at 1und1.de
Mon Sep 12 21:29:50 CEST 2011


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

Author: Henning Westerholt <henning.westerholt at 1und1.de>
Committer: Henning Westerholt <henning.westerholt at 1und1.de>
Date:   Mon Sep 12 21:29:26 2011 +0200

doxygen: fix a bunch of errors in parser, db_mysql and xmlrpc modules

---

 modules/db_mysql/my_cmd.c |    5 ++---
 modules/xmlrpc/xmlrpc.c   |    9 ++++-----
 parser/parse_allow.c      |    2 +-
 parser/parse_allow.h      |    4 ++--
 4 files changed, 9 insertions(+), 11 deletions(-)

diff --git a/modules/db_mysql/my_cmd.c b/modules/db_mysql/my_cmd.c
index 2e71131..f6479f9 100644
--- a/modules/db_mysql/my_cmd.c
+++ b/modules/db_mysql/my_cmd.c
@@ -1,6 +1,4 @@
 /* 
- * $Id$
- *
  * Copyright (C) 2001-2003 FhG Fokus
  * Copyright (C) 2006-2007 iptelorg GmbH
  *
@@ -139,8 +137,9 @@ static void my_cmd_free(db_cmd_t* cmd, struct my_cmd* payload)
 
 /** Builds a DELETE SQL statement.The function builds DELETE statement where
  * cmd->match specify WHERE clause.  
- * @param cmd SQL statement as a result of this function 
+ * @param sql_cmd SQL statement as a result of this function 
  * @param cmd input for statement creation
+ * @return -1 on error, 0 on success
  */
 static int build_delete_cmd(str* sql_cmd, db_cmd_t* cmd)
 {
diff --git a/modules/xmlrpc/xmlrpc.c b/modules/xmlrpc/xmlrpc.c
index ba150ef..7528ea3 100644
--- a/modules/xmlrpc/xmlrpc.c
+++ b/modules/xmlrpc/xmlrpc.c
@@ -1,6 +1,4 @@
 /*
- * $Id$
- *
  * Copyright (C) 2005 iptelorg GmbH
  * Written by Jan Janak <jan at iptel.org>
  *
@@ -1326,9 +1324,10 @@ static int get_double(double* val, struct xmlrpc_reply* reply,
  * @param doc A pointer to the XML-RPC request document.
  * @param value A pointer to the element containing the parameter to be 
  *              converted within the document.
- * @param flags : GET_X_AUTOCONV - try autoconverting
- *                GET_X_LFLF2CRLF - replace double '\n' with `\r\n'
- *                GET_X_NOREPLY - do not reply
+ * @param flags 
+ *              - GET_X_AUTOCONV - try autoconverting
+ *              - GET_X_LFLF2CRLF - replace double '\\n' with `\\r\\n'
+ *              - GET_X_NOREPLY - do not reply
  * @return <0 on error, 0 on success
  */
 static int get_string(char** val, struct xmlrpc_reply* reply, 
diff --git a/parser/parse_allow.c b/parser/parse_allow.c
index da882f8..4fb9d66 100644
--- a/parser/parse_allow.c
+++ b/parser/parse_allow.c
@@ -37,7 +37,7 @@
 /*! \brief
  * This method is used to parse Allow header.
  *
- * \param hf message header field
+ * \param _hf message header field
  * \return 0 on success, -1 on failure.
  */
 int parse_allow_header(struct hdr_field* _hf)
diff --git a/parser/parse_allow.h b/parser/parse_allow.h
index 5ce78aa..e568630 100644
--- a/parser/parse_allow.h
+++ b/parser/parse_allow.h
@@ -56,10 +56,10 @@ int parse_allow(struct sip_msg *msg);
 /*! \brief
  * This method is used to parse Allow header.
  *
- * \param hf message header field
+ * \param _hf message header field
  * \return 0 on success, -1 on failure.
  */
-int parse_allow_header(struct hdr_field* _h);
+int parse_allow_header(struct hdr_field* _hf);
 
 
 /*! \brief




More information about the sr-dev mailing list