X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=src%2Fheaders%2Fos_err.h;h=8a5db3cfb5b8972583f9eb922cc886882874643e;hb=3f728675941dc69d4e544d3a880a56240a6e394a;hp=65f287c58e3605f371fc6e237edd0471ef1328c2;hpb=301048b51990573e58a30dc4a5bb4ec285cad554;p=ossec-hids.git diff --git a/src/headers/os_err.h b/src/headers/os_err.h old mode 100755 new mode 100644 index 65f287c..8a5db3c --- a/src/headers/os_err.h +++ b/src/headers/os_err.h @@ -1,35 +1,32 @@ -/* @(#) $Id$ */ - /* Copyright (C) 2009 Trend Micro Inc. * All right reserved. * * This program is a free software; you can redistribute it * and/or modify it under the terms of the GNU General Public - * License (version 2) as published by the FSF - Free Software + * License (version 2) as published by the FSF - Free Software * Foundation */ -/* Basic err codes - * - */ +/* Basic error codes */ -#ifndef __OS_ERR /* Definition of the __OS_ERR */ +#ifndef __OS_ERR #define __OS_ERR -#define OS_SUCCESS 0 /* Success */ -#define OS_INVALID -1 /* Invalid entry */ -#define OS_NOTFOUND -2 /* Entry not found */ -#define OS_FILERR -3 /* Error in the file */ -#define OS_SIZELIM -4 /* Size limit problem */ -#define OS_CFGERR -5 /* Configuration error */ -#define OS_SOCKTERR -6 /* Socket error */ -#define OS_MISVALUE -7 /* There are values missing */ -#define OS_CONNERR -8 /* Connection failed */ -#define OS_UNDEF -9 /* Uknown error */ -#define OS_MEMERR -10 /* Memory Error */ -#define OS_SOCKBUSY -11 /* Socket busy -- try again */ +#define OS_SUCCESS 0 /* Success */ +#define OS_INVALID -1 /* Invalid entry */ +#define OS_NOTFOUND -2 /* Entry not found */ +#define OS_FILERR -3 /* Error in the file */ +#define OS_SIZELIM -4 /* Size limit problem */ +#define OS_CFGERR -5 /* Configuration error */ +#define OS_SOCKTERR -6 /* Socket error */ +#define OS_MISVALUE -7 /* There are values missing */ +#define OS_CONNERR -8 /* Connection failed */ +#define OS_UNDEF -9 /* Uknown error */ +#define OS_MEMERR -10 /* Memory Error */ +#define OS_SOCKBUSY -11 /* Socket busy -- try again */ -#define OS_ENDFILE -20 /* End of file */ -#define OS_FINISH -21 /* Finished this task */ +#define OS_ENDFILE -20 /* End of file */ +#define OS_FINISH -21 /* Finished this task */ #endif /* __OS_ERR */ +