diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-04-16 11:45:34 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-04-16 11:45:34 +0200 |
commit | 71dea8c86fd80c911ee112439e0aab0dd222f650 (patch) | |
tree | 449537ce85c443697fdc76b992fcac45b5c331de /runtime/net.h | |
parent | 75f3cb34e6ce1c8c782e5c612765dc39b76cc3df (diff) | |
download | rsyslog-71dea8c86fd80c911ee112439e0aab0dd222f650.tar.gz rsyslog-71dea8c86fd80c911ee112439e0aab0dd222f650.tar.xz rsyslog-71dea8c86fd80c911ee112439e0aab0dd222f650.zip |
cleanup: removed no longer needed files
Diffstat (limited to 'runtime/net.h')
-rw-r--r-- | runtime/net.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/net.h b/runtime/net.h index a0791a9d..59199451 100644 --- a/runtime/net.h +++ b/runtime/net.h @@ -27,6 +27,11 @@ #include <netinet/in.h> #include <sys/socket.h> /* this is needed on HP UX -- rgerhards, 2008-03-04 */ +typedef enum _TCPFRAMINGMODE { + TCP_FRAMING_OCTET_STUFFING = 0, /* traditional LF-delimited */ + TCP_FRAMING_OCTET_COUNTING = 1 /* -transport-tls like octet count */ + } TCPFRAMINGMODE; + #define F_SET(where, flag) (where)|=(flag) #define F_ISSET(where, flag) ((where)&(flag))==(flag) #define F_UNSET(where, flag) (where)&=~(flag) |