INN commit: branches/2.6/doc/man (clientlib.3)

INN Commit rra at isc.org
Mon May 14 12:33:11 UTC 2018


    Date: Monday, May 14, 2018 @ 05:33:11
  Author: iulius
Revision: 10281

Fix prototypes in clientlib man page

Modified:
  branches/2.6/doc/man/clientlib.3

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

Modified: clientlib.3
===================================================================
--- clientlib.3	2018-05-14 12:32:44 UTC (rev 10280)
+++ clientlib.3	2018-05-14 12:33:11 UTC (rev 10281)
@@ -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