mirror of
https://github.com/Goldenkrew3000/OSSP_OpenSource.git
synced 2025-12-19 00:04:44 +10:00
31 lines
702 B
C
31 lines
702 B
C
#ifndef _ENDPOINT_GETARTISTS_H
|
|
#define _ENDPOINT_GETARTISTS_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif // __cplusplus
|
|
|
|
typedef struct {
|
|
char* id;
|
|
char* name;
|
|
char* coverArt;
|
|
int albumCount;
|
|
} opensubsonic_getArtists_artist_struct;
|
|
|
|
typedef struct {
|
|
char* status;
|
|
int errorCode;
|
|
char* errorMessage;
|
|
int artistCount;
|
|
opensubsonic_getArtists_artist_struct* artists;
|
|
} opensubsonic_getArtists_struct;
|
|
|
|
int opensubsonic_getArtists_parse(char* data, opensubsonic_getArtists_struct** getArtistsStruct);
|
|
void opensubsonic_getArtists_struct_free(opensubsonic_getArtists_struct** getArtistsStruct);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif // __cplusplus
|
|
|
|
#endif // _ENDPOINT_GETARTISTS_H
|