aboutsummaryrefslogtreecommitdiff
path: root/src/irc.h
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-04-03 18:36:13 -0400
committerB. Watson <urchlay@slackware.uk>2026-04-03 18:36:30 -0400
commitafb4a065b6bee669df249790835c64ea9dc6b331 (patch)
tree6ebf6ecfd131fa8f921dcfb28b9796a777a3381c /src/irc.h
parent5afe2a48f8d73dbef22d09266d4e33b0a40b4df1 (diff)
downloadfujinet-chat-afb4a065b6bee669df249790835c64ea9dc6b331.tar.gz
Use real arrays for tx_buf and rx_buf. 6253 bytes free.
Diffstat (limited to 'src/irc.h')
-rw-r--r--src/irc.h17
1 files changed, 6 insertions, 11 deletions
diff --git a/src/irc.h b/src/irc.h
index 5e831b9..91ffd00 100644
--- a/src/irc.h
+++ b/src/irc.h
@@ -1,20 +1,15 @@
#define MAX_IRC_MSG_LEN 512
-
-/*
-#define streq(x,y) !strcmp(x,y)
-#define streq_i(x,y) !strcasecmp(x,y)
-*/
+#include "rxtxbuf.h"
/**** main.c */
-extern char *rx_buf;
-extern unsigned short rxbuflen;
+
+extern unsigned int rxbuflen;
+extern unsigned int txbuflen;
+
extern unsigned char err;
extern unsigned char trip;
-extern char hz;
extern char reconnect_timeout;
-
-extern unsigned int txbuflen;
-extern char *tx_buf;
+extern char hz; /* 50 for PAL, 60 for NTSC, natch */
/* clears the transmit buffer. */
void txbuf_init(void);