diff lib/gftp.h @ 389:b39a312323ec

2003-2-3 Brian Masney <masneyb@gftp.org> * lib/Makefile.am lib/gftp.h lib/options.h lib/rfc959.c lib/ftpcommon.h lib/ftps.c - added support for the FTPS protocol. This currently is only for the control connection. (draft-murray-auth-ftp-ssl-09.txt)
author masneyb
date Wed, 04 Feb 2004 01:53:06 +0000
parents 2f5ce7fb5aad
children 57087926bf03
line wrap: on
line diff
--- a/lib/gftp.h	Tue Feb 03 02:34:01 2004 +0000
+++ b/lib/gftp.h	Wed Feb 04 01:53:06 2004 +0000
@@ -747,11 +747,12 @@
 
 /* protocols.c */
 #define GFTP_FTP_NUM				0
-#define GFTP_HTTP_NUM				1
-#define GFTP_HTTPS_NUM				2
-#define GFTP_LOCAL_NUM				3
-#define GFTP_SSHV2_NUM				4
-#define GFTP_BOOKMARK_NUM			5
+#define GFTP_FTPS_NUM				1
+#define GFTP_HTTP_NUM				2
+#define GFTP_HTTPS_NUM				3
+#define GFTP_LOCAL_NUM				4
+#define GFTP_SSHV2_NUM				5
+#define GFTP_BOOKMARK_NUM			6
 
 #define GFTP_IS_CONNECTED(request)		((request) != NULL && \
                                                  ((request)->datafd > 0 || \
@@ -767,6 +768,10 @@
 					  gftp_file *fle, 
 					  int fd );
 
+int ftps_init 				( gftp_request * request );
+
+void ftps_register_module		( void );
+
 int rfc2068_init 			( gftp_request * request );
 
 void rfc2068_register_module		( void );