1 /* @(#) $Id: ./src/headers/os_err.h, 2011/09/08 dcid Exp $
4 /* Copyright (C) 2009 Trend Micro Inc.
7 * This program is a free software; you can redistribute it
8 * and/or modify it under the terms of the GNU General Public
9 * License (version 2) as published by the FSF - Free Software
17 #ifndef __OS_ERR /* Definition of the __OS_ERR */
20 #define OS_SUCCESS 0 /* Success */
21 #define OS_INVALID -1 /* Invalid entry */
22 #define OS_NOTFOUND -2 /* Entry not found */
23 #define OS_FILERR -3 /* Error in the file */
24 #define OS_SIZELIM -4 /* Size limit problem */
25 #define OS_CFGERR -5 /* Configuration error */
26 #define OS_SOCKTERR -6 /* Socket error */
27 #define OS_MISVALUE -7 /* There are values missing */
28 #define OS_CONNERR -8 /* Connection failed */
29 #define OS_UNDEF -9 /* Uknown error */
30 #define OS_MEMERR -10 /* Memory Error */
31 #define OS_SOCKBUSY -11 /* Socket busy -- try again */
33 #define OS_ENDFILE -20 /* End of file */
34 #define OS_FINISH -21 /* Finished this task */