From d03bf9c18cd0a150490eb375bd22d99d52b4832f Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Mon, 25 Feb 2008 14:44:16 +0000 Subject: - added sysvar class - added PUSHSYSVAR operation to vm --- rsyslog.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'rsyslog.h') diff --git a/rsyslog.h b/rsyslog.h index a64a13d9..8b4aa354 100644 --- a/rsyslog.h +++ b/rsyslog.h @@ -134,6 +134,11 @@ enum rsRetVal_ /** return value. All methods return this if not specified oth RS_RET_INVALID_VMOP = -2057, /**< invalid virtual machine instruction */ RS_RET_INVALID_VAR = -2058, /**< a var_t or its content is unsuitable, eg. VARTYPE_NONE */ RS_RET_NOT_A_NUMBER = -2059, /**< e.g. conversion impossible because the string is not a number */ + + /* RainerScript error messages (range 1000.. 1999) */ + RS_RET_SYSVAR_NOT_FOUND = 1001, /**< system variable could not be found (maybe misspelled) */ + + /* some generic error/status codes */ RS_RET_OK_DELETE_LISTENTRY = 1, /**< operation successful, but callee requested the deletion of an entry (special state) */ RS_RET_TERMINATE_NOW = 2, /**< operation successful, function is requested to terminate (mostly used with threads) */ RS_RET_NO_RUN = 3, /**< operation successful, but function does not like to be executed */ -- cgit