From bc7d8ccebb0a9e7726a9c85cb10746d7407c28d8 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 4 Mar 2008 10:27:45 +0000 Subject: - changed module interface to support querying obj interface (stage work) - changed module interface version, as the interface change is quite large --- plugins/imtcp/imtcp.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'plugins/imtcp/imtcp.c') 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")); -- cgit v1.2.3