change ACK error codes

git-svn-id: https://svn.musicpd.org/mpd/trunk@1484 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Warren Dukes 2004-06-14 21:27:39 +00:00
parent 9c1e088ce5
commit de314b61b5
1 changed files with 9 additions and 7 deletions

View File

@ -1,17 +1,19 @@
#ifndef ACK_H #ifndef ACK_H
#define ACK_H #define ACK_H
/* Common Errors */
#define ACK_ERROR_NOT_LIST 1 #define ACK_ERROR_NOT_LIST 1
#define ACK_ERROR_ARG 2 #define ACK_ERROR_ARG 2
#define ACK_ERROR_PASSWORD 3 #define ACK_ERROR_PASSWORD 3
#define ACK_ERROR_PERMISSION 4 #define ACK_ERROR_PERMISSION 4
#define ACK_ERROR_UNKNOWN 5 #define ACK_ERROR_UNKNOWN 5
#define ACK_ERROR_NO_EXIST 6
#define ACK_ERROR_PLAYLIST_MAX 7 #define ACK_ERROR_NO_EXIST 50
#define ACK_ERROR_SYSTEM 8 #define ACK_ERROR_PLAYLIST_MAX 51
#define ACK_ERROR_PLAYLIST_LOAD 9 #define ACK_ERROR_SYSTEM 52
#define ACK_ERROR_UPDATE_ALREADY 10 #define ACK_ERROR_PLAYLIST_LOAD 53
#define ACK_ERROR_PLAYER_SYNC 11 #define ACK_ERROR_UPDATE_ALREADY 54
#define ACK_ERROR_EXIST 12 #define ACK_ERROR_PLAYER_SYNC 55
#define ACK_ERROR_EXIST 56
#endif #endif