/*****************************************************************************
* Error values (shouldn't be exposed)
*****************************************************************************/
-#define VLC_SUCCESS -0 /* No error */
-#define VLC_ENOMEM -1 /* Not enough memory */
-#define VLC_ETIMEOUT -3 /* Timeout */
-
-#define VLC_ENOMOD -10 /* Module not found */
-
-#define VLC_ENOOBJ -20 /* Object not found */
-
-#define VLC_ENOVAR -30 /* Variable not found */
-#define VLC_EBADVAR -31 /* Bad variable value */
-
-#define VLC_ENOITEM -40 /**< Item not found */
-
-#define VLC_EGENERIC -666 /* Generic error */
+#define VLC_SUCCESS (-0) /**< No error */
+#define VLC_EGENERIC (-1) /**< Unspecified error */
+#define VLC_ENOMEM (-2) /**< Not enough memory */
+#define VLC_ETIMEOUT (-3) /**< Timeout */
+#define VLC_ENOMOD (-4) /**< Module not found */
+#define VLC_ENOOBJ (-5) /**< Object not found */
+#define VLC_ENOVAR (-6) /**< Variable not found */
+#define VLC_EBADVAR (-7) /**< Bad variable value */
+#define VLC_ENOITEM (-8) /**< Item not found */
/*****************************************************************************
* Variable callbacks