]> Nishi Git Mirror - libw3.git/commitdiff
url
authornishi <nishi@d27a3e52-49c5-7645-884c-6793ebffc270>
Fri, 26 Jan 2024 03:56:22 +0000 (03:56 +0000)
committernishi <nishi@d27a3e52-49c5-7645-884c-6793ebffc270>
Fri, 26 Jan 2024 03:56:22 +0000 (03:56 +0000)
git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@77 d27a3e52-49c5-7645-884c-6793ebffc270

Example/W3B/Makefile
Example/W3B/url.c [deleted file]
Library/URL.c [new file with mode: 0644]
Library/W3URL.h [new file with mode: 0644]

index c630806cd315415f4f2aaf3595d5f8d681e4d8de..8b1f4e255b24027decc7e949776a82328423000e 100644 (file)
@@ -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 (file)
index 354d6f4..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-/* $Id$
- *
- * URL parser
- */
diff --git a/Library/URL.c b/Library/URL.c
new file mode 100644 (file)
index 0000000..37b1356
--- /dev/null
@@ -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 (file)
index 0000000..352c642
--- /dev/null
@@ -0,0 +1,7 @@
+/* $Id$ */
+#ifndef __W3URL_H__
+#define __W3URL_H__
+
+struct W3URL* W3_Parse_URL(const char* url);
+
+#endif