Main Page | Data Structures | File List | Data Fields | Globals | Related Pages

errorcodes.h File Reference

provides some basic general purpose error codes Autogenerated by gen_err_codes.py on Tue Mar 29 15:16:11 2005 More...

#include <stdio.h>

Go to the source code of this file.

Defines

#define ERROR_TRACE
 if this is turned on, everytime return ERROR* is called information about the error will be printed to stderr
#define FAILED(x)   ((x < SUCCESS) ? 1 : 0)
 a macro to test for failure
#define CHECK_FAILED(x, y)   ({ if (FAILED(x)) return y; })
 a macro to check for failure and return if failure detected
#define CHECK_NOT_EQUAL(x, y, z)   ({if (x==y) return z;})
 ensures the argument is not y, returns errorcode if it is
#define CHECK_NOT_NULL(x, z)   ({if (x==NULL) return z;})
 ensures the argument is not NULL, return error if it is
#define CHECK_NOT_NEG(x, y)   ({if (x<0) return y;})
 ensures the argument is not negative, return error if it is
#define CHECK_GREATER_THAN(x, y, z)   ({if (x<=y) return z;})
 ensures the argument is greater than a given value, returns errorcode if it isn't
#define FINISHED   1
 Function is finished with it's work.
#define SUCCESS   0
 Function was successful.
#define OK   0
 Function check was OK.
#define NOT_OK   -1
 Function check was not OK.
#define ERROR   ((fprintf(stderr,"ERROR: General error (ERROR) in %s on line %d\n",__FILE__,__LINE__)==1) ? -1 : -1)
 General error.
#define ERROR_1   ((fprintf(stderr,"ERROR: General error (ERROR_1) in %s on line %d\n",__FILE__,__LINE__)==1) ? -2 : -2)
 General error.
#define ERROR_2   ((fprintf(stderr,"ERROR: General error (ERROR_2) in %s on line %d\n",__FILE__,__LINE__)==1) ? -3 : -3)
 General error.
#define ERROR_3   ((fprintf(stderr,"ERROR: General error (ERROR_3) in %s on line %d\n",__FILE__,__LINE__)==1) ? -4 : -4)
 General error.
#define ERROR_4   ((fprintf(stderr,"ERROR: General error (ERROR_4) in %s on line %d\n",__FILE__,__LINE__)==1) ? -5 : -5)
 General error.
#define ERROR_5   ((fprintf(stderr,"ERROR: General error (ERROR_5) in %s on line %d\n",__FILE__,__LINE__)==1) ? -6 : -6)
 General error.
#define ERROR_6   ((fprintf(stderr,"ERROR: General error (ERROR_6) in %s on line %d\n",__FILE__,__LINE__)==1) ? -7 : -7)
 General error.
#define ERROR_7   ((fprintf(stderr,"ERROR: General error (ERROR_7) in %s on line %d\n",__FILE__,__LINE__)==1) ? -8 : -8)
 General error.
#define ERROR_8   ((fprintf(stderr,"ERROR: General error (ERROR_8) in %s on line %d\n",__FILE__,__LINE__)==1) ? -9 : -9)
 General error.
#define ERROR_9   ((fprintf(stderr,"ERROR: General error (ERROR_9) in %s on line %d\n",__FILE__,__LINE__)==1) ? -10 : -10)
 General error.
#define ERROR_10   ((fprintf(stderr,"ERROR: General error (ERROR_10) in %s on line %d\n",__FILE__,__LINE__)==1) ? -11 : -11)
 General error.
#define ERROR_11   ((fprintf(stderr,"ERROR: General error (ERROR_11) in %s on line %d\n",__FILE__,__LINE__)==1) ? -12 : -12)
 General error.
#define ERROR_12   ((fprintf(stderr,"ERROR: General error (ERROR_12) in %s on line %d\n",__FILE__,__LINE__)==1) ? -13 : -13)
 General error.
#define ERROR_13   ((fprintf(stderr,"ERROR: General error (ERROR_13) in %s on line %d\n",__FILE__,__LINE__)==1) ? -14 : -14)
 General error.
#define ERROR_14   ((fprintf(stderr,"ERROR: General error (ERROR_14) in %s on line %d\n",__FILE__,__LINE__)==1) ? -15 : -15)
 General error.
#define ERROR_15   ((fprintf(stderr,"ERROR: General error (ERROR_15) in %s on line %d\n",__FILE__,__LINE__)==1) ? -16 : -16)
 General error.
#define ERROR_16   ((fprintf(stderr,"ERROR: General error (ERROR_16) in %s on line %d\n",__FILE__,__LINE__)==1) ? -17 : -17)
 General error.
#define ERROR_17   ((fprintf(stderr,"ERROR: General error (ERROR_17) in %s on line %d\n",__FILE__,__LINE__)==1) ? -18 : -18)
 General error.
#define ERROR_18   ((fprintf(stderr,"ERROR: General error (ERROR_18) in %s on line %d\n",__FILE__,__LINE__)==1) ? -19 : -19)
 General error.
#define ERROR_19   ((fprintf(stderr,"ERROR: General error (ERROR_19) in %s on line %d\n",__FILE__,__LINE__)==1) ? -20 : -20)
 General error.
#define ERROR_NULL_ARG   ((fprintf(stderr,"ERROR: A function parameter was illegally NULL (ERROR_NULL_ARG) in %s on line %d\n",__FILE__,__LINE__)==1) ? -21 : -21)
 A function parameter was illegally NULL.
#define ERROR_NULL_ARG_1   ((fprintf(stderr,"ERROR: A function parameter was illegally NULL (ERROR_NULL_ARG_1) in %s on line %d\n",__FILE__,__LINE__)==1) ? -22 : -22)
 A function parameter was illegally NULL.
#define ERROR_NULL_ARG_2   ((fprintf(stderr,"ERROR: A function parameter was illegally NULL (ERROR_NULL_ARG_2) in %s on line %d\n",__FILE__,__LINE__)==1) ? -23 : -23)
 A function parameter was illegally NULL.
#define ERROR_NULL_ARG_3   ((fprintf(stderr,"ERROR: A function parameter was illegally NULL (ERROR_NULL_ARG_3) in %s on line %d\n",__FILE__,__LINE__)==1) ? -24 : -24)
 A function parameter was illegally NULL.
#define ERROR_NULL_ARG_4   ((fprintf(stderr,"ERROR: A function parameter was illegally NULL (ERROR_NULL_ARG_4) in %s on line %d\n",__FILE__,__LINE__)==1) ? -25 : -25)
 A function parameter was illegally NULL.
#define ERROR_NULL_ARG_5   ((fprintf(stderr,"ERROR: A function parameter was illegally NULL (ERROR_NULL_ARG_5) in %s on line %d\n",__FILE__,__LINE__)==1) ? -26 : -26)
 A function parameter was illegally NULL.
#define ERROR_NULL_ARG_6   ((fprintf(stderr,"ERROR: A function parameter was illegally NULL (ERROR_NULL_ARG_6) in %s on line %d\n",__FILE__,__LINE__)==1) ? -27 : -27)
 A function parameter was illegally NULL.
#define ERROR_NULL_ARG_7   ((fprintf(stderr,"ERROR: A function parameter was illegally NULL (ERROR_NULL_ARG_7) in %s on line %d\n",__FILE__,__LINE__)==1) ? -28 : -28)
 A function parameter was illegally NULL.
#define ERROR_NULL_ARG_8   ((fprintf(stderr,"ERROR: A function parameter was illegally NULL (ERROR_NULL_ARG_8) in %s on line %d\n",__FILE__,__LINE__)==1) ? -29 : -29)
 A function parameter was illegally NULL.
#define ERROR_NULL_ARG_9   ((fprintf(stderr,"ERROR: A function parameter was illegally NULL (ERROR_NULL_ARG_9) in %s on line %d\n",__FILE__,__LINE__)==1) ? -30 : -30)
 A function parameter was illegally NULL.
#define ERROR_NULL_ARG_10   ((fprintf(stderr,"ERROR: A function parameter was illegally NULL (ERROR_NULL_ARG_10) in %s on line %d\n",__FILE__,__LINE__)==1) ? -31 : -31)
 A function parameter was illegally NULL.
#define ERROR_NULL_ARG_11   ((fprintf(stderr,"ERROR: A function parameter was illegally NULL (ERROR_NULL_ARG_11) in %s on line %d\n",__FILE__,__LINE__)==1) ? -32 : -32)
 A function parameter was illegally NULL.
#define ERROR_NULL_ARG_12   ((fprintf(stderr,"ERROR: A function parameter was illegally NULL (ERROR_NULL_ARG_12) in %s on line %d\n",__FILE__,__LINE__)==1) ? -33 : -33)
 A function parameter was illegally NULL.
#define ERROR_NULL_ARG_13   ((fprintf(stderr,"ERROR: A function parameter was illegally NULL (ERROR_NULL_ARG_13) in %s on line %d\n",__FILE__,__LINE__)==1) ? -34 : -34)
 A function parameter was illegally NULL.
#define ERROR_NULL_ARG_14   ((fprintf(stderr,"ERROR: A function parameter was illegally NULL (ERROR_NULL_ARG_14) in %s on line %d\n",__FILE__,__LINE__)==1) ? -35 : -35)
 A function parameter was illegally NULL.
#define ERROR_NULL_ARG_15   ((fprintf(stderr,"ERROR: A function parameter was illegally NULL (ERROR_NULL_ARG_15) in %s on line %d\n",__FILE__,__LINE__)==1) ? -36 : -36)
 A function parameter was illegally NULL.
#define ERROR_NULL_ARG_16   ((fprintf(stderr,"ERROR: A function parameter was illegally NULL (ERROR_NULL_ARG_16) in %s on line %d\n",__FILE__,__LINE__)==1) ? -37 : -37)
 A function parameter was illegally NULL.
#define ERROR_NULL_ARG_17   ((fprintf(stderr,"ERROR: A function parameter was illegally NULL (ERROR_NULL_ARG_17) in %s on line %d\n",__FILE__,__LINE__)==1) ? -38 : -38)
 A function parameter was illegally NULL.
#define ERROR_NULL_ARG_18   ((fprintf(stderr,"ERROR: A function parameter was illegally NULL (ERROR_NULL_ARG_18) in %s on line %d\n",__FILE__,__LINE__)==1) ? -39 : -39)
 A function parameter was illegally NULL.
#define ERROR_NULL_ARG_19   ((fprintf(stderr,"ERROR: A function parameter was illegally NULL (ERROR_NULL_ARG_19) in %s on line %d\n",__FILE__,__LINE__)==1) ? -40 : -40)
 A function parameter was illegally NULL.
#define ERROR_NEG_ARG   ((fprintf(stderr,"ERROR: A function parameter was illegally negative (ERROR_NEG_ARG) in %s on line %d\n",__FILE__,__LINE__)==1) ? -41 : -41)
 A function parameter was illegally negative.
#define ERROR_NEG_ARG_1   ((fprintf(stderr,"ERROR: A function parameter was illegally negative (ERROR_NEG_ARG_1) in %s on line %d\n",__FILE__,__LINE__)==1) ? -42 : -42)
 A function parameter was illegally negative.
#define ERROR_NEG_ARG_2   ((fprintf(stderr,"ERROR: A function parameter was illegally negative (ERROR_NEG_ARG_2) in %s on line %d\n",__FILE__,__LINE__)==1) ? -43 : -43)
 A function parameter was illegally negative.
#define ERROR_NEG_ARG_3   ((fprintf(stderr,"ERROR: A function parameter was illegally negative (ERROR_NEG_ARG_3) in %s on line %d\n",__FILE__,__LINE__)==1) ? -44 : -44)
 A function parameter was illegally negative.
#define ERROR_NEG_ARG_4   ((fprintf(stderr,"ERROR: A function parameter was illegally negative (ERROR_NEG_ARG_4) in %s on line %d\n",__FILE__,__LINE__)==1) ? -45 : -45)
 A function parameter was illegally negative.
#define ERROR_NEG_ARG_5   ((fprintf(stderr,"ERROR: A function parameter was illegally negative (ERROR_NEG_ARG_5) in %s on line %d\n",__FILE__,__LINE__)==1) ? -46 : -46)
 A function parameter was illegally negative.
#define ERROR_NEG_ARG_6   ((fprintf(stderr,"ERROR: A function parameter was illegally negative (ERROR_NEG_ARG_6) in %s on line %d\n",__FILE__,__LINE__)==1) ? -47 : -47)
 A function parameter was illegally negative.
#define ERROR_NEG_ARG_7   ((fprintf(stderr,"ERROR: A function parameter was illegally negative (ERROR_NEG_ARG_7) in %s on line %d\n",__FILE__,__LINE__)==1) ? -48 : -48)
 A function parameter was illegally negative.
#define ERROR_NEG_ARG_8   ((fprintf(stderr,"ERROR: A function parameter was illegally negative (ERROR_NEG_ARG_8) in %s on line %d\n",__FILE__,__LINE__)==1) ? -49 : -49)
 A function parameter was illegally negative.
#define ERROR_NEG_ARG_9   ((fprintf(stderr,"ERROR: A function parameter was illegally negative (ERROR_NEG_ARG_9) in %s on line %d\n",__FILE__,__LINE__)==1) ? -50 : -50)
 A function parameter was illegally negative.
#define ERROR_NEG_ARG_10   ((fprintf(stderr,"ERROR: A function parameter was illegally negative (ERROR_NEG_ARG_10) in %s on line %d\n",__FILE__,__LINE__)==1) ? -51 : -51)
 A function parameter was illegally negative.
#define ERROR_NEG_ARG_11   ((fprintf(stderr,"ERROR: A function parameter was illegally negative (ERROR_NEG_ARG_11) in %s on line %d\n",__FILE__,__LINE__)==1) ? -52 : -52)
 A function parameter was illegally negative.
#define ERROR_NEG_ARG_12   ((fprintf(stderr,"ERROR: A function parameter was illegally negative (ERROR_NEG_ARG_12) in %s on line %d\n",__FILE__,__LINE__)==1) ? -53 : -53)
 A function parameter was illegally negative.
#define ERROR_NEG_ARG_13   ((fprintf(stderr,"ERROR: A function parameter was illegally negative (ERROR_NEG_ARG_13) in %s on line %d\n",__FILE__,__LINE__)==1) ? -54 : -54)
 A function parameter was illegally negative.
#define ERROR_NEG_ARG_14   ((fprintf(stderr,"ERROR: A function parameter was illegally negative (ERROR_NEG_ARG_14) in %s on line %d\n",__FILE__,__LINE__)==1) ? -55 : -55)
 A function parameter was illegally negative.
#define ERROR_NEG_ARG_15   ((fprintf(stderr,"ERROR: A function parameter was illegally negative (ERROR_NEG_ARG_15) in %s on line %d\n",__FILE__,__LINE__)==1) ? -56 : -56)
 A function parameter was illegally negative.
#define ERROR_NEG_ARG_16   ((fprintf(stderr,"ERROR: A function parameter was illegally negative (ERROR_NEG_ARG_16) in %s on line %d\n",__FILE__,__LINE__)==1) ? -57 : -57)
 A function parameter was illegally negative.
#define ERROR_NEG_ARG_17   ((fprintf(stderr,"ERROR: A function parameter was illegally negative (ERROR_NEG_ARG_17) in %s on line %d\n",__FILE__,__LINE__)==1) ? -58 : -58)
 A function parameter was illegally negative.
#define ERROR_NEG_ARG_18   ((fprintf(stderr,"ERROR: A function parameter was illegally negative (ERROR_NEG_ARG_18) in %s on line %d\n",__FILE__,__LINE__)==1) ? -59 : -59)
 A function parameter was illegally negative.
#define ERROR_NEG_ARG_19   ((fprintf(stderr,"ERROR: A function parameter was illegally negative (ERROR_NEG_ARG_19) in %s on line %d\n",__FILE__,__LINE__)==1) ? -60 : -60)
 A function parameter was illegally negative.
#define ERROR_ARG   ((fprintf(stderr,"ERROR: A function parameter was illegal (ERROR_ARG) in %s on line %d\n",__FILE__,__LINE__)==1) ? -61 : -61)
 A function parameter was illegal.
#define ERROR_ARG_1   ((fprintf(stderr,"ERROR: A function parameter was illegal (ERROR_ARG_1) in %s on line %d\n",__FILE__,__LINE__)==1) ? -62 : -62)
 A function parameter was illegal.
#define ERROR_ARG_2   ((fprintf(stderr,"ERROR: A function parameter was illegal (ERROR_ARG_2) in %s on line %d\n",__FILE__,__LINE__)==1) ? -63 : -63)
 A function parameter was illegal.
#define ERROR_ARG_3   ((fprintf(stderr,"ERROR: A function parameter was illegal (ERROR_ARG_3) in %s on line %d\n",__FILE__,__LINE__)==1) ? -64 : -64)
 A function parameter was illegal.
#define ERROR_ARG_4   ((fprintf(stderr,"ERROR: A function parameter was illegal (ERROR_ARG_4) in %s on line %d\n",__FILE__,__LINE__)==1) ? -65 : -65)
 A function parameter was illegal.
#define ERROR_ARG_5   ((fprintf(stderr,"ERROR: A function parameter was illegal (ERROR_ARG_5) in %s on line %d\n",__FILE__,__LINE__)==1) ? -66 : -66)
 A function parameter was illegal.
#define ERROR_ARG_6   ((fprintf(stderr,"ERROR: A function parameter was illegal (ERROR_ARG_6) in %s on line %d\n",__FILE__,__LINE__)==1) ? -67 : -67)
 A function parameter was illegal.
#define ERROR_ARG_7   ((fprintf(stderr,"ERROR: A function parameter was illegal (ERROR_ARG_7) in %s on line %d\n",__FILE__,__LINE__)==1) ? -68 : -68)
 A function parameter was illegal.
#define ERROR_ARG_8   ((fprintf(stderr,"ERROR: A function parameter was illegal (ERROR_ARG_8) in %s on line %d\n",__FILE__,__LINE__)==1) ? -69 : -69)
 A function parameter was illegal.
#define ERROR_ARG_9   ((fprintf(stderr,"ERROR: A function parameter was illegal (ERROR_ARG_9) in %s on line %d\n",__FILE__,__LINE__)==1) ? -70 : -70)
 A function parameter was illegal.
#define ERROR_ARG_10   ((fprintf(stderr,"ERROR: A function parameter was illegal (ERROR_ARG_10) in %s on line %d\n",__FILE__,__LINE__)==1) ? -71 : -71)
 A function parameter was illegal.
#define ERROR_ARG_11   ((fprintf(stderr,"ERROR: A function parameter was illegal (ERROR_ARG_11) in %s on line %d\n",__FILE__,__LINE__)==1) ? -72 : -72)
 A function parameter was illegal.
#define ERROR_ARG_12   ((fprintf(stderr,"ERROR: A function parameter was illegal (ERROR_ARG_12) in %s on line %d\n",__FILE__,__LINE__)==1) ? -73 : -73)
 A function parameter was illegal.
#define ERROR_ARG_13   ((fprintf(stderr,"ERROR: A function parameter was illegal (ERROR_ARG_13) in %s on line %d\n",__FILE__,__LINE__)==1) ? -74 : -74)
 A function parameter was illegal.
#define ERROR_ARG_14   ((fprintf(stderr,"ERROR: A function parameter was illegal (ERROR_ARG_14) in %s on line %d\n",__FILE__,__LINE__)==1) ? -75 : -75)
 A function parameter was illegal.
#define ERROR_ARG_15   ((fprintf(stderr,"ERROR: A function parameter was illegal (ERROR_ARG_15) in %s on line %d\n",__FILE__,__LINE__)==1) ? -76 : -76)
 A function parameter was illegal.
#define ERROR_ARG_16   ((fprintf(stderr,"ERROR: A function parameter was illegal (ERROR_ARG_16) in %s on line %d\n",__FILE__,__LINE__)==1) ? -77 : -77)
 A function parameter was illegal.
#define ERROR_ARG_17   ((fprintf(stderr,"ERROR: A function parameter was illegal (ERROR_ARG_17) in %s on line %d\n",__FILE__,__LINE__)==1) ? -78 : -78)
 A function parameter was illegal.
#define ERROR_ARG_18   ((fprintf(stderr,"ERROR: A function parameter was illegal (ERROR_ARG_18) in %s on line %d\n",__FILE__,__LINE__)==1) ? -79 : -79)
 A function parameter was illegal.
#define ERROR_ARG_19   ((fprintf(stderr,"ERROR: A function parameter was illegal (ERROR_ARG_19) in %s on line %d\n",__FILE__,__LINE__)==1) ? -80 : -80)
 A function parameter was illegal.
#define ERROR_BUF_SIZE   ((fprintf(stderr,"ERROR: A buffer's size was illegal (ERROR_BUF_SIZE) in %s on line %d\n",__FILE__,__LINE__)==1) ? -81 : -81)
 A buffer's size was illegal.
#define ERROR_BUF_SIZE_1   ((fprintf(stderr,"ERROR: A buffer's size was illegal (ERROR_BUF_SIZE_1) in %s on line %d\n",__FILE__,__LINE__)==1) ? -82 : -82)
 A buffer's size was illegal.
#define ERROR_BUF_SIZE_2   ((fprintf(stderr,"ERROR: A buffer's size was illegal (ERROR_BUF_SIZE_2) in %s on line %d\n",__FILE__,__LINE__)==1) ? -83 : -83)
 A buffer's size was illegal.
#define ERROR_BUF_SIZE_3   ((fprintf(stderr,"ERROR: A buffer's size was illegal (ERROR_BUF_SIZE_3) in %s on line %d\n",__FILE__,__LINE__)==1) ? -84 : -84)
 A buffer's size was illegal.
#define ERROR_BUF_SIZE_4   ((fprintf(stderr,"ERROR: A buffer's size was illegal (ERROR_BUF_SIZE_4) in %s on line %d\n",__FILE__,__LINE__)==1) ? -85 : -85)
 A buffer's size was illegal.
#define ERROR_BUF_SIZE_5   ((fprintf(stderr,"ERROR: A buffer's size was illegal (ERROR_BUF_SIZE_5) in %s on line %d\n",__FILE__,__LINE__)==1) ? -86 : -86)
 A buffer's size was illegal.
#define ERROR_BUF_SIZE_6   ((fprintf(stderr,"ERROR: A buffer's size was illegal (ERROR_BUF_SIZE_6) in %s on line %d\n",__FILE__,__LINE__)==1) ? -87 : -87)
 A buffer's size was illegal.
#define ERROR_BUF_SIZE_7   ((fprintf(stderr,"ERROR: A buffer's size was illegal (ERROR_BUF_SIZE_7) in %s on line %d\n",__FILE__,__LINE__)==1) ? -88 : -88)
 A buffer's size was illegal.
#define ERROR_BUF_SIZE_8   ((fprintf(stderr,"ERROR: A buffer's size was illegal (ERROR_BUF_SIZE_8) in %s on line %d\n",__FILE__,__LINE__)==1) ? -89 : -89)
 A buffer's size was illegal.
#define ERROR_BUF_SIZE_9   ((fprintf(stderr,"ERROR: A buffer's size was illegal (ERROR_BUF_SIZE_9) in %s on line %d\n",__FILE__,__LINE__)==1) ? -90 : -90)
 A buffer's size was illegal.
#define ERROR_BUF_SIZE_10   ((fprintf(stderr,"ERROR: A buffer's size was illegal (ERROR_BUF_SIZE_10) in %s on line %d\n",__FILE__,__LINE__)==1) ? -91 : -91)
 A buffer's size was illegal.
#define ERROR_BUF_SIZE_11   ((fprintf(stderr,"ERROR: A buffer's size was illegal (ERROR_BUF_SIZE_11) in %s on line %d\n",__FILE__,__LINE__)==1) ? -92 : -92)
 A buffer's size was illegal.
#define ERROR_BUF_SIZE_12   ((fprintf(stderr,"ERROR: A buffer's size was illegal (ERROR_BUF_SIZE_12) in %s on line %d\n",__FILE__,__LINE__)==1) ? -93 : -93)
 A buffer's size was illegal.
#define ERROR_BUF_SIZE_13   ((fprintf(stderr,"ERROR: A buffer's size was illegal (ERROR_BUF_SIZE_13) in %s on line %d\n",__FILE__,__LINE__)==1) ? -94 : -94)
 A buffer's size was illegal.
#define ERROR_BUF_SIZE_14   ((fprintf(stderr,"ERROR: A buffer's size was illegal (ERROR_BUF_SIZE_14) in %s on line %d\n",__FILE__,__LINE__)==1) ? -95 : -95)
 A buffer's size was illegal.
#define ERROR_BUF_SIZE_15   ((fprintf(stderr,"ERROR: A buffer's size was illegal (ERROR_BUF_SIZE_15) in %s on line %d\n",__FILE__,__LINE__)==1) ? -96 : -96)
 A buffer's size was illegal.
#define ERROR_BUF_SIZE_16   ((fprintf(stderr,"ERROR: A buffer's size was illegal (ERROR_BUF_SIZE_16) in %s on line %d\n",__FILE__,__LINE__)==1) ? -97 : -97)
 A buffer's size was illegal.
#define ERROR_BUF_SIZE_17   ((fprintf(stderr,"ERROR: A buffer's size was illegal (ERROR_BUF_SIZE_17) in %s on line %d\n",__FILE__,__LINE__)==1) ? -98 : -98)
 A buffer's size was illegal.
#define ERROR_BUF_SIZE_18   ((fprintf(stderr,"ERROR: A buffer's size was illegal (ERROR_BUF_SIZE_18) in %s on line %d\n",__FILE__,__LINE__)==1) ? -99 : -99)
 A buffer's size was illegal.
#define ERROR_BUF_SIZE_19   ((fprintf(stderr,"ERROR: A buffer's size was illegal (ERROR_BUF_SIZE_19) in %s on line %d\n",__FILE__,__LINE__)==1) ? -100 : -100)
 A buffer's size was illegal.
#define ERROR_MALLOC_FAILED   ((fprintf(stderr,"ERROR: Malloc failed (ERROR_MALLOC_FAILED) in %s on line %d\n",__FILE__,__LINE__)==1) ? -101 : -101)
 Malloc failed.
#define ERROR_MALLOC_FAILED_1   ((fprintf(stderr,"ERROR: Malloc failed (ERROR_MALLOC_FAILED_1) in %s on line %d\n",__FILE__,__LINE__)==1) ? -102 : -102)
 Malloc failed.
#define ERROR_MALLOC_FAILED_2   ((fprintf(stderr,"ERROR: Malloc failed (ERROR_MALLOC_FAILED_2) in %s on line %d\n",__FILE__,__LINE__)==1) ? -103 : -103)
 Malloc failed.
#define ERROR_MALLOC_FAILED_3   ((fprintf(stderr,"ERROR: Malloc failed (ERROR_MALLOC_FAILED_3) in %s on line %d\n",__FILE__,__LINE__)==1) ? -104 : -104)
 Malloc failed.
#define ERROR_MALLOC_FAILED_4   ((fprintf(stderr,"ERROR: Malloc failed (ERROR_MALLOC_FAILED_4) in %s on line %d\n",__FILE__,__LINE__)==1) ? -105 : -105)
 Malloc failed.
#define ERROR_MALLOC_FAILED_5   ((fprintf(stderr,"ERROR: Malloc failed (ERROR_MALLOC_FAILED_5) in %s on line %d\n",__FILE__,__LINE__)==1) ? -106 : -106)
 Malloc failed.
#define ERROR_MALLOC_FAILED_6   ((fprintf(stderr,"ERROR: Malloc failed (ERROR_MALLOC_FAILED_6) in %s on line %d\n",__FILE__,__LINE__)==1) ? -107 : -107)
 Malloc failed.
#define ERROR_MALLOC_FAILED_7   ((fprintf(stderr,"ERROR: Malloc failed (ERROR_MALLOC_FAILED_7) in %s on line %d\n",__FILE__,__LINE__)==1) ? -108 : -108)
 Malloc failed.
#define ERROR_MALLOC_FAILED_8   ((fprintf(stderr,"ERROR: Malloc failed (ERROR_MALLOC_FAILED_8) in %s on line %d\n",__FILE__,__LINE__)==1) ? -109 : -109)
 Malloc failed.
#define ERROR_MALLOC_FAILED_9   ((fprintf(stderr,"ERROR: Malloc failed (ERROR_MALLOC_FAILED_9) in %s on line %d\n",__FILE__,__LINE__)==1) ? -110 : -110)
 Malloc failed.
#define ERROR_MALLOC_FAILED_10   ((fprintf(stderr,"ERROR: Malloc failed (ERROR_MALLOC_FAILED_10) in %s on line %d\n",__FILE__,__LINE__)==1) ? -111 : -111)
 Malloc failed.
#define ERROR_MALLOC_FAILED_11   ((fprintf(stderr,"ERROR: Malloc failed (ERROR_MALLOC_FAILED_11) in %s on line %d\n",__FILE__,__LINE__)==1) ? -112 : -112)
 Malloc failed.
#define ERROR_MALLOC_FAILED_12   ((fprintf(stderr,"ERROR: Malloc failed (ERROR_MALLOC_FAILED_12) in %s on line %d\n",__FILE__,__LINE__)==1) ? -113 : -113)
 Malloc failed.
#define ERROR_MALLOC_FAILED_13   ((fprintf(stderr,"ERROR: Malloc failed (ERROR_MALLOC_FAILED_13) in %s on line %d\n",__FILE__,__LINE__)==1) ? -114 : -114)
 Malloc failed.
#define ERROR_MALLOC_FAILED_14   ((fprintf(stderr,"ERROR: Malloc failed (ERROR_MALLOC_FAILED_14) in %s on line %d\n",__FILE__,__LINE__)==1) ? -115 : -115)
 Malloc failed.
#define ERROR_MALLOC_FAILED_15   ((fprintf(stderr,"ERROR: Malloc failed (ERROR_MALLOC_FAILED_15) in %s on line %d\n",__FILE__,__LINE__)==1) ? -116 : -116)
 Malloc failed.
#define ERROR_MALLOC_FAILED_16   ((fprintf(stderr,"ERROR: Malloc failed (ERROR_MALLOC_FAILED_16) in %s on line %d\n",__FILE__,__LINE__)==1) ? -117 : -117)
 Malloc failed.
#define ERROR_MALLOC_FAILED_17   ((fprintf(stderr,"ERROR: Malloc failed (ERROR_MALLOC_FAILED_17) in %s on line %d\n",__FILE__,__LINE__)==1) ? -118 : -118)
 Malloc failed.
#define ERROR_MALLOC_FAILED_18   ((fprintf(stderr,"ERROR: Malloc failed (ERROR_MALLOC_FAILED_18) in %s on line %d\n",__FILE__,__LINE__)==1) ? -119 : -119)
 Malloc failed.
#define ERROR_MALLOC_FAILED_19   ((fprintf(stderr,"ERROR: Malloc failed (ERROR_MALLOC_FAILED_19) in %s on line %d\n",__FILE__,__LINE__)==1) ? -120 : -120)
 Malloc failed.
#define ERROR_SOCKET_CREATE   ((fprintf(stderr,"ERROR: A socket couldn't be created (ERROR_SOCKET_CREATE) in %s on line %d\n",__FILE__,__LINE__)==1) ? -121 : -121)
 A socket couldn't be created.
#define ERROR_BIND   ((fprintf(stderr,"ERROR: A port couldn't be bound to (ERROR_BIND) in %s on line %d\n",__FILE__,__LINE__)==1) ? -122 : -122)
 A port couldn't be bound to.
#define ERROR_TCP_CONNECT   ((fprintf(stderr,"ERROR: A TCP connection failed (ERROR_TCP_CONNECT) in %s on line %d\n",__FILE__,__LINE__)==1) ? -123 : -123)
 A TCP connection failed.
#define ERROR_TCP_CLOSED   ((fprintf(stderr,"ERROR: A TCP connection was closed (ERROR_TCP_CLOSED) in %s on line %d\n",__FILE__,__LINE__)==1) ? -124 : -124)
 A TCP connection was closed.
#define ERROR_TCP_RECEIVE   ((fprintf(stderr,"ERROR: A TCP receive failed (ERROR_TCP_RECEIVE) in %s on line %d\n",__FILE__,__LINE__)==1) ? -125 : -125)
 A TCP receive failed.
#define ERROR_TCP_SEND   ((fprintf(stderr,"ERROR: A TCP send failed (ERROR_TCP_SEND) in %s on line %d\n",__FILE__,__LINE__)==1) ? -126 : -126)
 A TCP send failed.
#define ERROR_TCP_READ   ((fprintf(stderr,"ERROR: A TCP read failed (ERROR_TCP_READ) in %s on line %d\n",__FILE__,__LINE__)==1) ? -127 : -127)
 A TCP read failed.
#define ERROR_TCP_WRITE   ((fprintf(stderr,"ERROR: A TCP write failed (ERROR_TCP_WRITE) in %s on line %d\n",__FILE__,__LINE__)==1) ? -128 : -128)
 A TCP write failed.
#define ERROR_PTHREAD_CREATE_FAILED   ((fprintf(stderr,"ERROR: A pthread creation failed (ERROR_PTHREAD_CREATE_FAILED) in %s on line %d\n",__FILE__,__LINE__)==1) ? -129 : -129)
 A pthread creation failed.
#define ERROR_PTHREAD_DETACH_FAILED   ((fprintf(stderr,"ERROR: A pthread detach failed (ERROR_PTHREAD_DETACH_FAILED) in %s on line %d\n",__FILE__,__LINE__)==1) ? -130 : -130)
 A pthread detach failed.
#define ERROR_MUTEX_UNLOCK_FAILED   ((fprintf(stderr,"ERROR: A mutex unlock call failed (ERROR_MUTEX_UNLOCK_FAILED) in %s on line %d\n",__FILE__,__LINE__)==1) ? -131 : -131)
 A mutex unlock call failed.
#define ERROR_NO_DEV_FOUND   ((fprintf(stderr,"ERROR: A device could not be found (ERROR_NO_DEV_FOUND) in %s on line %d\n",__FILE__,__LINE__)==1) ? -132 : -132)
 A device could not be found.
#define ERROR_NOT_FOUND   ((fprintf(stderr,"ERROR: When searching for an item it was not found (ERROR_NOT_FOUND) in %s on line %d\n",__FILE__,__LINE__)==1) ? -133 : -133)
 When searching for an item it was not found.
#define ERROR_FUNC_POINTER_FUNC_FAILED   ((fprintf(stderr,"ERROR: A function called through a function pointer failed (ERROR_FUNC_POINTER_FUNC_FAILED) in %s on line %d\n",__FILE__,__LINE__)==1) ? -134 : -134)
 A function called through a function pointer failed.
#define ERROR_FUNC_POINTER_FUNC_INVALID   ((fprintf(stderr,"ERROR: A function called through a function pointer was invalid (ERROR_FUNC_POINTER_FUNC_INVALID) in %s on line %d\n",__FILE__,__LINE__)==1) ? -135 : -135)
 A function called through a function pointer was invalid.
#define ERROR_FILE_OPEN   ((fprintf(stderr,"ERROR: A file could not be opened (ERROR_FILE_OPEN) in %s on line %d\n",__FILE__,__LINE__)==1) ? -136 : -136)
 A file could not be opened.
#define ERROR_FILE_OPEN_APPEND   ((fprintf(stderr,"ERROR: A file could not be opened for appending (ERROR_FILE_OPEN_APPEND) in %s on line %d\n",__FILE__,__LINE__)==1) ? -137 : -137)
 A file could not be opened for appending.
#define ERROR_XML_PARSE   ((fprintf(stderr,"ERROR: There was an error while parsing an XML document (ERROR_XML_PARSE) in %s on line %d\n",__FILE__,__LINE__)==1) ? -138 : -138)
 There was an error while parsing an XML document.
#define ERROR_OUTPUT   ((fprintf(stderr,"ERROR: There was an error when attempting to output data (ERROR_OUTPUT) in %s on line %d\n",__FILE__,__LINE__)==1) ? -139 : -139)
 There was an error when attempting to output data.
#define ERROR_OUTPUT_1   ((fprintf(stderr,"ERROR: There was an error when attempting to output data (ERROR_OUTPUT_1) in %s on line %d\n",__FILE__,__LINE__)==1) ? -140 : -140)
 There was an error when attempting to output data.
#define ERROR_OUTPUT_2   ((fprintf(stderr,"ERROR: There was an error when attempting to output data (ERROR_OUTPUT_2) in %s on line %d\n",__FILE__,__LINE__)==1) ? -141 : -141)
 There was an error when attempting to output data.
#define ERROR_OUTPUT_3   ((fprintf(stderr,"ERROR: There was an error when attempting to output data (ERROR_OUTPUT_3) in %s on line %d\n",__FILE__,__LINE__)==1) ? -142 : -142)
 There was an error when attempting to output data.
#define ERROR_OUTPUT_4   ((fprintf(stderr,"ERROR: There was an error when attempting to output data (ERROR_OUTPUT_4) in %s on line %d\n",__FILE__,__LINE__)==1) ? -143 : -143)
 There was an error when attempting to output data.
#define ERROR_OUTPUT_5   ((fprintf(stderr,"ERROR: There was an error when attempting to output data (ERROR_OUTPUT_5) in %s on line %d\n",__FILE__,__LINE__)==1) ? -144 : -144)
 There was an error when attempting to output data.
#define ERROR_OUTPUT_6   ((fprintf(stderr,"ERROR: There was an error when attempting to output data (ERROR_OUTPUT_6) in %s on line %d\n",__FILE__,__LINE__)==1) ? -145 : -145)
 There was an error when attempting to output data.
#define ERROR_OUTPUT_7   ((fprintf(stderr,"ERROR: There was an error when attempting to output data (ERROR_OUTPUT_7) in %s on line %d\n",__FILE__,__LINE__)==1) ? -146 : -146)
 There was an error when attempting to output data.
#define ERROR_OUTPUT_8   ((fprintf(stderr,"ERROR: There was an error when attempting to output data (ERROR_OUTPUT_8) in %s on line %d\n",__FILE__,__LINE__)==1) ? -147 : -147)
 There was an error when attempting to output data.
#define ERROR_OUTPUT_9   ((fprintf(stderr,"ERROR: There was an error when attempting to output data (ERROR_OUTPUT_9) in %s on line %d\n",__FILE__,__LINE__)==1) ? -148 : -148)
 There was an error when attempting to output data.
#define ERROR_OUTPUT_10   ((fprintf(stderr,"ERROR: There was an error when attempting to output data (ERROR_OUTPUT_10) in %s on line %d\n",__FILE__,__LINE__)==1) ? -149 : -149)
 There was an error when attempting to output data.
#define ERROR_OUTPUT_11   ((fprintf(stderr,"ERROR: There was an error when attempting to output data (ERROR_OUTPUT_11) in %s on line %d\n",__FILE__,__LINE__)==1) ? -150 : -150)
 There was an error when attempting to output data.
#define ERROR_OUTPUT_12   ((fprintf(stderr,"ERROR: There was an error when attempting to output data (ERROR_OUTPUT_12) in %s on line %d\n",__FILE__,__LINE__)==1) ? -151 : -151)
 There was an error when attempting to output data.
#define ERROR_OUTPUT_13   ((fprintf(stderr,"ERROR: There was an error when attempting to output data (ERROR_OUTPUT_13) in %s on line %d\n",__FILE__,__LINE__)==1) ? -152 : -152)
 There was an error when attempting to output data.
#define ERROR_OUTPUT_14   ((fprintf(stderr,"ERROR: There was an error when attempting to output data (ERROR_OUTPUT_14) in %s on line %d\n",__FILE__,__LINE__)==1) ? -153 : -153)
 There was an error when attempting to output data.
#define ERROR_OUTPUT_15   ((fprintf(stderr,"ERROR: There was an error when attempting to output data (ERROR_OUTPUT_15) in %s on line %d\n",__FILE__,__LINE__)==1) ? -154 : -154)
 There was an error when attempting to output data.
#define ERROR_OUTPUT_16   ((fprintf(stderr,"ERROR: There was an error when attempting to output data (ERROR_OUTPUT_16) in %s on line %d\n",__FILE__,__LINE__)==1) ? -155 : -155)
 There was an error when attempting to output data.
#define ERROR_OUTPUT_17   ((fprintf(stderr,"ERROR: There was an error when attempting to output data (ERROR_OUTPUT_17) in %s on line %d\n",__FILE__,__LINE__)==1) ? -156 : -156)
 There was an error when attempting to output data.
#define ERROR_OUTPUT_18   ((fprintf(stderr,"ERROR: There was an error when attempting to output data (ERROR_OUTPUT_18) in %s on line %d\n",__FILE__,__LINE__)==1) ? -157 : -157)
 There was an error when attempting to output data.
#define ERROR_OUTPUT_19   ((fprintf(stderr,"ERROR: There was an error when attempting to output data (ERROR_OUTPUT_19) in %s on line %d\n",__FILE__,__LINE__)==1) ? -158 : -158)
 There was an error when attempting to output data.
#define ERROR_HOST_NAME_LOOKUP   ((fprintf(stderr,"ERROR: A lookup of a hostname failed (ERROR_HOST_NAME_LOOKUP) in %s on line %d\n",__FILE__,__LINE__)==1) ? -159 : -159)
 A lookup of a hostname failed.
#define ERROR_TCP_LISTEN   ((fprintf(stderr,"ERROR: A TCP listen call failed (ERROR_TCP_LISTEN) in %s on line %d\n",__FILE__,__LINE__)==1) ? -160 : -160)
 A TCP listen call failed.
#define ERROR_TCP_SOCKET   ((fprintf(stderr,"ERROR: A TCP socket call failed (ERROR_TCP_SOCKET) in %s on line %d\n",__FILE__,__LINE__)==1) ? -161 : -161)
 A TCP socket call failed.
#define ERROR_INIT   ((fprintf(stderr,"ERROR: Initialization failed (ERROR_INIT) in %s on line %d\n",__FILE__,__LINE__)==1) ? -162 : -162)
 Initialization failed.
#define ERROR_MUTEX_LOCK   ((fprintf(stderr,"ERROR: A mutex could not be locked (ERROR_MUTEX_LOCK) in %s on line %d\n",__FILE__,__LINE__)==1) ? -163 : -163)
 A mutex could not be locked.
#define ERROR_MUTEX_LOCK_1   ((fprintf(stderr,"ERROR: A mutex could not be locked (ERROR_MUTEX_LOCK_1) in %s on line %d\n",__FILE__,__LINE__)==1) ? -164 : -164)
 A mutex could not be locked.
#define ERROR_MUTEX_LOCK_2   ((fprintf(stderr,"ERROR: A mutex could not be locked (ERROR_MUTEX_LOCK_2) in %s on line %d\n",__FILE__,__LINE__)==1) ? -165 : -165)
 A mutex could not be locked.
#define ERROR_MUTEX_LOCK_3   ((fprintf(stderr,"ERROR: A mutex could not be locked (ERROR_MUTEX_LOCK_3) in %s on line %d\n",__FILE__,__LINE__)==1) ? -166 : -166)
 A mutex could not be locked.
#define ERROR_MUTEX_LOCK_4   ((fprintf(stderr,"ERROR: A mutex could not be locked (ERROR_MUTEX_LOCK_4) in %s on line %d\n",__FILE__,__LINE__)==1) ? -167 : -167)
 A mutex could not be locked.
#define ERROR_MUTEX_LOCK_5   ((fprintf(stderr,"ERROR: A mutex could not be locked (ERROR_MUTEX_LOCK_5) in %s on line %d\n",__FILE__,__LINE__)==1) ? -168 : -168)
 A mutex could not be locked.
#define ERROR_MUTEX_LOCK_6   ((fprintf(stderr,"ERROR: A mutex could not be locked (ERROR_MUTEX_LOCK_6) in %s on line %d\n",__FILE__,__LINE__)==1) ? -169 : -169)
 A mutex could not be locked.
#define ERROR_MUTEX_LOCK_7   ((fprintf(stderr,"ERROR: A mutex could not be locked (ERROR_MUTEX_LOCK_7) in %s on line %d\n",__FILE__,__LINE__)==1) ? -170 : -170)
 A mutex could not be locked.
#define ERROR_MUTEX_LOCK_8   ((fprintf(stderr,"ERROR: A mutex could not be locked (ERROR_MUTEX_LOCK_8) in %s on line %d\n",__FILE__,__LINE__)==1) ? -171 : -171)
 A mutex could not be locked.
#define ERROR_MUTEX_LOCK_9   ((fprintf(stderr,"ERROR: A mutex could not be locked (ERROR_MUTEX_LOCK_9) in %s on line %d\n",__FILE__,__LINE__)==1) ? -172 : -172)
 A mutex could not be locked.
#define ERROR_MUTEX_LOCK_10   ((fprintf(stderr,"ERROR: A mutex could not be locked (ERROR_MUTEX_LOCK_10) in %s on line %d\n",__FILE__,__LINE__)==1) ? -173 : -173)
 A mutex could not be locked.
#define ERROR_MUTEX_LOCK_11   ((fprintf(stderr,"ERROR: A mutex could not be locked (ERROR_MUTEX_LOCK_11) in %s on line %d\n",__FILE__,__LINE__)==1) ? -174 : -174)
 A mutex could not be locked.
#define ERROR_MUTEX_LOCK_12   ((fprintf(stderr,"ERROR: A mutex could not be locked (ERROR_MUTEX_LOCK_12) in %s on line %d\n",__FILE__,__LINE__)==1) ? -175 : -175)
 A mutex could not be locked.
#define ERROR_MUTEX_LOCK_13   ((fprintf(stderr,"ERROR: A mutex could not be locked (ERROR_MUTEX_LOCK_13) in %s on line %d\n",__FILE__,__LINE__)==1) ? -176 : -176)
 A mutex could not be locked.
#define ERROR_MUTEX_LOCK_14   ((fprintf(stderr,"ERROR: A mutex could not be locked (ERROR_MUTEX_LOCK_14) in %s on line %d\n",__FILE__,__LINE__)==1) ? -177 : -177)
 A mutex could not be locked.
#define ERROR_MUTEX_LOCK_15   ((fprintf(stderr,"ERROR: A mutex could not be locked (ERROR_MUTEX_LOCK_15) in %s on line %d\n",__FILE__,__LINE__)==1) ? -178 : -178)
 A mutex could not be locked.
#define ERROR_MUTEX_LOCK_16   ((fprintf(stderr,"ERROR: A mutex could not be locked (ERROR_MUTEX_LOCK_16) in %s on line %d\n",__FILE__,__LINE__)==1) ? -179 : -179)
 A mutex could not be locked.
#define ERROR_MUTEX_LOCK_17   ((fprintf(stderr,"ERROR: A mutex could not be locked (ERROR_MUTEX_LOCK_17) in %s on line %d\n",__FILE__,__LINE__)==1) ? -180 : -180)
 A mutex could not be locked.
#define ERROR_MUTEX_LOCK_18   ((fprintf(stderr,"ERROR: A mutex could not be locked (ERROR_MUTEX_LOCK_18) in %s on line %d\n",__FILE__,__LINE__)==1) ? -181 : -181)
 A mutex could not be locked.
#define ERROR_MUTEX_LOCK_19   ((fprintf(stderr,"ERROR: A mutex could not be locked (ERROR_MUTEX_LOCK_19) in %s on line %d\n",__FILE__,__LINE__)==1) ? -182 : -182)
 A mutex could not be locked.
#define ERROR_MUTEX_UNLOCK   ((fprintf(stderr,"ERROR: A mutex couild not be unlocked (ERROR_MUTEX_UNLOCK) in %s on line %d\n",__FILE__,__LINE__)==1) ? -183 : -183)
 A mutex couild not be unlocked.
#define ERROR_MUTEX_UNLOCK_1   ((fprintf(stderr,"ERROR: A mutex couild not be unlocked (ERROR_MUTEX_UNLOCK_1) in %s on line %d\n",__FILE__,__LINE__)==1) ? -184 : -184)
 A mutex couild not be unlocked.
#define ERROR_MUTEX_UNLOCK_2   ((fprintf(stderr,"ERROR: A mutex couild not be unlocked (ERROR_MUTEX_UNLOCK_2) in %s on line %d\n",__FILE__,__LINE__)==1) ? -185 : -185)
 A mutex couild not be unlocked.
#define ERROR_MUTEX_UNLOCK_3   ((fprintf(stderr,"ERROR: A mutex couild not be unlocked (ERROR_MUTEX_UNLOCK_3) in %s on line %d\n",__FILE__,__LINE__)==1) ? -186 : -186)
 A mutex couild not be unlocked.
#define ERROR_MUTEX_UNLOCK_4   ((fprintf(stderr,"ERROR: A mutex couild not be unlocked (ERROR_MUTEX_UNLOCK_4) in %s on line %d\n",__FILE__,__LINE__)==1) ? -187 : -187)
 A mutex couild not be unlocked.
#define ERROR_MUTEX_UNLOCK_5   ((fprintf(stderr,"ERROR: A mutex couild not be unlocked (ERROR_MUTEX_UNLOCK_5) in %s on line %d\n",__FILE__,__LINE__)==1) ? -188 : -188)
 A mutex couild not be unlocked.
#define ERROR_MUTEX_UNLOCK_6   ((fprintf(stderr,"ERROR: A mutex couild not be unlocked (ERROR_MUTEX_UNLOCK_6) in %s on line %d\n",__FILE__,__LINE__)==1) ? -189 : -189)
 A mutex couild not be unlocked.
#define ERROR_MUTEX_UNLOCK_7   ((fprintf(stderr,"ERROR: A mutex couild not be unlocked (ERROR_MUTEX_UNLOCK_7) in %s on line %d\n",__FILE__,__LINE__)==1) ? -190 : -190)
 A mutex couild not be unlocked.
#define ERROR_MUTEX_UNLOCK_8   ((fprintf(stderr,"ERROR: A mutex couild not be unlocked (ERROR_MUTEX_UNLOCK_8) in %s on line %d\n",__FILE__,__LINE__)==1) ? -191 : -191)
 A mutex couild not be unlocked.
#define ERROR_MUTEX_UNLOCK_9   ((fprintf(stderr,"ERROR: A mutex couild not be unlocked (ERROR_MUTEX_UNLOCK_9) in %s on line %d\n",__FILE__,__LINE__)==1) ? -192 : -192)
 A mutex couild not be unlocked.
#define ERROR_MUTEX_UNLOCK_10   ((fprintf(stderr,"ERROR: A mutex couild not be unlocked (ERROR_MUTEX_UNLOCK_10) in %s on line %d\n",__FILE__,__LINE__)==1) ? -193 : -193)
 A mutex couild not be unlocked.
#define ERROR_MUTEX_UNLOCK_11   ((fprintf(stderr,"ERROR: A mutex couild not be unlocked (ERROR_MUTEX_UNLOCK_11) in %s on line %d\n",__FILE__,__LINE__)==1) ? -194 : -194)
 A mutex couild not be unlocked.
#define ERROR_MUTEX_UNLOCK_12   ((fprintf(stderr,"ERROR: A mutex couild not be unlocked (ERROR_MUTEX_UNLOCK_12) in %s on line %d\n",__FILE__,__LINE__)==1) ? -195 : -195)
 A mutex couild not be unlocked.
#define ERROR_MUTEX_UNLOCK_13   ((fprintf(stderr,"ERROR: A mutex couild not be unlocked (ERROR_MUTEX_UNLOCK_13) in %s on line %d\n",__FILE__,__LINE__)==1) ? -196 : -196)
 A mutex couild not be unlocked.
#define ERROR_MUTEX_UNLOCK_14   ((fprintf(stderr,"ERROR: A mutex couild not be unlocked (ERROR_MUTEX_UNLOCK_14) in %s on line %d\n",__FILE__,__LINE__)==1) ? -197 : -197)
 A mutex couild not be unlocked.
#define ERROR_MUTEX_UNLOCK_15   ((fprintf(stderr,"ERROR: A mutex couild not be unlocked (ERROR_MUTEX_UNLOCK_15) in %s on line %d\n",__FILE__,__LINE__)==1) ? -198 : -198)
 A mutex couild not be unlocked.
#define ERROR_MUTEX_UNLOCK_16   ((fprintf(stderr,"ERROR: A mutex couild not be unlocked (ERROR_MUTEX_UNLOCK_16) in %s on line %d\n",__FILE__,__LINE__)==1) ? -199 : -199)
 A mutex couild not be unlocked.
#define ERROR_MUTEX_UNLOCK_17   ((fprintf(stderr,"ERROR: A mutex couild not be unlocked (ERROR_MUTEX_UNLOCK_17) in %s on line %d\n",__FILE__,__LINE__)==1) ? -200 : -200)
 A mutex couild not be unlocked.
#define ERROR_MUTEX_UNLOCK_18   ((fprintf(stderr,"ERROR: A mutex couild not be unlocked (ERROR_MUTEX_UNLOCK_18) in %s on line %d\n",__FILE__,__LINE__)==1) ? -201 : -201)
 A mutex couild not be unlocked.
#define ERROR_MUTEX_UNLOCK_19   ((fprintf(stderr,"ERROR: A mutex couild not be unlocked (ERROR_MUTEX_UNLOCK_19) in %s on line %d\n",__FILE__,__LINE__)==1) ? -202 : -202)
 A mutex couild not be unlocked.
#define ERROR_LIST_ADD   ((fprintf(stderr,"ERROR: An error occured when trying to add to a list (ERROR_LIST_ADD) in %s on line %d\n",__FILE__,__LINE__)==1) ? -203 : -203)
 An error occured when trying to add to a list.
#define ERROR_LIST_REMOVE   ((fprintf(stderr,"ERROR: An error occured when trying to remove from a list (ERROR_LIST_REMOVE) in %s on line %d\n",__FILE__,__LINE__)==1) ? -204 : -204)
 An error occured when trying to remove from a list.
#define ERROR_LIST_REMOVE_1   ((fprintf(stderr,"ERROR: An error occured when trying to remove from a list (ERROR_LIST_REMOVE_1) in %s on line %d\n",__FILE__,__LINE__)==1) ? -205 : -205)
 An error occured when trying to remove from a list.
#define ERROR_LIST_REMOVE_2   ((fprintf(stderr,"ERROR: An error occured when trying to remove from a list (ERROR_LIST_REMOVE_2) in %s on line %d\n",__FILE__,__LINE__)==1) ? -206 : -206)
 An error occured when trying to remove from a list.
#define ERROR_LIST_REMOVE_3   ((fprintf(stderr,"ERROR: An error occured when trying to remove from a list (ERROR_LIST_REMOVE_3) in %s on line %d\n",__FILE__,__LINE__)==1) ? -207 : -207)
 An error occured when trying to remove from a list.
#define ERROR_LIST_REMOVE_4   ((fprintf(stderr,"ERROR: An error occured when trying to remove from a list (ERROR_LIST_REMOVE_4) in %s on line %d\n",__FILE__,__LINE__)==1) ? -208 : -208)
 An error occured when trying to remove from a list.
#define ERROR_LIST_REMOVE_5   ((fprintf(stderr,"ERROR: An error occured when trying to remove from a list (ERROR_LIST_REMOVE_5) in %s on line %d\n",__FILE__,__LINE__)==1) ? -209 : -209)
 An error occured when trying to remove from a list.
#define ERROR_LIST_REMOVE_6   ((fprintf(stderr,"ERROR: An error occured when trying to remove from a list (ERROR_LIST_REMOVE_6) in %s on line %d\n",__FILE__,__LINE__)==1) ? -210 : -210)
 An error occured when trying to remove from a list.
#define ERROR_LIST_REMOVE_7   ((fprintf(stderr,"ERROR: An error occured when trying to remove from a list (ERROR_LIST_REMOVE_7) in %s on line %d\n",__FILE__,__LINE__)==1) ? -211 : -211)
 An error occured when trying to remove from a list.
#define ERROR_LIST_REMOVE_8   ((fprintf(stderr,"ERROR: An error occured when trying to remove from a list (ERROR_LIST_REMOVE_8) in %s on line %d\n",__FILE__,__LINE__)==1) ? -212 : -212)
 An error occured when trying to remove from a list.
#define ERROR_LIST_REMOVE_9   ((fprintf(stderr,"ERROR: An error occured when trying to remove from a list (ERROR_LIST_REMOVE_9) in %s on line %d\n",__FILE__,__LINE__)==1) ? -213 : -213)
 An error occured when trying to remove from a list.
#define ERROR_LIST_REMOVE_10   ((fprintf(stderr,"ERROR: An error occured when trying to remove from a list (ERROR_LIST_REMOVE_10) in %s on line %d\n",__FILE__,__LINE__)==1) ? -214 : -214)
 An error occured when trying to remove from a list.
#define ERROR_LIST_REMOVE_11   ((fprintf(stderr,"ERROR: An error occured when trying to remove from a list (ERROR_LIST_REMOVE_11) in %s on line %d\n",__FILE__,__LINE__)==1) ? -215 : -215)
 An error occured when trying to remove from a list.
#define ERROR_LIST_REMOVE_12   ((fprintf(stderr,"ERROR: An error occured when trying to remove from a list (ERROR_LIST_REMOVE_12) in %s on line %d\n",__FILE__,__LINE__)==1) ? -216 : -216)
 An error occured when trying to remove from a list.
#define ERROR_LIST_REMOVE_13   ((fprintf(stderr,"ERROR: An error occured when trying to remove from a list (ERROR_LIST_REMOVE_13) in %s on line %d\n",__FILE__,__LINE__)==1) ? -217 : -217)
 An error occured when trying to remove from a list.
#define ERROR_LIST_REMOVE_14   ((fprintf(stderr,"ERROR: An error occured when trying to remove from a list (ERROR_LIST_REMOVE_14) in %s on line %d\n",__FILE__,__LINE__)==1) ? -218 : -218)
 An error occured when trying to remove from a list.
#define ERROR_LIST_REMOVE_15   ((fprintf(stderr,"ERROR: An error occured when trying to remove from a list (ERROR_LIST_REMOVE_15) in %s on line %d\n",__FILE__,__LINE__)==1) ? -219 : -219)
 An error occured when trying to remove from a list.
#define ERROR_LIST_REMOVE_16   ((fprintf(stderr,"ERROR: An error occured when trying to remove from a list (ERROR_LIST_REMOVE_16) in %s on line %d\n",__FILE__,__LINE__)==1) ? -220 : -220)
 An error occured when trying to remove from a list.
#define ERROR_LIST_REMOVE_17   ((fprintf(stderr,"ERROR: An error occured when trying to remove from a list (ERROR_LIST_REMOVE_17) in %s on line %d\n",__FILE__,__LINE__)==1) ? -221 : -221)
 An error occured when trying to remove from a list.
#define ERROR_LIST_REMOVE_18   ((fprintf(stderr,"ERROR: An error occured when trying to remove from a list (ERROR_LIST_REMOVE_18) in %s on line %d\n",__FILE__,__LINE__)==1) ? -222 : -222)
 An error occured when trying to remove from a list.
#define ERROR_LIST_REMOVE_19   ((fprintf(stderr,"ERROR: An error occured when trying to remove from a list (ERROR_LIST_REMOVE_19) in %s on line %d\n",__FILE__,__LINE__)==1) ? -223 : -223)
 An error occured when trying to remove from a list.
#define ERROR_LIST_FIND   ((fprintf(stderr,"ERROR: An error occured when trying to find an item in a list (ERROR_LIST_FIND) in %s on line %d\n",__FILE__,__LINE__)==1) ? -224 : -224)
 An error occured when trying to find an item in a list.
#define ERROR_LIST_FIND_1   ((fprintf(stderr,"ERROR: An error occured when trying to find an item in a list (ERROR_LIST_FIND_1) in %s on line %d\n",__FILE__,__LINE__)==1) ? -225 : -225)
 An error occured when trying to find an item in a list.
#define ERROR_LIST_FIND_2   ((fprintf(stderr,"ERROR: An error occured when trying to find an item in a list (ERROR_LIST_FIND_2) in %s on line %d\n",__FILE__,__LINE__)==1) ? -226 : -226)
 An error occured when trying to find an item in a list.
#define ERROR_LIST_FIND_3   ((fprintf(stderr,"ERROR: An error occured when trying to find an item in a list (ERROR_LIST_FIND_3) in %s on line %d\n",__FILE__,__LINE__)==1) ? -227 : -227)
 An error occured when trying to find an item in a list.
#define ERROR_LIST_FIND_4   ((fprintf(stderr,"ERROR: An error occured when trying to find an item in a list (ERROR_LIST_FIND_4) in %s on line %d\n",__FILE__,__LINE__)==1) ? -228 : -228)
 An error occured when trying to find an item in a list.
#define ERROR_LIST_FIND_5   ((fprintf(stderr,"ERROR: An error occured when trying to find an item in a list (ERROR_LIST_FIND_5) in %s on line %d\n",__FILE__,__LINE__)==1) ? -229 : -229)
 An error occured when trying to find an item in a list.
#define ERROR_LIST_FIND_6   ((fprintf(stderr,"ERROR: An error occured when trying to find an item in a list (ERROR_LIST_FIND_6) in %s on line %d\n",__FILE__,__LINE__)==1) ? -230 : -230)
 An error occured when trying to find an item in a list.
#define ERROR_LIST_FIND_7   ((fprintf(stderr,"ERROR: An error occured when trying to find an item in a list (ERROR_LIST_FIND_7) in %s on line %d\n",__FILE__,__LINE__)==1) ? -231 : -231)
 An error occured when trying to find an item in a list.
#define ERROR_LIST_FIND_8   ((fprintf(stderr,"ERROR: An error occured when trying to find an item in a list (ERROR_LIST_FIND_8) in %s on line %d\n",__FILE__,__LINE__)==1) ? -232 : -232)
 An error occured when trying to find an item in a list.
#define ERROR_LIST_FIND_9   ((fprintf(stderr,"ERROR: An error occured when trying to find an item in a list (ERROR_LIST_FIND_9) in %s on line %d\n",__FILE__,__LINE__)==1) ? -233 : -233)
 An error occured when trying to find an item in a list.
#define ERROR_LIST_FIND_10   ((fprintf(stderr,"ERROR: An error occured when trying to find an item in a list (ERROR_LIST_FIND_10) in %s on line %d\n",__FILE__,__LINE__)==1) ? -234 : -234)
 An error occured when trying to find an item in a list.
#define ERROR_LIST_FIND_11   ((fprintf(stderr,"ERROR: An error occured when trying to find an item in a list (ERROR_LIST_FIND_11) in %s on line %d\n",__FILE__,__LINE__)==1) ? -235 : -235)
 An error occured when trying to find an item in a list.
#define ERROR_LIST_FIND_12   ((fprintf(stderr,"ERROR: An error occured when trying to find an item in a list (ERROR_LIST_FIND_12) in %s on line %d\n",__FILE__,__LINE__)==1) ? -236 : -236)
 An error occured when trying to find an item in a list.
#define ERROR_LIST_FIND_13   ((fprintf(stderr,"ERROR: An error occured when trying to find an item in a list (ERROR_LIST_FIND_13) in %s on line %d\n",__FILE__,__LINE__)==1) ? -237 : -237)
 An error occured when trying to find an item in a list.
#define ERROR_LIST_FIND_14   ((fprintf(stderr,"ERROR: An error occured when trying to find an item in a list (ERROR_LIST_FIND_14) in %s on line %d\n",__FILE__,__LINE__)==1) ? -238 : -238)
 An error occured when trying to find an item in a list.
#define ERROR_LIST_FIND_15   ((fprintf(stderr,"ERROR: An error occured when trying to find an item in a list (ERROR_LIST_FIND_15) in %s on line %d\n",__FILE__,__LINE__)==1) ? -239 : -239)
 An error occured when trying to find an item in a list.
#define ERROR_LIST_FIND_16   ((fprintf(stderr,"ERROR: An error occured when trying to find an item in a list (ERROR_LIST_FIND_16) in %s on line %d\n",__FILE__,__LINE__)==1) ? -240 : -240)
 An error occured when trying to find an item in a list.
#define ERROR_LIST_FIND_17   ((fprintf(stderr,"ERROR: An error occured when trying to find an item in a list (ERROR_LIST_FIND_17) in %s on line %d\n",__FILE__,__LINE__)==1) ? -241 : -241)
 An error occured when trying to find an item in a list.
#define ERROR_LIST_FIND_18   ((fprintf(stderr,"ERROR: An error occured when trying to find an item in a list (ERROR_LIST_FIND_18) in %s on line %d\n",__FILE__,__LINE__)==1) ? -242 : -242)
 An error occured when trying to find an item in a list.
#define ERROR_LIST_FIND_19   ((fprintf(stderr,"ERROR: An error occured when trying to find an item in a list (ERROR_LIST_FIND_19) in %s on line %d\n",__FILE__,__LINE__)==1) ? -243 : -243)
 An error occured when trying to find an item in a list.
#define ERROR_NETWORK_READ   ((fprintf(stderr,"ERROR: An error occured when trying to read from the network (ERROR_NETWORK_READ) in %s on line %d\n",__FILE__,__LINE__)==1) ? -244 : -244)
 An error occured when trying to read from the network.
#define ERROR_NETWORK_SEND   ((fprintf(stderr,"ERROR: An error occured when trying to send on the network (ERROR_NETWORK_SEND) in %s on line %d\n",__FILE__,__LINE__)==1) ? -245 : -245)
 An error occured when trying to send on the network.
#define ERROR_CALLED_FUNCTION   ((fprintf(stderr,"ERROR: An error occured in a called function (ERROR_CALLED_FUNCTION) in %s on line %d\n",__FILE__,__LINE__)==1) ? -246 : -246)
 An error occured in a called function.
#define ERROR_CALLED_FUNCTION_1   ((fprintf(stderr,"ERROR: An error occured in a called function (ERROR_CALLED_FUNCTION_1) in %s on line %d\n",__FILE__,__LINE__)==1) ? -247 : -247)
 An error occured in a called function.
#define ERROR_CALLED_FUNCTION_2   ((fprintf(stderr,"ERROR: An error occured in a called function (ERROR_CALLED_FUNCTION_2) in %s on line %d\n",__FILE__,__LINE__)==1) ? -248 : -248)
 An error occured in a called function.
#define ERROR_CALLED_FUNCTION_3   ((fprintf(stderr,"ERROR: An error occured in a called function (ERROR_CALLED_FUNCTION_3) in %s on line %d\n",__FILE__,__LINE__)==1) ? -249 : -249)
 An error occured in a called function.
#define ERROR_CALLED_FUNCTION_4   ((fprintf(stderr,"ERROR: An error occured in a called function (ERROR_CALLED_FUNCTION_4) in %s on line %d\n",__FILE__,__LINE__)==1) ? -250 : -250)
 An error occured in a called function.
#define ERROR_CALLED_FUNCTION_5   ((fprintf(stderr,"ERROR: An error occured in a called function (ERROR_CALLED_FUNCTION_5) in %s on line %d\n",__FILE__,__LINE__)==1) ? -251 : -251)
 An error occured in a called function.
#define ERROR_CALLED_FUNCTION_6   ((fprintf(stderr,"ERROR: An error occured in a called function (ERROR_CALLED_FUNCTION_6) in %s on line %d\n",__FILE__,__LINE__)==1) ? -252 : -252)
 An error occured in a called function.
#define ERROR_CALLED_FUNCTION_7   ((fprintf(stderr,"ERROR: An error occured in a called function (ERROR_CALLED_FUNCTION_7) in %s on line %d\n",__FILE__,__LINE__)==1) ? -253 : -253)
 An error occured in a called function.
#define ERROR_CALLED_FUNCTION_8   ((fprintf(stderr,"ERROR: An error occured in a called function (ERROR_CALLED_FUNCTION_8) in %s on line %d\n",__FILE__,__LINE__)==1) ? -254 : -254)
 An error occured in a called function.
#define ERROR_CALLED_FUNCTION_9   ((fprintf(stderr,"ERROR: An error occured in a called function (ERROR_CALLED_FUNCTION_9) in %s on line %d\n",__FILE__,__LINE__)==1) ? -255 : -255)
 An error occured in a called function.
#define ERROR_CALLED_FUNCTION_10   ((fprintf(stderr,"ERROR: An error occured in a called function (ERROR_CALLED_FUNCTION_10) in %s on line %d\n",__FILE__,__LINE__)==1) ? -256 : -256)
 An error occured in a called function.
#define ERROR_CALLED_FUNCTION_11   ((fprintf(stderr,"ERROR: An error occured in a called function (ERROR_CALLED_FUNCTION_11) in %s on line %d\n",__FILE__,__LINE__)==1) ? -257 : -257)
 An error occured in a called function.
#define ERROR_CALLED_FUNCTION_12   ((fprintf(stderr,"ERROR: An error occured in a called function (ERROR_CALLED_FUNCTION_12) in %s on line %d\n",__FILE__,__LINE__)==1) ? -258 : -258)
 An error occured in a called function.
#define ERROR_CALLED_FUNCTION_13   ((fprintf(stderr,"ERROR: An error occured in a called function (ERROR_CALLED_FUNCTION_13) in %s on line %d\n",__FILE__,__LINE__)==1) ? -259 : -259)
 An error occured in a called function.
#define ERROR_CALLED_FUNCTION_14   ((fprintf(stderr,"ERROR: An error occured in a called function (ERROR_CALLED_FUNCTION_14) in %s on line %d\n",__FILE__,__LINE__)==1) ? -260 : -260)
 An error occured in a called function.
#define ERROR_CALLED_FUNCTION_15   ((fprintf(stderr,"ERROR: An error occured in a called function (ERROR_CALLED_FUNCTION_15) in %s on line %d\n",__FILE__,__LINE__)==1) ? -261 : -261)
 An error occured in a called function.
#define ERROR_CALLED_FUNCTION_16   ((fprintf(stderr,"ERROR: An error occured in a called function (ERROR_CALLED_FUNCTION_16) in %s on line %d\n",__FILE__,__LINE__)==1) ? -262 : -262)
 An error occured in a called function.
#define ERROR_CALLED_FUNCTION_17   ((fprintf(stderr,"ERROR: An error occured in a called function (ERROR_CALLED_FUNCTION_17) in %s on line %d\n",__FILE__,__LINE__)==1) ? -263 : -263)
 An error occured in a called function.
#define ERROR_CALLED_FUNCTION_18   ((fprintf(stderr,"ERROR: An error occured in a called function (ERROR_CALLED_FUNCTION_18) in %s on line %d\n",__FILE__,__LINE__)==1) ? -264 : -264)
 An error occured in a called function.
#define ERROR_CALLED_FUNCTION_19   ((fprintf(stderr,"ERROR: An error occured in a called function (ERROR_CALLED_FUNCTION_19) in %s on line %d\n",__FILE__,__LINE__)==1) ? -265 : -265)
 An error occured in a called function.
#define ERROR_TIMEOUT   ((fprintf(stderr,"ERROR: A timeout occured (ERROR_TIMEOUT) in %s on line %d\n",__FILE__,__LINE__)==1) ? -266 : -266)
 A timeout occured.
#define ERROR_PTHREAD_JOIN   ((fprintf(stderr,"ERROR: A pthread_join call failed (ERROR_PTHREAD_JOIN) in %s on line %d\n",__FILE__,__LINE__)==1) ? -267 : -267)
 A pthread_join call failed.
#define ERROR_OUT_OF_BOUNDS   ((fprintf(stderr,"ERROR: An array access was out of bounds (ERROR_OUT_OF_BOUNDS) in %s on line %d\n",__FILE__,__LINE__)==1) ? -268 : -268)
 An array access was out of bounds.
#define ERROR_NEW_FAILED   ((fprintf(stderr,"ERROR: The new operator failed to allocate new memory (ERROR_NEW_FAILED) in %s on line %d\n",__FILE__,__LINE__)==1) ? -269 : -269)
 The new operator failed to allocate new memory.

Typedefs

typedef int errorcode
 a typedef for the errorcode int type return value


Detailed Description

provides some basic general purpose error codes Autogenerated by gen_err_codes.py on Tue Mar 29 15:16:11 2005

Author:
Daniel Ferullo (ferullo@cmu.edu)

Definition in file errorcodes.h.


Generated on Wed Mar 30 23:20:48 2005 for NATBLASTER by  doxygen 1.3.9.1