From 3bb7ad8246bca95c89d68a8b0402b8482489c877 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Wed, 21 Nov 2007 16:34:48 +0000 Subject: - added an identifier to command handler table - need to identify which command handler entries need to be removed when module is unloaded - added support so that linkedlist key can be used for owner handle - enhanced llExecFunc to support deletion of list elements (on behalf of user function being called, slight interface change) - enhanced linkedlist class so that list elements can now be deleted based on the key value they have - created entry point so that CfSysLine handlers are removed on modExit() --- linkedlist.h | 1 + 1 file changed, 1 insertion(+) (limited to 'linkedlist.h') diff --git a/linkedlist.h b/linkedlist.h index aafbcf88..e4de9c1c 100644 --- a/linkedlist.h +++ b/linkedlist.h @@ -61,6 +61,7 @@ rsRetVal llFind(linkedList_t *pThis, void *pKey, void **ppData); rsRetVal llGetKey(llElt_t *pThis, void *ppData); rsRetVal llGetNumElts(linkedList_t *pThis, int *piCnt); rsRetVal llExecFunc(linkedList_t *pThis, rsRetVal (*pFunc)(void*, void*), void* pParam); +rsRetVal llFindAndDelete(linkedList_t *pThis, void *pKey); /* use the macro below to define a function that will be executed by * llExecFunc() */ -- cgit v1.2.3