]> Nishi Git Mirror - libw3.git/commitdiff
adding ftp support
authornishi <nishi@d27a3e52-49c5-7645-884c-6793ebffc270>
Tue, 13 Feb 2024 23:22:03 +0000 (23:22 +0000)
committernishi <nishi@d27a3e52-49c5-7645-884c-6793ebffc270>
Tue, 13 Feb 2024 23:22:03 +0000 (23:22 +0000)
git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@212 d27a3e52-49c5-7645-884c-6793ebffc270

Library/FTP.c [new file with mode: 0644]
Library/Makefile
Library/W3FTP.h [new file with mode: 0644]
W3Version.h.p

diff --git a/Library/FTP.c b/Library/FTP.c
new file mode 100644 (file)
index 0000000..a25ed39
--- /dev/null
@@ -0,0 +1,12 @@
+/* $Id$ */
+#include "W3FTP.h"
+
+#include "W3Core.h"
+#include "W3Util.h"
+
+#include <stdlib.h>
+#include <string.h>
+
+void __W3_FTP_Request(struct W3* w3) {
+       __W3_Debug("LibW3-FTP", "Sending the request");
+}
index 732e56bd4f01f1013a29ab1d91f3221dded718fc..5324097d8b5b0f58e4ab1a3ca79fe7e30c74a87e 100644 (file)
@@ -1,7 +1,7 @@
 # $Id$
 .PHONY: clean install
 
-OBJS = ./Core.o ./Util.o ./DNS.o ./HTTP.o ./Gopher.o ./POP3.o ./Finger.o ./File.o ./Nex.o ./URL.o ./Tag.o
+OBJS = ./Core.o ./Util.o ./DNS.o ./HTTP.o ./Gopher.o ./POP3.o ./Finger.o ./File.o ./Nex.o ./FTP.o ./URL.o ./Tag.o
 
 ifeq ($(TCL),YES)
 OBJS += ./Tcl.o
diff --git a/Library/W3FTP.h b/Library/W3FTP.h
new file mode 100644 (file)
index 0000000..15da012
--- /dev/null
@@ -0,0 +1,17 @@
+/* $Id$ */
+#ifndef __W3FTP_H__
+#define __W3FTP_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include "W3Core.h"
+
+void __W3_FTP_Request(struct W3* w3);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
index be27e135016712790fa7157d57f8db77cff736ee..e740f9f4d826128dc6d44457cae852bf6eca066b 100644 (file)
@@ -6,7 +6,7 @@
 extern "C" {
 #endif
 
-#define LIBW3_VERSION "2.10A" \
+#define LIBW3_VERSION "2.11" \
 SUFFIX
 
 #ifdef __cplusplus