diff options
Diffstat (limited to 'tcps_sess.h')
-rw-r--r-- | tcps_sess.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tcps_sess.h b/tcps_sess.h index db52e102..ff7c167a 100644 --- a/tcps_sess.h +++ b/tcps_sess.h @@ -44,6 +44,7 @@ typedef struct tcps_sess_s { TCPFRAMINGMODE eFraming; uchar msg[MAXLINE+1]; uchar *fromHost; + uchar *fromHostIP; void *pUsr; /* a user-pointer */ } tcps_sess_t; @@ -61,6 +62,7 @@ BEGINinterface(tcps_sess) /* name must also be changed in ENDinterface macro! */ rsRetVal (*SetTcpsrv)(tcps_sess_t *pThis, struct tcpsrv_s *pSrv); rsRetVal (*SetUsrP)(tcps_sess_t*, void*); rsRetVal (*SetHost)(tcps_sess_t *pThis, uchar*); + rsRetVal (*SetHostIP)(tcps_sess_t *pThis, uchar*); rsRetVal (*SetStrm)(tcps_sess_t *pThis, netstrm_t*); rsRetVal (*SetMsgIdx)(tcps_sess_t *pThis, int); ENDinterface(tcps_sess) |