Cross reference for sk/sk.h of index.

# File sk/sk.h

      $Revision: 1.11 $

      Socket module (sk)

      Status: NOT REVUED, NOT TESTED

## Included Files

- `#include ";/home/shane/release/RIP/include/stubs.h";`
  - `#include <stdlib.h>`
  - `#include <stdio.h>`
  - `#include <ctype.h>`
  - `#include ";/home/shane/release/RIP/include/config.h";`

- `#include <sys/time.h>`

- `#include <unistd.h>`

- `#include <sys/types.h>`

- `#include <sys/socket.h>`

- `#include <netinet/in.h>`

- `#include <netdb.h>`

- `#include <pthread.h>`

- `#include <stdlib.h>`

- `#include <errno.h>`

- `#include <fcntl.h>`

- `#include <signal.h>`

- `#include <stdio.h>`

- `#include ";/home/shane/release/RIP/include/iproutines.h";`
  - `#include <sys/types.h>`
  - `#include <glib.h>`
  - `#include </home/shane/release/RIP/include/inet6def.h>`
  - `#include </home/shane/release/RIP/include/erroutines.h>`

## 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 sk_conn_st

`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;` |
`}` |

## Local Function asctime_r()

`static char* asctime_r ( const struct tm* __tm, char* __buf )`

Included from: | /usr/include/time.h
Calls: | __posix_asctime_r()

## Local Function ctime_r()

`static char* ctime_r ( const time_t* __time, char* __buf )`

Included from: | /usr/include/time.h
Calls: | __posix_ctime_r()

## Local Function getlogin_r()

`static int getlogin_r ( char* __name, int __len )`

Included from: | /usr/include/unistd.h
Calls: | __posix_getlogin_r()

## Local Function sigwait()

`static int sigwait ( const sigset_t* __setp, int* __signo )`

Included from: | /usr/include/signal.h
Calls: | __posix_sigwait()

## Local Function ttyname_r()

`static int ttyname_r ( int __fildes, char* __buf, size_t __size )`

Included from: | /usr/include/unistd.h
Calls: | __posix_ttyname_r()