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() --- rsyslog.h | 1 + 1 file changed, 1 insertion(+) (limited to 'rsyslog.h') diff --git a/rsyslog.h b/rsyslog.h index 00f8fad4..b6e17d55 100644 --- a/rsyslog.h +++ b/rsyslog.h @@ -73,6 +73,7 @@ enum rsRetVal_ /** return value. All methods return this if not specified oth RS_RET_INVALID_SOURCE = -2019, /**< source (address) invalid for some reason */ RS_RET_ADDRESS_UNKNOWN = -2020, /**< an address is unknown - not necessarily an error */ RS_RET_MALICIOUS_ENTITY = -2021, /**< there is an malicious entity involved */ + RS_RET_OK_DELETE_LISTENTRY = 1, /**< operation successful, but callee requested the deletion of an entry (special state) */ RS_RET_OK = 0 /**< operation successful */ }; typedef enum rsRetVal_ rsRetVal; /**< friendly type for global return value */ -- cgit v1.2.3