libeplayer3-arm: cleanup types, use Context_t in commands

This commit is contained in:
max_10
2018-03-07 23:59:23 +01:00
committed by Thilo Graf
parent 71905680a6
commit cb275626b1
32 changed files with 195 additions and 183 deletions

View File

@@ -28,10 +28,13 @@ typedef enum
CONTAINER_GET_METADATA
} ContainerCmd_t;
struct Context_s;
typedef struct Context_s Context_t;
typedef struct Container_s
{
char *Name;
int (* Command)(/*Context_t*/void *, ContainerCmd_t, void *);
int (* Command)(Context_t *, ContainerCmd_t, void *);
char **Capabilities;
} Container_t;
@@ -43,7 +46,7 @@ typedef struct ContainerHandler_s
char *Name;
Container_t *selectedContainer;
int (* Command)(/*Context_t*/void *, ContainerCmd_t, void *);
int (* Command)(Context_t *, ContainerCmd_t, void *);
} ContainerHandler_t;
#endif