From 5db1fbb8ad702aa9751e802951463b6c0418eca9 Mon Sep 17 00:00:00 2001 From: nishi Date: Tue, 13 Feb 2024 23:22:03 +0000 Subject: [PATCH] adding ftp support git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@212 d27a3e52-49c5-7645-884c-6793ebffc270 --- Library/FTP.c | 12 ++++++++++++ Library/Makefile | 2 +- Library/W3FTP.h | 17 +++++++++++++++++ W3Version.h.p | 2 +- 4 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 Library/FTP.c create mode 100644 Library/W3FTP.h diff --git a/Library/FTP.c b/Library/FTP.c new file mode 100644 index 0000000..a25ed39 --- /dev/null +++ b/Library/FTP.c @@ -0,0 +1,12 @@ +/* $Id$ */ +#include "W3FTP.h" + +#include "W3Core.h" +#include "W3Util.h" + +#include +#include + +void __W3_FTP_Request(struct W3* w3) { + __W3_Debug("LibW3-FTP", "Sending the request"); +} diff --git a/Library/Makefile b/Library/Makefile index 732e56b..5324097 100644 --- a/Library/Makefile +++ b/Library/Makefile @@ -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 index 0000000..15da012 --- /dev/null +++ b/Library/W3FTP.h @@ -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 diff --git a/W3Version.h.p b/W3Version.h.p index be27e13..e740f9f 100644 --- a/W3Version.h.p +++ b/W3Version.h.p @@ -6,7 +6,7 @@ extern "C" { #endif -#define LIBW3_VERSION "2.10A" \ +#define LIBW3_VERSION "2.11" \ SUFFIX #ifdef __cplusplus -- 2.43.0