git » nmdb » commit 278d064

Add missing prototype for nmdb_add_udp_server() in libnmdb.

author Alberto Bertogli
2007-06-20 06:59:20 UTC
committer Alberto Bertogli
2007-06-20 06:59:20 UTC
parent 7860b77dfabf5f876b26620d0a3b98c410afb4aa

Add missing prototype for nmdb_add_udp_server() in libnmdb.

Signed-off-by: Alberto Bertogli <albertito@gmail.com>

libnmdb/nmdb.h +1 -0

diff --git a/libnmdb/nmdb.h b/libnmdb/nmdb.h
index ded1cd0..9184e8c 100644
--- a/libnmdb/nmdb.h
+++ b/libnmdb/nmdb.h
@@ -36,6 +36,7 @@ typedef struct nmdb_t {
 nmdb_t *nmdb_init();
 int nmdb_add_tipc_server(nmdb_t *db, int port);
 int nmdb_add_tcp_server(nmdb_t *db, const char *addr, int port);
+int nmdb_add_udp_server(nmdb_t *db, const char *addr, int port);
 int nmdb_free(nmdb_t *db);
 
 ssize_t nmdb_get(nmdb_t *db, const unsigned char *key, size_t ksize,