1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203
|
<?xml version="1.0"?>
<!-- Official repository: https://github.com/libyal/libcerror -->
<!-- Typically included by: #include <libcerror.h> -->
<def format="2">
<!-- int libcerror_error_initialize( libcerror_error_t **error,
int error_domain,
int error_code ); -->
<function name="libcerror_error_initialize">
<noreturn>false</noreturn>
<returnValue type="int"/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
<arg nr="3">
<not-uninit/>
</arg>
</function>
<!-- void libcerror_error_set( libcerror_error_t **error,
int error_domain,
int error_code,
const char *format_string,
... ); -->
<function name="libcerror_error_set">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
<arg nr="3">
<not-uninit/>
</arg>
<formatstr/>
<arg nr="4">
<not-null/>
<not-uninit/>
<formatstr/>
<strz/>
</arg>
</function>
<!-- void libcerror_error_free( libcerror_error_t **error ); -->
<function name="libcerror_error_free">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<!-- int libcerror_error_resize( libcerror_internal_error_t *internal_error ); -->
<function name="libcerror_error_resize">
<noreturn>false</noreturn>
<returnValue type="int"/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
</function>
<!-- int libcerror_error_fprint( libcerror_error_t *error, FILE *stream ); -->
<!-- int libcerror_error_backtrace_fprint( libcerror_error_t *error, FILE *stream ); -->
<function name="libcerror_error_fprint,libcerror_error_backtrace_fprint">
<noreturn>false</noreturn>
<returnValue type="int"/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2">
<not-null/>
<not-uninit/>
</arg>
</function>
<!-- int libcerror_error_sprint( libcerror_error_t *error, char *string, size_t size ); -->
<!-- int libcerror_error_backtrace_sprint( libcerror_error_t *error, char *string, size_t size ); -->
<function name="libcerror_error_sprint,libcerror_error_backtrace_sprint">
<noreturn>false</noreturn>
<returnValue type="int"/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2">
<not-null/>
<minsize type="argvalue" arg="3"/>
</arg>
<arg nr="3">
<not-uninit/>
<not-bool/>
<valid>0:</valid>
</arg>
</function>
<!-- void libcerror_system_set_error( libcerror_error_t **error,
int error_domain,
int error_code,
uint32_t system_error_code,
const char *format_string,
... ); -->
<function name="libcerror_system_set_error">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
<arg nr="3">
<not-uninit/>
</arg>
<arg nr="4">
<not-uninit/>
</arg>
<formatstr/>
<arg nr="5">
<not-null/>
<not-uninit/>
<formatstr/>
<strz/>
</arg>
</function>
<!-- enum LIBCERROR_ERROR_DOMAINS: -->
<define name="LIBCERROR_ERROR_DOMAIN_ARGUMENTS" value="(int)'a'"/>
<define name="LIBCERROR_ERROR_DOMAIN_CONVERSION" value="(int)'c'"/>
<define name="LIBCERROR_ERROR_DOMAIN_COMPRESSION" value="(int)'C'"/>
<define name="LIBCERROR_ERROR_DOMAIN_ENCRYPTION" value="(int)'E'"/>
<define name="LIBCERROR_ERROR_DOMAIN_IO" value="(int)'I'"/>
<define name="LIBCERROR_ERROR_DOMAIN_INPUT" value="(int)'i'"/>
<define name="LIBCERROR_ERROR_DOMAIN_MEMORY" value="(int)'m'"/>
<define name="LIBCERROR_ERROR_DOMAIN_OUTPUT" value="(int)'o'"/>
<define name="LIBCERROR_ERROR_DOMAIN_RUNTIME" value="(int)'r'"/>
<!-- enum LIBCERROR_ARGUMENT_ERROR: -->
<define name="LIBCERROR_ARGUMENT_ERROR_GENERIC" value="0"/>
<define name="LIBCERROR_ARGUMENT_ERROR_INVALID_VALUE" value="1"/>
<define name="LIBCERROR_ARGUMENT_ERROR_VALUE_LESS_THAN_ZERO" value="2"/>
<define name="LIBCERROR_ARGUMENT_ERROR_VALUE_ZERO_OR_LESS" value="3"/>
<define name="LIBCERROR_ARGUMENT_ERROR_VALUE_EXCEEDS_MAXIMUM" value="4"/>
<define name="LIBCERROR_ARGUMENT_ERROR_VALUE_TOO_SMALL" value="5"/>
<define name="LIBCERROR_ARGUMENT_ERROR_VALUE_TOO_LARGE" value="6"/>
<define name="LIBCERROR_ARGUMENT_ERROR_VALUE_OUT_OF_BOUNDS" value="7"/>
<define name="LIBCERROR_ARGUMENT_ERROR_UNSUPPORTED_VALUE" value="8"/>
<define name="LIBCERROR_ARGUMENT_ERROR_CONFLICTING_VALUE" value="9"/>
<!-- enum LIBCERROR_CONVERSION_ERROR: -->
<define name="LIBCERROR_CONVERSION_ERROR_GENERIC" value="0"/>
<define name="LIBCERROR_CONVERSION_ERROR_INPUT_FAILED" value="1"/>
<define name="LIBCERROR_CONVERSION_ERROR_OUTPUT_FAILED" value="2"/>
<!-- enum LIBCERROR_COMPRESSION_ERROR: -->
<define name="LIBCERROR_COMPRESSION_ERROR_GENERIC" value="0"/>
<define name="LIBCERROR_COMPRESSION_ERROR_COMPRESS_FAILED" value="1"/>
<define name="LIBCERROR_COMPRESSION_ERROR_DECOMPRESS_FAILED" value="2"/>
<!-- enum LIBCERROR_ENCRYPTION_ERROR: -->
<define name="LIBCERROR_ENCRYPTION_ERROR_GENERIC" value="0"/>
<define name="LIBCERROR_ENCRYPTION_ERROR_ENCRYPT_FAILED" value="1"/>
<define name="LIBCERROR_ENCRYPTION_ERROR_DECRYPT_FAILED" value="2"/>
<!-- enum LIBCERROR_IO_ERROR: -->
<define name="LIBCERROR_IO_ERROR_GENERIC" value="0"/>
<define name="LIBCERROR_IO_ERROR_OPEN_FAILED" value="1"/>
<define name="LIBCERROR_IO_ERROR_CLOSE_FAILED" value="2"/>
<define name="LIBCERROR_IO_ERROR_SEEK_FAILED" value="3"/>
<define name="LIBCERROR_IO_ERROR_READ_FAILED" value="4"/>
<define name="LIBCERROR_IO_ERROR_WRITE_FAILED" value="5"/>
<define name="LIBCERROR_IO_ERROR_ACCESS_DENIED" value="6"/>
<define name="LIBCERROR_IO_ERROR_INVALID_RESOURCE" value="7"/>
<define name="LIBCERROR_IO_ERROR_IOCTL_FAILED" value="8"/>
<define name="LIBCERROR_IO_ERROR_UNLINK_FAILED" value="9"/>
<!-- enum LIBCERROR_INPUT_ERROR: -->
<define name="LIBCERROR_INPUT_ERROR_GENERIC" value="0"/>
<define name="LIBCERROR_INPUT_ERROR_INVALID_DATA" value="1"/>
<define name="LIBCERROR_INPUT_ERROR_SIGNATURE_MISMATCH" value="2"/>
<define name="LIBCERROR_INPUT_ERROR_CHECKSUM_MISMATCH" value="3"/>
<define name="LIBCERROR_INPUT_ERROR_VALUE_MISMATCH" value="4"/>
<!-- enum LIBCERROR_MEMORY_ERROR: -->
<define name="LIBCERROR_MEMORY_ERROR_GENERIC" value="0"/>
<define name="LIBCERROR_MEMORY_ERROR_INSUFFICIENT" value="1"/>
<define name="LIBCERROR_MEMORY_ERROR_COPY_FAILED" value="2"/>
<define name="LIBCERROR_MEMORY_ERROR_SET_FAILED" value="3"/>
<!-- enum LIBCERROR_OUTPUT_ERROR: -->
<define name="LIBCERROR_OUTPUT_ERROR_GENERIC" value="0"/>
<define name="LIBCERROR_OUTPUT_ERROR_INSUFFICIENT_SPACE" value="1"/>
<!-- enum LIBCERROR_RUNTIME_ERROR: -->
<define name="LIBCERROR_RUNTIME_ERROR_GENERIC" value="0"/>
<define name="LIBCERROR_RUNTIME_ERROR_VALUE_MISSING" value="1"/>
<define name="LIBCERROR_RUNTIME_ERROR_VALUE_ALREADY_SET" value="2"/>
<define name="LIBCERROR_RUNTIME_ERROR_INITIALIZE_FAILED" value="3"/>
<define name="LIBCERROR_RUNTIME_ERROR_RESIZE_FAILED" value="4"/>
<define name="LIBCERROR_RUNTIME_ERROR_FINALIZE_FAILED" value="5"/>
<define name="LIBCERROR_RUNTIME_ERROR_GET_FAILED" value="6"/>
<define name="LIBCERROR_RUNTIME_ERROR_SET_FAILED" value="7"/>
<define name="LIBCERROR_RUNTIME_ERROR_APPEND_FAILED" value="8"/>
<define name="LIBCERROR_RUNTIME_ERROR_COPY_FAILED" value="9"/>
<define name="LIBCERROR_RUNTIME_ERROR_REMOVE_FAILED" value="10"/>
<define name="LIBCERROR_RUNTIME_ERROR_PRINT_FAILED" value="11"/>
<define name="LIBCERROR_RUNTIME_ERROR_VALUE_OUT_OF_BOUNDS" value="12"/>
<define name="LIBCERROR_RUNTIME_ERROR_VALUE_EXCEEDS_MAXIMUM" value="13"/>
<define name="LIBCERROR_RUNTIME_ERROR_UNSUPPORTED_VALUE" value="14"/>
<define name="LIBCERROR_RUNTIME_ERROR_ABORT_REQUESTED" value="15"/>
</def>
|