eaarl-io  1.0.1+71abbd4
EAARL Input/Output Library (Public API)
error.h
Go to the documentation of this file.
1 #ifndef EAARLIO_ERROR_H
2 #define EAARLIO_ERROR_H
3 
13 #include <stdio.h>
14 #include <string.h>
15 
16 typedef enum {
17 
18  /* -- General use */
19 
32 
33  /* -- Specific to flight */
34 
39 
40  /* -- Specific to edb */
41 
44 
45  /* -- Specific to tld */
46 
51 
52  /* -- Specific to memory */
53 
58 
59  /* -- Specific to stream */
60 
83 
94 
105 char const *eaarlio_error_name(eaarlio_error err);
106 
117 char const *eaarlio_error_message(eaarlio_error err);
118 
163 int eaarlio_error_check(eaarlio_error err, char *format, ...);
164 
165 #endif
Invalid TLD opener.
Definition: error.h:50
Unable to complete an operation due to suspected corrupted data.
Definition: error.h:29
eaarlio_error
Definition: error.h:16
A value was encountered that was out of range for its type.
Definition: error.h:27
An unexpected null pointer was encountered.
Definition: error.h:23
Fewer bytes read than requested (may signal end of file)
Definition: error.h:72
Attempt to read failed.
Definition: error.h:70
Unable to allocate memory.
Definition: error.h:57
int eaarlio_error_check(eaarlio_error err, char *format,...)
Check for errors and display error if needed.
Attempt to write failed.
Definition: error.h:74
Encountered a filename whose length exceeds what EDB supports.
Definition: error.h:43
An invalid raster number was specified.
Definition: error.h:38
Request to seek used invalid whence.
Definition: error.h:80
Unable to open file.
Definition: error.h:66
Unable to tell position in file.
Definition: error.h:82
Unknown error.
Definition: error.h:92
Success (no error was encountered)
Definition: error.h:21
Fewer bytes written than expected.
Definition: error.h:76
Unable to close file.
Definition: error.h:68
char const * eaarlio_error_name(eaarlio_error err)
Retrieve the symbolic name for an error.
Invalid stream configuration.
Definition: error.h:62
A buffer&#39;s allocated size was too small.
Definition: error.h:25
Attempted to use a stream operation that was not implemented.
Definition: error.h:64
char const * eaarlio_error_message(eaarlio_error err)
Retrieve an error message for an error.
Invalid memory handler.
Definition: error.h:55
Invalid flight configuration.
Definition: error.h:36
Encountered an unknown TLD record type.
Definition: error.h:48
Unable to seek to position in file.
Definition: error.h:78
Encountered a string that appeared unterminated.
Definition: error.h:31