]> andersk Git - openssh.git/blobdiff - readconf.h
Third time lucky
[openssh.git] / readconf.h
index e21a60b7f78e02f88ce61a379187a069aa89e712..29dd4f0f250c3344d7c4e6825de9c88c2c28ca5c 100644 (file)
@@ -21,9 +21,9 @@
 /* Data structure for representing a forwarding request. */
 
 typedef struct {
-       int     port;           /* Port to forward. */
-       char   *host;           /* Host to connect. */
-       int     host_port;      /* Port to connect on host. */
+       u_short   port;         /* Port to forward. */
+       char     *host;         /* Host to connect. */
+       u_short   host_port;    /* Port to connect on host. */
 }       Forward;
 /* Data structure for representing option data. */
 
@@ -123,15 +123,15 @@ read_config_file(const char *filename, const char *host,
  * error.
  */
 void 
-add_local_forward(Options * options, int port, const char *host,
-    int host_port);
+add_local_forward(Options * options, u_short port, const char *host,
+    u_short host_port);
 
 /*
  * Adds a remote TCP/IP port forward to options.  Never returns if there is
  * an error.
  */
 void 
-add_remote_forward(Options * options, int port, const char *host,
-    int host_port);
+add_remote_forward(Options * options, u_short port, const char *host,
+    u_short host_port);
 
 #endif                         /* READCONF_H */
This page took 0.04899 seconds and 4 git commands to generate.