Subversion Repositories mdb

Rev

Rev 32 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 32 Rev 56
Line 26... Line 26...
26
#define PAGE_PLAYLIST		6
26
#define PAGE_PLAYLIST		6
27
 
27
 
28
#define FILE_TYPE_MP3		1
28
#define FILE_TYPE_MP3		1
29
#define FILE_TYPE_FLAC		2
29
#define FILE_TYPE_FLAC		2
30
 
30
 
-
 
31
#define MAX_HANDLES			100
-
 
32
 
31
struct SOCKETS
33
struct SOCKETS
32
{
34
{
33
	int sockfd;
35
	int sockfd;
34
	int newfd;
36
	int newfd;
35
};
37
};
36
 
38
 
37
extern int currentPage;
39
extern int currentPage;
38
extern struct SOCKETS soc;
40
extern struct SOCKETS soc;
-
 
41
extern int _s1[];
39
 
42
 
40
int parseCommand(int s1, char *cmd);
43
int parseCommand(int s1, char *cmd);
41
void *processCommands(void *pV_data);
44
void *processCommands(void *pV_data);
42
 
45
 
-
 
46
void handleInit();
-
 
47
void handleAdd(int fd);
-
 
48
void handleDelete(int fd);
-
 
49
void handleWrite(char *txt);
-
 
50
 
43
#endif
51
#endif