git » nmdb » commit 9fb4da2

Add nmdb_add_server() to libnmbd's manpage.

author Alberto Bertogli
2007-01-06 16:34:55 UTC
committer Alberto Bertogli
2007-01-06 16:34:55 UTC
parent 9b4a245d56c122935717ea9471efcb7544d04060

Add nmdb_add_server() to libnmbd's manpage.

libnmdb/libnmdb.3 +7 -1

diff --git a/libnmdb/libnmdb.3 b/libnmdb/libnmdb.3
index 7554862..27306d8 100644
--- a/libnmdb/libnmdb.3
+++ b/libnmdb/libnmdb.3
@@ -6,7 +6,7 @@ libnmdb - Library for interacting with a nmdb server
 .B #include <nmdb.h>
 .sp
 .BI "nmdb_t *nmdb_init(int " port ");"
-.sp
+.BI "int nmdb_add_server(nmdb_t *" db ", int " port ");"
 .BI "int nmdb_free(nmdb_t *" db ");"
 .sp
 .BI "int nmdb_set(nmdb_t *" db ","
@@ -47,6 +47,12 @@ and identifies a connection to the server. It takes a single argument, which
 is the TIPC port to use. If you are in doubt, use -1 which will use the
 default value.
 
+Optionally, you can add more servers to the server pool, using
+.BR nmdb_add_server ().
+You can add any number of servers, and each time a request is made, one will
+be selected. Be aware that you should add all the servers before start using
+the database.
+
 To dispose a connection, use
 .BR nmdb_free ().