diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-26 08:42:14 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-26 08:42:14 +0000 |
commit | c75d3b93480469abfd2cb8332bcc0e58c95ef5e3 (patch) | |
tree | c2e9041e09276e8960f2cc96b580b5cb78283376 /modules.c | |
parent | 229aa9e64424cf05fc2391ad2e7e2baefc37542f (diff) | |
download | rsyslog-c75d3b93480469abfd2cb8332bcc0e58c95ef5e3.tar.gz rsyslog-c75d3b93480469abfd2cb8332bcc0e58c95ef5e3.tar.xz rsyslog-c75d3b93480469abfd2cb8332bcc0e58c95ef5e3.zip |
- implemented onSelectReadyWrite() interface
- milestone reached: no more access to f->f_un in syslogd.c
Diffstat (limited to 'modules.c')
-rw-r--r-- | modules.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -184,6 +184,10 @@ rsRetVal doModInit(rsRetVal (*modInit)(int, int*, rsRetVal(**)()), uchar *name) moduleDestruct(pNew); return iRet; } + if((iRet = (*pNew->modQueryEtryPt)((uchar*)"onSelectReadyWrite", &pNew->onSelectReadyWrite)) != RS_RET_OK) { + moduleDestruct(pNew); + return iRet; + } if((iRet = (*pNew->modQueryEtryPt)((uchar*)"freeInstance", &pNew->freeInstance)) != RS_RET_OK) { moduleDestruct(pNew); return iRet; |