Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Dustin L. Howett
oligos
Commits
6a8ae4dd
Commit
6a8ae4dd
authored
May 01, 2012
by
Dustin L. Howett
Browse files
Move the buffer defs into oligos.h
parent
56c0f457
Changes
2
Hide whitespace changes
Inline
Side-by-side
main.cc
View file @
6a8ae4dd
...
...
@@ -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
;
...
...
oligos.h
View file @
6a8ae4dd
...
...
@@ -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 */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment