Cross reference for modules/wh/wh_queries.c of index.

# File modules/wh/wh_queries.c

      $Revision: 1.12 $

      Whois query (wh) - connects to a whois server and returns result

      Status: NOT REVIEWED, TESTED

      Design and implementation by: Marek Bukowy

      Note:  still not final. Probably SK calls should be moved to the
             calling routine

## Included Files

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

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

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

- `#include <netdb.h>`

- `#include <stdio.h>`

- `#include <include/erroutines.h>`

- `#include "include/sk.h"`
  - `#include "include/stubs.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 "include/iproutines.h"`
    - `#include <sys/types.h>`
    - `#include <glib.h>`
    - `#include <include/inet6def.h>`
    - `#include <erroutines.h>`

## Preprocessor definitions

as above - but with connection structures, timeouts, maxlines, etc.

`#define MAX_LINE_SIZE 1024`

## Global Function WH_cd_sock()

     as above - but with connection structures, timeouts, maxlines, etc.

`er_ret_t WH_cd_sock ( sk_conn_st* out_cd, char* hostname, unsigned port, char* query, unsigned maxlines, unsigned timeout )`

Calls: | SK_cd_close() | modules/sk/cd_socket.c
| SK_cd_free() | modules/sk/cd_socket.c
| SK_cd_gets() | modules/sk/cd_socket.c
| SK_cd_make() | modules/sk/cd_socket.c
| SK_cd_puts() | modules/sk/cd_socket.c
| SK_connect() | modules/sk/sk_socket.c
| fprintf()
Called by: | run_referral() | modules/qi/query_instructions.c