Subversion Repositories mdb

Rev

Rev 56 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 56 Rev 59
Line 15... Line 15...
15
 */
15
 */
16
 
16
 
17
#ifndef __MDB__
17
#ifndef __MDB__
18
#define __MDB__
18
#define __MDB__
19
 
19
 
-
 
20
#include <pthread.h>
-
 
21
 
20
#define PAGE_NONE			0
22
#define PAGE_NONE			0
21
#define PAGE_TITLE			1
23
#define PAGE_TITLE			1
22
#define PAGE_ARTIST			2
24
#define PAGE_ARTIST			2
23
#define PAGE_ALBUM			3
25
#define PAGE_ALBUM			3
24
#define PAGE_GENRE			4
26
#define PAGE_GENRE			4
Line 38... Line 40...
38
 
40
 
39
extern int currentPage;
41
extern int currentPage;
40
extern struct SOCKETS soc;
42
extern struct SOCKETS soc;
41
extern int _s1[];
43
extern int _s1[];
42
 
44
 
-
 
45
pthread_attr_t pattr;
-
 
46
 
43
int parseCommand(int s1, char *cmd);
47
int parseCommand(int s1, char *cmd);
44
void *processCommands(void *pV_data);
48
void *processCommands(void *pV_data);
45
 
49
 
46
void handleInit();
50
void handleInit();
47
void handleAdd(int fd);
51
void handleAdd(int fd);