aboutsummaryrefslogtreecommitdiffstats
path: root/src/ftp_var.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ftp_var.h')
-rw-r--r--src/ftp_var.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/ftp_var.h b/src/ftp_var.h
index cd6dcbf2b5cf..79ac75decc61 100644
--- a/src/ftp_var.h
+++ b/src/ftp_var.h
@@ -1,5 +1,5 @@
-/* $NetBSD: ftp_var.h,v 1.10 2009/05/20 12:53:47 lukem Exp $ */
-/* from NetBSD: ftp_var.h,v 1.81 2009/04/12 10:18:52 lukem Exp */
+/* $NetBSD: ftp_var.h,v 1.11 2013/05/05 11:17:31 lukem Exp $ */
+/* from NetBSD: ftp_var.h,v 1.82 2012/12/21 18:07:36 christos Exp */
/*-
* Copyright (c) 1996-2009 The NetBSD Foundation, Inc.
@@ -182,6 +182,7 @@ enum {
#define FTP_PORT 21 /* default if ! getservbyname("ftp/tcp") */
#define HTTP_PORT 80 /* default if ! getservbyname("http/tcp") */
+#define HTTPS_PORT 443 /* default if ! getservbyname("https/tcp") */
#ifndef GATE_PORT
#define GATE_PORT 21 /* default if ! getservbyname("ftpgate/tcp") */
#endif
@@ -278,6 +279,9 @@ GLOBAL char *username; /* name of user logged in as. (dynamic) */
GLOBAL sa_family_t family; /* address family to use for connections */
GLOBAL const char *ftpport; /* port number to use for FTP connections */
GLOBAL const char *httpport; /* port number to use for HTTP connections */
+#ifdef WITH_SSL
+GLOBAL const char *httpsport; /* port number to use for HTTPS connections */
+#endif
GLOBAL const char *gateport; /* port number to use for gateftp connections */
GLOBAL struct addrinfo *bindai; /* local address to bind as */