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