$Revision: 1.11 $
Socket module (sk)
Status: NOT REVUED, NOT TESTED
Included Files
Preprocessor definitions
#define READ_SOCKET
#define INPUT_BUF_LEN 2048
#define SK_DISCONNECT 0x0001
#define SK_INTERRUPT 0x0002
#define SK_TIMEOUT 0x0004
#define SK_NOTEXT 0x0100
typedef struct {...} sk_conn_st
struct |
|
{ |
|
int sock; |
|
struct timeval rd_timeout; |
|
struct timeval wr_timeout; |
|
unsigned short rtc; |
|
pthread_t watchdog; |
|
pthread_t killthis; |
|
void* (*execthis)(void*); |
|
void* execargs; |
|
pthread_mutex_t watchmutex; |
|
unsigned char lasterr; |
|
ip_addr_t rIP; |
|
ip_addr_t eIP; |
|
char* ip; |
|
char rd_buf[2048]; |
|
int rd_buf_len; |
|
} |
|
static char* asctime_r ( const struct tm* __tm, char* __buf )
static char* ctime_r ( const time_t* __time, char* __buf )
static int getlogin_r ( char* __name, int __len )
static int sigwait ( const sigset_t* __setp, int* __signo )
static int ttyname_r ( int __fildes, char* __buf, size_t __size )