INN commit: trunk/doc/man (clientlib.3)

INN Commit rra at isc.org
Wed Apr 25 19:58:36 UTC 2018


    Date: Wednesday, April 25, 2018 @ 12:58:35
  Author: iulius
Revision: 10277

Fix prototypes in clientlib man page

Modified:
  trunk/doc/man/clientlib.3

-------------+
 clientlib.3 |   19 ++++++-------------
 1 file changed, 6 insertions(+), 13 deletions(-)

Modified: clientlib.3
===================================================================
--- clientlib.3	2018-04-18 19:43:27 UTC (rev 10276)
+++ clientlib.3	2018-04-25 19:58:35 UTC (rev 10277)
@@ -10,29 +10,22 @@
 .B "extern char	ser_line[];"
 
 .B "char *"
-.B "getserverbyfile(file)"
-.B "    char	*file;"
+.B "getserverbyfile(char *file UNUSED);"
 
 .B "int"
-.B "server_init(host)"
-.B "    char	*host;"
+.B "server_init(char *host, int port);"
 
 .B "int"
-.B "handle_server_response(response, host)"
-.B "    int	reponse;"
-.B "    char	*host;"
+.B "handle_server_response(int response, char *host);"
 
 .B "void"
-.B "put_server(text)"
-.B "    char	*text;"
+.B "put_server(const char *buff);"
 
 .B "int"
-.B "get_server(buff, buffsize)"
-.B "    char	*buff;"
-.B "    int	buffsize;"
+.B "get_server(char *buff, int buffsize);"
 
 .B "void"
-.B "close_server()"
+.B "close_server(void);"
 .fi
 .SH DESCRIPTION
 The routines described in this manual page are part of the InterNetNews



More information about the inn-committers mailing list