1 /*
2  * Kiss DP-500 Server Daemon
3  * (c) 2005 Rink Springer
4  */
5 #include <pthread.h>
6 #include <stdio.h>
7 
8 #ifndef __THREAD_H__
9 #define __THREAD_H__
10 
11 #define THREAD_STATE_UNUSED 0
12 #define THREAD_STATE_USED   1
13 
14 struct THREAD_STATE {
15 	int state;
16 	int socket;
17 	FILE* file;
18 	pthread_t handle;
19 };
20 
21 #define THREAD_MAX_CMD_LEN	256
22 
23 void* thread_run(void* arg);
24 
25 #endif /* !__THREAD_H__ */
26 
27 /* vim:set ts=2 sw=2: */
28