MPD  0.20.18
TagType.h
Go to the documentation of this file.
1 /*
2  * Copyright 2003-2017 The Music Player Daemon Project
3  * http://www.musicpd.org
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License along
16  * with this program; if not, write to the Free Software Foundation, Inc.,
17  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18  */
19 
20 #ifndef MPD_TAG_TYPE_H
21 #define MPD_TAG_TYPE_H
22 
23 #ifdef __cplusplus
24 #include <stdint.h>
25 #endif
26 
30 enum TagType
31 #ifdef __cplusplus
32 /* the size of this enum is 1 byte; this is only relevant for C++
33  code; the only C sources including this header don't use instances
34  of this enum, they only refer to the integer values */
35 : uint8_t
36 #endif
37  {
53 
59 
61 };
62 
67 extern const char *const tag_item_names[];
68 
69 #endif
TagType
Codes for the type of a tag item.
Definition: TagType.h:30
const char *const tag_item_names[]
An array of strings, which map the TagType to its machine readable name (specific to the MPD protocol...