From 96e4850d42b38a5893da3c0e0a03aff3aade2140 Mon Sep 17 00:00:00 2001 From: nishi Date: Fri, 26 Jan 2024 03:56:22 +0000 Subject: [PATCH] url git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@77 d27a3e52-49c5-7645-884c-6793ebffc270 --- Example/W3B/Makefile | 2 +- Example/W3B/url.c | 4 ---- Library/URL.c | 6 ++++++ Library/W3URL.h | 7 +++++++ 4 files changed, 14 insertions(+), 5 deletions(-) delete mode 100644 Example/W3B/url.c create mode 100644 Library/URL.c create mode 100644 Library/W3URL.h diff --git a/Example/W3B/Makefile b/Example/W3B/Makefile index c630806..8b1f4e2 100644 --- a/Example/W3B/Makefile +++ b/Example/W3B/Makefile @@ -1,7 +1,7 @@ # $Id$ .PHONY: clean install -./w3b: ./w3b.o ./url.o $(RESFILE) +./w3b: ./w3b.o $(RESFILE) $(CC) -o $@ -L ../../Library $^ -lw3 ./%.o: ./%.c diff --git a/Example/W3B/url.c b/Example/W3B/url.c deleted file mode 100644 index 354d6f4..0000000 --- a/Example/W3B/url.c +++ /dev/null @@ -1,4 +0,0 @@ -/* $Id$ - * - * URL parser - */ diff --git a/Library/URL.c b/Library/URL.c new file mode 100644 index 0000000..37b1356 --- /dev/null +++ b/Library/URL.c @@ -0,0 +1,6 @@ +/* $Id$ */ +#include "W3URL.h" + +struct W3URL* W3_Parse_URL(const char* url){ + return NULL; +} diff --git a/Library/W3URL.h b/Library/W3URL.h new file mode 100644 index 0000000..352c642 --- /dev/null +++ b/Library/W3URL.h @@ -0,0 +1,7 @@ +/* $Id$ */ +#ifndef __W3URL_H__ +#define __W3URL_H__ + +struct W3URL* W3_Parse_URL(const char* url); + +#endif -- 2.43.0