Commit 6a8ae4dd authored by Dustin L. Howett's avatar Dustin L. Howett

Move the buffer defs into oligos.h

parent 56c0f457
......@@ -25,11 +25,9 @@ static char *progname;
static int irc_fd = -1;
static int control_fd = -1;
#define READ_BUF_LEN 4096
static char irc_read_ring[READ_BUF_LEN]; // We should be able to take up to 8 messages in a buffer. Just in case.
static unsigned long long int nbytes_read = 0;
#define WRITE_BUF_LEN (200*1024)
static char *irc_write_ring;
static unsigned long long int nbytes_write = 0;
......
......@@ -19,4 +19,7 @@ struct command_state {
char *channel;
};
#define READ_BUF_LEN 4096
#define WRITE_BUF_LEN (200*1024)
#endif /* end of include guard: OLIGOS_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment