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:
Jens Steube
2020-05-27 15:23:02 +02:00
parent bb19c9cf1b
commit 84d3981e7b
40 changed files with 58 additions and 46 deletions
+1
View File
@@ -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;