diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-04-23 15:07:19 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-04-23 15:07:19 +0200 |
commit | 1892fc75f9fad0b0741b4a3eb1fc382f900b2301 (patch) | |
tree | a863e25521c3dd5988bdea1499a41c47106ae81f /tcps_sess.h | |
parent | 2be459c4d7645ad12f83723be7bb26199fe98b82 (diff) | |
download | rsyslog-1892fc75f9fad0b0741b4a3eb1fc382f900b2301.tar.gz rsyslog-1892fc75f9fad0b0741b4a3eb1fc382f900b2301.tar.bz2 rsyslog-1892fc75f9fad0b0741b4a3eb1fc382f900b2301.zip |
added new netstrms class
netstrms is at the top layer of the socket abstraction
Diffstat (limited to 'tcps_sess.h')
-rw-r--r-- | tcps_sess.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tcps_sess.h b/tcps_sess.h index 102d91b5..25884ea2 100644 --- a/tcps_sess.h +++ b/tcps_sess.h @@ -32,8 +32,9 @@ struct tcpsrv_s; typedef struct tcps_sess_s { BEGINobjInstance; /* Data to implement generic object - MUST be the first data element! */ struct tcpsrv_s *pSrv; /* pointer back to my server (e.g. for callbacks) */ - int sock; - int iMsg; /* index of next char to store in msg */ + int sock; // TODO: remove + netstrm_t *pStrm; + int iMsg; /* index of next char to store in msg */ int bAtStrtOfFram; /* are we at the very beginning of a new frame? */ enum { eAtStrtFram, |