protocol.h
Go to the documentation of this file.
// SPDX-License-Identifier: BSD-2-Clause
// Copyright The Music Player Daemon Project
#ifndef MPD_PROTOCOL_H
#define MPD_PROTOCOL_H
enum mpd_server_error {
MPD_SERVER_ERROR_UNK = -1,
MPD_SERVER_ERROR_NOT_LIST = 1,
MPD_SERVER_ERROR_ARG = 2,
MPD_SERVER_ERROR_PASSWORD = 3,
MPD_SERVER_ERROR_PERMISSION = 4,
MPD_SERVER_ERROR_UNKNOWN_CMD = 5,
MPD_SERVER_ERROR_NO_EXIST = 50,
MPD_SERVER_ERROR_PLAYLIST_MAX = 51,
MPD_SERVER_ERROR_SYSTEM = 52,
MPD_SERVER_ERROR_PLAYLIST_LOAD = 53,
MPD_SERVER_ERROR_UPDATE_ALREADY = 54,
MPD_SERVER_ERROR_PLAYER_SYNC = 55,
MPD_SERVER_ERROR_EXIST = 56,
};
#endif
mpd_server_error
mpd_server_error
Definition protocol.h:14
MPD_SERVER_ERROR_PLAYLIST_LOAD
@ MPD_SERVER_ERROR_PLAYLIST_LOAD
Definition protocol.h:26
MPD_SERVER_ERROR_UNKNOWN_CMD
@ MPD_SERVER_ERROR_UNKNOWN_CMD
Definition protocol.h:21
MPD_SERVER_ERROR_NO_EXIST
@ MPD_SERVER_ERROR_NO_EXIST
Definition protocol.h:23
MPD_SERVER_ERROR_EXIST
@ MPD_SERVER_ERROR_EXIST
Definition protocol.h:29
MPD_SERVER_ERROR_NOT_LIST
@ MPD_SERVER_ERROR_NOT_LIST
Definition protocol.h:17
MPD_SERVER_ERROR_SYSTEM
@ MPD_SERVER_ERROR_SYSTEM
Definition protocol.h:25
MPD_SERVER_ERROR_PLAYER_SYNC
@ MPD_SERVER_ERROR_PLAYER_SYNC
Definition protocol.h:28
MPD_SERVER_ERROR_ARG
@ MPD_SERVER_ERROR_ARG
Definition protocol.h:18
MPD_SERVER_ERROR_UNK
@ MPD_SERVER_ERROR_UNK
Definition protocol.h:15
MPD_SERVER_ERROR_PERMISSION
@ MPD_SERVER_ERROR_PERMISSION
Definition protocol.h:20
MPD_SERVER_ERROR_PLAYLIST_MAX
@ MPD_SERVER_ERROR_PLAYLIST_MAX
Definition protocol.h:24
MPD_SERVER_ERROR_UPDATE_ALREADY
@ MPD_SERVER_ERROR_UPDATE_ALREADY
Definition protocol.h:27
MPD_SERVER_ERROR_PASSWORD
@ MPD_SERVER_ERROR_PASSWORD
Definition protocol.h:19