diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-03-04 10:27:45 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-03-04 10:27:45 +0000 |
commit | bc7d8ccebb0a9e7726a9c85cb10746d7407c28d8 (patch) | |
tree | d27718278d91f1de5170a97ce2dd30b69532da37 /plugins/imtcp/imtcp.c | |
parent | cb71628f67e12081db2449eff83667e2a832f495 (diff) | |
download | rsyslog-bc7d8ccebb0a9e7726a9c85cb10746d7407c28d8.tar.gz rsyslog-bc7d8ccebb0a9e7726a9c85cb10746d7407c28d8.tar.xz rsyslog-bc7d8ccebb0a9e7726a9c85cb10746d7407c28d8.zip |
- changed module interface to support querying obj interface (stage work)
- changed module interface version, as the interface change is quite large
Diffstat (limited to 'plugins/imtcp/imtcp.c')
-rw-r--r-- | plugins/imtcp/imtcp.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/imtcp/imtcp.c b/plugins/imtcp/imtcp.c index 9ef186b4..9ea0863c 100644 --- a/plugins/imtcp/imtcp.c +++ b/plugins/imtcp/imtcp.c @@ -49,7 +49,6 @@ MODULE_TYPE_INPUT /* static data */ DEF_IMOD_STATIC_DATA -DEFobjCurrIf(obj) DEFobjCurrIf(tcpsrv) DEFobjCurrIf(tcps_sess) @@ -214,11 +213,10 @@ ENDqueryEtryPt BEGINmodInit() CODESTARTmodInit - *ipIFVersProvided = 1; /* so far, we only support the initial definition */ + *ipIFVersProvided = CURR_MOD_IF_VERSION; /* we only support the current interface specification */ CODEmodInit_QueryRegCFSLineHdlr pOurTcpsrv = NULL; /* request objects we use */ -CHKiRet(objGetObjInterface(&obj)); /* get ourselves ;) */ // TODO: framework must do this CHKiRet(objUse(tcps_sess, "tcps_sess")); CHKiRet(objUse(tcpsrv, "tcpsrv")); |