-
Notifications
You must be signed in to change notification settings - Fork 31
/
httpvod.h
45 lines (39 loc) · 1021 Bytes
/
httpvod.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
typedef struct _PL_ENTRY {
struct _PL_ENTRY *next;
void* data;
int datalen;
} PL_ENTRY;
typedef enum {
ACT_NOTHING=0,
ACT_SKIP,
} VOD_CLIENT_ACTIONS;
typedef int (*PL_ENUM_CALLBACK)(PL_ENTRY *entry, void *arg);
PL_ENTRY* plAddEntry(PL_ENTRY **hdr, void* data, int datalen);
PL_ENTRY* plFindEntry(PL_ENTRY *hdr, void* data, int datalen);
void* plGetEntry(PL_ENTRY **hdr);
void* plDelEntry(PL_ENTRY **hdr, void* data);
void* plDelEntryByIndex(PL_ENTRY **hdr, int index);
PL_ENTRY* plPinEntry(PL_ENTRY **hdr, void* data);
PL_ENTRY* plPinEntryByIndex(PL_ENTRY **hdr, int index);
typedef struct _CLIP_INFO {
char* filename;
char* title;
int chars;
int flags;
int hash;
struct _CLIP_INFO* next;
} CLIP_INFO;
typedef struct _CATEGORY_INFO {
char* name;
int count;
int flags;
int hash;
CLIP_INFO* clips;
struct _CATEGORY_INFO* next;
} CATEGORY_INFO;
typedef struct _VOD_CTX {
PL_ENTRY* playlist;
DWORD ip;
int nextaction;
struct _VOD_CTX* next;
} VOD_CTX;