Module: sip-router
Branch: master
Commit: eb37a5472fd1c5de7dfbc641fdbe372c0f19fe16
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=eb37a54…
Author: Timo Reimann <timo.reimann(a)1und1.de>
Committer: Timo Reimann <timo.reimann(a)1und1.de>
Date: Wed Aug 17 11:33:55 2011 +0200
modules/db_mysql: Add function declaration to prevent compiler
warning.
- Define db_mysql_alloc_buffer(void) in km_dbase.h.
---
modules/db_mysql/km_dbase.h | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/modules/db_mysql/km_dbase.h b/modules/db_mysql/km_dbase.h
index c1dec34..a4e7b26 100644
--- a/modules/db_mysql/km_dbase.h
+++ b/modules/db_mysql/km_dbase.h
@@ -125,4 +125,11 @@ int db_insert_update(const db1_con_t* _h, const db_key_t* _k, const
db_val_t* _v
int db_mysql_use_table(db1_con_t* _h, const str* _t);
+/**
+ * Allocate a buffer for database module
+ * No function should be called before this
+ * \return zero on success, negative value on failure
+ */
+int db_mysql_alloc_buffer(void);
+
#endif /* KM_DBASE_H */