#ifndef __W3TAG_H__
#define __W3TAG_H__
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include <stddef.h>
void W3_Tag_Parse(char* data, size_t size, void (*tagfunc)(char* tagname, char* attr), void (*textfunc)(char* data));
char* W3_Tag_Attr(char* data, const char* name);
+#ifdef __cplusplus
+}
+#endif
+
#endif
#ifndef __W3URL_H__
#define __W3URL_H__
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include <tcl.h>
int W3_Init(Tcl_Interp* interp);
+#ifdef __cplusplus
+}
+#endif
+
#endif
#ifndef __W3URL_H__
#define __W3URL_H__
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct W3URL {
char* protocol;
char* host;
struct W3URL* W3_Parse_URL(const char* url);
void W3_Free_URL(struct W3URL* url);
+#ifdef __cplusplus
+}
+#endif
+
#endif
extern "C" {
#endif
-#define LIBW3_VERSION "2.20F" \
+#define LIBW3_VERSION "2.20G" \
SUFFIX
ifdef(`HTTP_SUPPORT', `#define LIBW3_HTTP_SUPPORT', `')