summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--plugins/dns/dns.c2
-rw-r--r--plugins/lua/lua.c8
-rw-r--r--plugins/perl/perl.c10
-rw-r--r--plugins/wmpa/hexchat-plugin.h8
-rw-r--r--src/common/hexchat-plugin.h8
5 files changed, 18 insertions, 18 deletions
diff --git a/plugins/dns/dns.c b/plugins/dns/dns.c
index 2417b1d2..535d4b76 100644
--- a/plugins/dns/dns.c
+++ b/plugins/dns/dns.c
@@ -292,7 +292,7 @@ dns_cmd_cb (char *word[], char *word_eol[], void *ud)
 		if (thread_start (th, thread_function, th))
 		{
 			xchat_hook_fd(ph, th->pipe_fd[PIPE_READ],
-							XCHAT_FD_READ | XCHAT_FD_EXCEPTION | XCHAT_FD_NOTSOCKET,
+							HEXCHAT_FD_READ | HEXCHAT_FD_EXCEPTION | HEXCHAT_FD_NOTSOCKET,
 							(void *)dns_read_cb, th);
 
 		}
diff --git a/plugins/lua/lua.c b/plugins/lua/lua.c
index c5a7e338..ebd2c697 100644
--- a/plugins/lua/lua.c
+++ b/plugins/lua/lua.c
@@ -181,10 +181,10 @@ static struct {
 	{"EAT_ALL",		XCHAT_EAT_ALL},
 
 /* unused until hook_fd is done 
-	{"FD_READ",			XCHAT_FD_READ},
-	{"FD_WRITE",		XCHAT_FD_WRITE},
-	{"FD_EXCEPTION",	XCHAT_FD_EXCEPTION},
-	{"FD_NOTSOCKET",	XCHAT_FD_NOTSOCKET},
+	{"FD_READ",			HEXCHAT_FD_READ},
+	{"FD_WRITE",		HEXCHAT_FD_WRITE},
+	{"FD_EXCEPTION",	HEXCHAT_FD_EXCEPTION},
+	{"FD_NOTSOCKET",	HEXCHAT_FD_NOTSOCKET},
    */
 
 	{"PRI_HIGHEST", 	HEXCHAT_PRI_HIGHEST},
diff --git a/plugins/perl/perl.c b/plugins/perl/perl.c
index 1ecea703..f81dcdd5 100644
--- a/plugins/perl/perl.c
+++ b/plugins/perl/perl.c
@@ -1055,7 +1055,7 @@ XS (XS_Xchat_hook_fd)
 		data = NULL;
 
 #ifdef WIN32
-		if ((flags & XCHAT_FD_NOTSOCKET) == 0) {
+		if ((flags & HEXCHAT_FD_NOTSOCKET) == 0) {
 			/* this _get_osfhandle if from win32iop.h in the perl distribution,
 			 *  not the one provided by Windows
 			 */ 
@@ -1332,10 +1332,10 @@ xs_init (pTHX)
 	newCONSTSUB (stash, "EAT_XCHAT", newSViv (XCHAT_EAT_XCHAT));
 	newCONSTSUB (stash, "EAT_PLUGIN", newSViv (XCHAT_EAT_PLUGIN));
 	newCONSTSUB (stash, "EAT_ALL", newSViv (XCHAT_EAT_ALL));
-	newCONSTSUB (stash, "FD_READ", newSViv (XCHAT_FD_READ));
-	newCONSTSUB (stash, "FD_WRITE", newSViv (XCHAT_FD_WRITE));
-	newCONSTSUB (stash, "FD_EXCEPTION", newSViv (XCHAT_FD_EXCEPTION));
-	newCONSTSUB (stash, "FD_NOTSOCKET", newSViv (XCHAT_FD_NOTSOCKET));
+	newCONSTSUB (stash, "FD_READ", newSViv (HEXCHAT_FD_READ));
+	newCONSTSUB (stash, "FD_WRITE", newSViv (HEXCHAT_FD_WRITE));
+	newCONSTSUB (stash, "FD_EXCEPTION", newSViv (HEXCHAT_FD_EXCEPTION));
+	newCONSTSUB (stash, "FD_NOTSOCKET", newSViv (HEXCHAT_FD_NOTSOCKET));
 	newCONSTSUB (stash, "KEEP", newSViv (1));
 	newCONSTSUB (stash, "REMOVE", newSViv (0));
 
diff --git a/plugins/wmpa/hexchat-plugin.h b/plugins/wmpa/hexchat-plugin.h
index 55e2c0b3..fb398b3a 100644
--- a/plugins/wmpa/hexchat-plugin.h
+++ b/plugins/wmpa/hexchat-plugin.h
@@ -15,10 +15,10 @@
 #define HEXCHAT_PRI_LOW      (-64)
 #define HEXCHAT_PRI_LOWEST   (-128)
 
-#define XCHAT_FD_READ      1
-#define XCHAT_FD_WRITE     2
-#define XCHAT_FD_EXCEPTION 4
-#define XCHAT_FD_NOTSOCKET 8
+#define HEXCHAT_FD_READ      1
+#define HEXCHAT_FD_WRITE     2
+#define HEXCHAT_FD_EXCEPTION 4
+#define HEXCHAT_FD_NOTSOCKET 8
 
 #define XCHAT_EAT_NONE     0                                   /* pass it on through! */
 #define XCHAT_EAT_XCHAT    1                                   /* don't let xchat see this event */
diff --git a/src/common/hexchat-plugin.h b/src/common/hexchat-plugin.h
index ac781368..459b1c03 100644
--- a/src/common/hexchat-plugin.h
+++ b/src/common/hexchat-plugin.h
@@ -10,10 +10,10 @@
 #define HEXCHAT_PRI_LOW		(-64)
 #define HEXCHAT_PRI_LOWEST	(-128)
 
-#define XCHAT_FD_READ		1
-#define XCHAT_FD_WRITE		2
-#define XCHAT_FD_EXCEPTION	4
-#define XCHAT_FD_NOTSOCKET	8
+#define HEXCHAT_FD_READ		1
+#define HEXCHAT_FD_WRITE		2
+#define HEXCHAT_FD_EXCEPTION	4
+#define HEXCHAT_FD_NOTSOCKET	8
 
 #define XCHAT_EAT_NONE		0	/* pass it on through! */
 #define XCHAT_EAT_XCHAT		1	/* don't let xchat see this event */