- Timestamp:
- Mar 7, 2014, 3:21:30 PM (11 years ago)
- Branches:
- master
- Children:
- 8871953
- Parents:
- 270fd23
- git-author:
- Mike Belopuhov <mike@…> (03/07/14 15:17:23)
- git-committer:
- Mike Belopuhov <mike@…> (03/07/14 15:21:30)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
icb.h
r270fd23 ra2fadb4 18 18 #include <sys/tree.h> 19 19 20 /* 21 * ICB packet has the following format: <length><type><data> 22 * <lenght> is one byte length of the packet excluding the <lenght> byte; 23 * <type> is one byte type of the packet; 24 * <data> might not be null-terminated. 25 */ 20 26 #define ICB_MSGSIZE 256 21 27 … … 71 77 char client[ICB_MAXNICKLEN]; 72 78 char host[MAXHOSTNAMELEN]; 73 char buffer[ICB_MSGSIZE +1];79 char buffer[ICB_MSGSIZE]; 74 80 struct event ev; 75 81 struct bufferevent *bev;
Note:
See TracChangeset
for help on using the changeset viewer.