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);
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"); }
#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
}
extern "C" {
#endif
-#define LIBW3_VERSION "1.6D" \
+#define LIBW3_VERSION "2.0" \
SUFFIX
#ifdef __cplusplus