X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=error.h;h=cd5c20ef8f44501429ea8a9ab16b4bfe25d62b54;hb=a296ecdb1ab1657d3ec756fbb4cdd9618b621a2e;hp=c1e7b9735a0ecc09d959814618eb96345eaa490d;hpb=73a77d2b8293081f7bda2838242935bd74aebbe0;p=paraslash.git diff --git a/error.h b/error.h index c1e7b973..cd5c20ef 100644 --- a/error.h +++ b/error.h @@ -13,7 +13,6 @@ PARA_ERROR(AFS_SHORT_READ, "short read from afs socket"), \ PARA_ERROR(AFS_SIGNAL, "afs caught deadly signal"), \ PARA_ERROR(AFS_SOCKET, "afs socket not writable"), \ - PARA_ERROR(AFT_SYNTAX, "audio file table syntax error"), \ PARA_ERROR(ALSA, "alsa error"), \ PARA_ERROR(ALSA_MIX_GET_VAL, "could not read control element state"), \ PARA_ERROR(ALSA_MIX_OPEN, "could not open mixer"), \ @@ -252,6 +251,14 @@ * 'E_') and gets later redefined to expand to the error text only */ #define PARA_ERROR(err, msg) E_ ## err +/** + * Numeric error codes. + * + * Public functions which can fail return the negated value of one of the + * constants defined here to indicate the cause of the error. + * + * \sa \ref para_strerror(). + */ enum para_error_codes {PARA_ERRORS}; #undef PARA_ERROR #define PARA_ERROR(err, msg) msg