summaryrefslogtreecommitdiffstats
path: root/plugins/imgssapi
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-03-04 10:27:45 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-03-04 10:27:45 +0000
commitbc7d8ccebb0a9e7726a9c85cb10746d7407c28d8 (patch)
treed27718278d91f1de5170a97ce2dd30b69532da37 /plugins/imgssapi
parentcb71628f67e12081db2449eff83667e2a832f495 (diff)
downloadrsyslog-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/imgssapi')
-rw-r--r--plugins/imgssapi/imgssapi.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/imgssapi/imgssapi.c b/plugins/imgssapi/imgssapi.c
index dccc9172..cd42c778 100644
--- a/plugins/imgssapi/imgssapi.c
+++ b/plugins/imgssapi/imgssapi.c
@@ -73,7 +73,6 @@ static rsRetVal OnSessAcceptGSS(tcpsrv_t *pThis, tcps_sess_t **ppSess, int fd);
/* static data */
DEF_IMOD_STATIC_DATA
-DEFobjCurrIf(obj)
DEFobjCurrIf(tcpsrv)
DEFobjCurrIf(tcps_sess)
@@ -711,17 +710,15 @@ static rsRetVal resetConfigVariables(uchar __attribute__((unused)) *pp, void __a
BEGINmodInit()
CODESTARTmodInit
- *ipIFVersProvided = 1; /* so far, we only support the initial definition */
+ *ipIFVersProvided = CURR_MOD_IF_VERSION; /* we only support the current definition */
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"));
CHKiRet(objUse(tcpsrv, "tcpsrv"));
/* register config file handlers */
-dbgprintf("imgssapi starting up\n");
CHKiRet(omsdRegCFSLineHdlr((uchar *)"inputgssserverpermitplaintcp", 0, eCmdHdlrBinary,
NULL, &bPermitPlainTcp, STD_LOADABLE_MODULE_ID));
CHKiRet(omsdRegCFSLineHdlr((uchar *)"inputgssserverrun", 0, eCmdHdlrGetWord,