new upstream release (3.3.0); modify package compatibility for Stretch
[ossec-hids.git] / src / headers / os_err.h
old mode 100755 (executable)
new mode 100644 (file)
index 681ed0a..8a5db3c
@@ -1,6 +1,3 @@
-/* @(#) $Id: ./src/headers/os_err.h, 2011/09/08 dcid Exp $
- */
-
 /* Copyright (C) 2009 Trend Micro Inc.
  * All right reserved.
  *
  * 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 */
+