Add returncode PARSER_HAVE_ERRNO as a valid returncode from module_hash_binary_count() and module_hash_binary_parse() module hooks. You can use this in case fopen() fails and you want to transport back the original error from the OS
This commit is contained in:
@@ -539,6 +539,7 @@ typedef enum parser_rc
|
||||
PARSER_BLOCK_SIZE = -39,
|
||||
PARSER_CIPHER = -40,
|
||||
PARSER_FILE_SIZE = -41,
|
||||
PARSER_HAVE_ERRNO = -100,
|
||||
PARSER_UNKNOWN_ERROR = -255
|
||||
|
||||
} parser_rc_t;
|
||||
|
||||
Reference in New Issue
Block a user