mirror of
https://github.com/Goldenkrew3000/OSSP_OpenSource.git
synced 2025-12-19 08:14:44 +10:00
Adding base source
This commit is contained in:
22
src/libopensubsonic/endpoint_getArtists.h
Normal file
22
src/libopensubsonic/endpoint_getArtists.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#ifndef _ENDPOINT_GETARTISTS_H
|
||||
#define _ENDPOINT_GETARTISTS_H
|
||||
|
||||
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);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user