1 /* Copyright (C) 2009 Trend Micro Inc.
4 * This program is a free software; you can redistribute it
5 * and/or modify it under the terms of the GNU General Public
6 * License (version 2) as published by the FSF - Free Software
10 /* Basic error codes */
15 #define OS_SUCCESS 0 /* Success */
16 #define OS_INVALID -1 /* Invalid entry */
17 #define OS_NOTFOUND -2 /* Entry not found */
18 #define OS_FILERR -3 /* Error in the file */
19 #define OS_SIZELIM -4 /* Size limit problem */
20 #define OS_CFGERR -5 /* Configuration error */
21 #define OS_SOCKTERR -6 /* Socket error */
22 #define OS_MISVALUE -7 /* There are values missing */
23 #define OS_CONNERR -8 /* Connection failed */
24 #define OS_UNDEF -9 /* Uknown error */
25 #define OS_MEMERR -10 /* Memory Error */
26 #define OS_SOCKBUSY -11 /* Socket busy -- try again */
28 #define OS_ENDFILE -20 /* End of file */
29 #define OS_FINISH -21 /* Finished this task */