]> Nishi Git Mirror - libw3.git/commitdiff
breaking changes
authornishi <nishi@d27a3e52-49c5-7645-884c-6793ebffc270>
Sat, 27 Jan 2024 05:46:37 +0000 (05:46 +0000)
committernishi <nishi@d27a3e52-49c5-7645-884c-6793ebffc270>
Sat, 27 Jan 2024 05:46:37 +0000 (05:46 +0000)
git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@110 d27a3e52-49c5-7645-884c-6793ebffc270

Example/interactive/interactive.c
Library/HTTP.c
Library/W3HTTP.h
W3Version.h.p

index 2c3c906a151309a758fcd5b8adacb3ffa2f20645..79b16acb252b77062f332bdc6926b0f6bfa6f854 100644 (file)
@@ -50,7 +50,7 @@ void access_site(const char* url) {
                        datalen = 0;
                        W3_Set_Method(w3, "GET");
                        W3_Set_Path(w3, u->path);
-                       W3_Enable_Redirect(w3);
+                       W3_HTTP_Enable_Redirect(w3);
                        W3_On(w3, "status", (void*)status_handler);
                        W3_On(w3, "header", (void*)header_handler);
                        W3_On(w3, "data", (void*)data_handler);
index 6849c16e3bb365982f84316cb060ce35a0197039..494412d1003e2cabeeb7bb4b9efe4b4f276656bf 100644 (file)
@@ -287,4 +287,4 @@ void __W3_HTTP_Request(struct W3* w3) {
        if(redir != NULL) free(redir);
 }
 
-void W3_Enable_Redirect(struct W3* w3) { __W3_Add_Prop(w3, "HTTP_REDIRECT", "YES"); }
+void W3_HTTP_Enable_Redirect(struct W3* w3) { __W3_Add_Prop(w3, "HTTP_REDIRECT", "YES"); }
index a91583997288bb4ef14b25db0914c2b8a4607ad2..da3445843a0329e78cac08372fe8aa13d9486897 100644 (file)
@@ -9,7 +9,7 @@ extern "C" {
 #include "W3Core.h"
 
 void __W3_HTTP_Request(struct W3* w3);
-void W3_Enable_Redirect(struct W3* w3);
+void W3_HTTP_Enable_Redirect(struct W3* w3);
 
 #ifdef __cplusplus
 }
index 6e9df11890259bca7eec6256b9ebe8a3593ba2fc..982fb3f7d5edc25331323ea5ad934e73dd701227 100644 (file)
@@ -6,7 +6,7 @@
 extern "C" {
 #endif
 
-#define LIBW3_VERSION "1.6D" \
+#define LIBW3_VERSION "2.0" \
 SUFFIX
 
 #ifdef __cplusplus