[SR-Dev] git:janakj/bdb: - updated the cmd_export_t according to latest structure

Jan Janak jan at iptel.org
Thu Feb 19 15:05:56 CET 2009


Module: sip-router
Branch: janakj/bdb
Commit: 0b499efd8edbc7324079097f71a2e9c1ccc7ac8c
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0b499efd8edbc7324079097f71a2e9c1ccc7ac8c

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Thu Oct  4 11:23:12 2007 +0000

- updated the cmd_export_t according to latest structure


git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@2846 689a6050-402a-0410-94f2-e92a70836424

---

 modules/db_berkeley/km_db_berkeley.c |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/modules/db_berkeley/km_db_berkeley.c b/modules/db_berkeley/km_db_berkeley.c
index 4f5e2ca..a5b0b01 100644
--- a/modules/db_berkeley/km_db_berkeley.c
+++ b/modules/db_berkeley/km_db_berkeley.c
@@ -65,16 +65,16 @@ static void destroy(void);
  * Exported functions
  */
 static cmd_export_t cmds[] = {
-	{"db_use_table",   (cmd_function)sc_use_table,  2, 0, 0},
-	{"db_init",        (cmd_function)sc_init,       1, 0, 0},
-	{"db_close",       (cmd_function)sc_close,      2, 0, 0},
-	{"db_query",       (cmd_function)sc_query,      2, 0, 0},
-	{"db_raw_query",   (cmd_function)sc_raw_query,  2, 0, 0},
-	{"db_free_result", (cmd_function)sc_free_query, 2, 0, 0},
-	{"db_insert",     (cmd_function)sc_insert,     2, 0, 0},
-	{"db_delete",     (cmd_function)sc_delete,     2, 0, 0},
-	{"db_update",     (cmd_function)sc_update,     2, 0, 0},
-	{0, 0, 0, 0, 0}
+	{"db_use_table",   (cmd_function)sc_use_table,  2, 0, 0, 0},
+	{"db_init",        (cmd_function)sc_init,       1, 0, 0, 0},
+	{"db_close",       (cmd_function)sc_close,      2, 0, 0, 0},
+	{"db_query",       (cmd_function)sc_query,      2, 0, 0, 0},
+	{"db_raw_query",   (cmd_function)sc_raw_query,  2, 0, 0, 0},
+	{"db_free_result", (cmd_function)sc_free_query, 2, 0, 0, 0},
+	{"db_insert",     (cmd_function)sc_insert,      2, 0, 0, 0},
+	{"db_delete",     (cmd_function)sc_delete,      2, 0, 0, 0},
+	{"db_update",     (cmd_function)sc_update,      2, 0, 0, 0},
+	{0, 0, 0, 0, 0, 0}
 };
 
 




More information about the sr-dev mailing list