diff options
author | Michael Czigler <37268479+mcpcpc@users.noreply.github.com> | 2025-01-13 09:39:05 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-13 09:39:05 -0500 |
commit | 61bce2bc9fd8d8e5dac8435912a1a5e9513873b8 (patch) | |
tree | 0c44260d01e9cb12e1ffcc5ba04c0adaf91fa5c2 /kirc.h | |
parent | remove some magic numbers, clean up DCC ipv4/ipv6 global variable mess and us... (diff) | |
download | kirc-61bce2bc9fd8d8e5dac8435912a1a5e9513873b8.tar.gz kirc-61bce2bc9fd8d8e5dac8435912a1a5e9513873b8.tar.bz2 kirc-61bce2bc9fd8d8e5dac8435912a1a5e9513873b8.tar.xz kirc-61bce2bc9fd8d8e5dac8435912a1a5e9513873b8.tar.zst kirc-61bce2bc9fd8d8e5dac8435912a1a5e9513873b8.zip |
released at 0.3.2 (#145)
Diffstat (limited to 'kirc.h')
-rw-r--r-- | kirc.h | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -8,7 +8,7 @@ #define _POSIX_C_SOURCE 200809L #define CTCP_CMDS "ACTION VERSION TIME CLIENTINFO PING DCC" -#define VERSION "0.3.2" +#define VERSION "0.3.3" #define TESTCHARS "\xe1\xbb\xa4" #define MSG_MAX 512 /* irc rfc says lines are 512 char's max, but servers can accept more */ #define CHA_MAX 200 @@ -22,7 +22,6 @@ #define POLL_TIMEOUT 180000 /* 3 minutes */ /* argument is in miliseconds */ #define CON_MAX 20 #define BACKLOG 100 /* DCC SEND listen() backlog */ -#define CBUF_SIZ 1024 #define DCC_FLAGS (O_WRONLY | O_APPEND) #define DCC_MODE (S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH) #define STR_(a) #a @@ -69,8 +68,6 @@ static char *auth = NULL; /* PLAIN SASL token */ static char *real = NULL; /* real name */ static char *olog = NULL; /* chat log path */ static char *inic = NULL; /* additional server command */ -static char cmds = 0; /* indicates additional server commands */ -static char cbuf[CBUF_SIZ]; /* additional stdin server commands */ /* define function macros */ #define htonll(x) ((1==htonl(1)) ? (x) : (((uint64_t)htonl((x) & 0xFFFFFFFFUL)) << 32) | htonl((uint32_t)((x) >> 32))) |