--- /dev/null
+/* $Id$ */
+#include "W3IRC.h"
+
+#include "W3Core.h"
+#include "W3DNS.h"
+#include "W3Util.h"
+
+#include <stdlib.h>
+#include <string.h>
+
+#ifndef __MINGW32__
+extern int strcasecmp(const char* s1, const char* s2);
+#endif
+
+void __W3_IRC_Request(struct W3* w3) {
+ __W3_Debug("LibW3-IRC", "Sending the request");
+}
OBJS += ./NNTP.o
endif
+ifneq ($(IRC),NO)
+OBJS += ./IRC.o
+endif
+
ifeq ($(WINDOWS),YES)
./w3.dll: $(OBJS)
$(CC) $(LDFLAGS) -fstack-protector -L../openssl/lib/mingw/$(WINARCH) -L . -shared -Wl,--out-implib,./w3.lib -o $@ $^ $(LIBS)
--- /dev/null
+/* $Id$ */
+#ifndef __W3IRC_H__
+#define __W3IRC_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include "W3Core.h"
+
+void __W3_IRC_Request(struct W3* w3);
+void W3_IRC_Send_Request(struct W3* w3);
+void W3_IRC_Disconnect(struct W3* w3);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
#NEX=NO
#FILE=NO
#NNTP=NO
+#IRC=NO
FLAGS += -DFTP_SUPPORT
endif
+ifneq ($(IRC),NO)
+FLAGS += -DIRC_SUPPORT
+endif
+
CFLAGS += $(FLAGS)
ifeq ($(WIN32),YES)