- itojun@cvs.openbsd.org 2001/06/26 06:32:58
[atomicio.h authfd.h authfile.h auth.h auth-options.h bufaux.h
buffer.h canohost.h channels.h cipher.h clientloop.h compat.h
compress.h crc32.h deattack.h dh.h dispatch.h groupaccess.h
hostfile.h kex.h key.h log.h mac.h match.h misc.h mpaux.h packet.h
radix.h readconf.h readpass.h rsa.h]
prototype pedant. not very creative...
- () -> (void)
- no variable names
diff --git a/readconf.h b/readconf.h
index 489ffc8..4b3be76 100644
--- a/readconf.h
+++ b/readconf.h
@@ -11,7 +11,7 @@
* called by a name other than "ssh" or "Secure Shell".
*/
-/* RCSID("$OpenBSD: readconf.h,v 1.32 2001/05/18 14:13:29 markus Exp $"); */
+/* RCSID("$OpenBSD: readconf.h,v 1.33 2001/06/26 06:32:58 itojun Exp $"); */
#ifndef READCONF_H
#define READCONF_H
@@ -107,13 +107,13 @@
* are processed in the following order: command line, user config file,
* system config file. Last, fill_default_options is called.
*/
-void initialize_options(Options * options);
+void initialize_options(Options *);
/*
* Called after processing other sources of option data, this fills those
* options for which no value has been specified with their default values.
*/
-void fill_default_options(Options * options);
+void fill_default_options(Options *);
/*
* Processes a single option line as used in the configuration files. This
@@ -121,9 +121,7 @@
* options
*/
int
-process_config_line(Options * options, const char *host,
- char *line, const char *filename, int linenum,
- int *activep);
+process_config_line(Options *, const char *, char *, const char *, int, int *);
/*
* Reads the config file and modifies the options accordingly. Options
@@ -131,23 +129,20 @@
* there is an error. If the file does not exist, this returns immediately.
*/
void
-read_config_file(const char *filename, const char *host,
- Options * options);
+read_config_file(const char *, const char *, Options *);
/*
* Adds a local TCP/IP port forward to options. Never returns if there is an
* error.
*/
void
-add_local_forward(Options * options, u_short port, const char *host,
- u_short host_port);
+add_local_forward(Options *, u_short, const char *, u_short);
/*
* Adds a remote TCP/IP port forward to options. Never returns if there is
* an error.
*/
void
-add_remote_forward(Options * options, u_short port, const char *host,
- u_short host_port);
+add_remote_forward(Options *, u_short, const char *, u_short);
#endif /* READCONF_H */