Cross reference for modules/pw/protocol_whois.c of index.

# File modules/pw/protocol_whois.c

      $Revision: 1.30 $

      Protocol whois module (pw).  Whois protocol.

      Status: NOT REVUED, TESTED

## Included Files

- `#include <stdio.h>`

- `#include <glib.h>`

- `#include "include/NAME"`

- `#include "include/defs.h"`
  - `#include <glib.h>`
  - `#include "include/bitmask.h"`
  - `#include "include/DF_class_enum.def"`
  - `#include "include/DF_class_mask.def"`
  - `#include "include/DF_attribute_enum.def"`
  - `#include "include/DF_attribute_inv_attr_mask.def"`
  - `#include "include/which_keytypes.h"`
    - `#include "include/bitmask.h"`
  - `#include "include/iproutines.h"`
    - `#include <glib.h>`
    - `#include <include/erroutines.h>`
    - `#include <sys/types.h>`
  - `#include "include/rxroutines.h"`
    - `#include <glib.h>`
    - `#include <pthread.h>`
    - `#include <stubs.h>`
    - `#include <include/memwrap.h>`
    - `#include <stdio.h>`
    - `#include <iproutines.h>`
    - `#include <erroutines.h>`
    - `#include "include/socket.h"`
      - `#include <sys/types.h>`
      - `#include <sys/socket.h>`
      - `#include <netinet/in.h>`
      - `#include <stdlib.h>`
      - `#include <errno.h>`
      - `#include <netdb.h>`
      - `#include <signal.h>`
      - `#include <stdio.h>`
      - `#include <iproutines.h>`
    - `#include "include/thread.h"`
      - `#include <pthread.h>`

- `#include "modules/pw/protocol_whois.h"`
  - `#include "include/query_command.h"`
    - `#include <glib.h>`
    - `#include "include/bitmask.h"`
    - `#include "include/socket.h"`

- `#include "include/mysql_driver.h"`
  - `#include "/opt/package/mysql/include/mysql/mysql.h"`
    - `#include <sys/types.h>`
    - `#include "/opt/package/mysql/include/mysql/mysql_com.h"`
    - `#include "/opt/package/mysql/include/mysql/mysql_version.h"`
  - `#include "/opt/package/mysql/include/mysql/mysqld_error.h"`

- `#include "include/query_command.h"`

- `#include "include/query_instructions.h"`
  - `#include "include/rxroutines.h"`
  - `#include "include/iproutines.h"`
  - `#include "include/mysql_driver.h"`
  - `#include "include/query_command.h"`
  - `#include "include/defs.h"`
  - `#include "include/which_keytypes.h"`
  - `#include "include/access_control.h"`
    - `#include "include/erroutines.h"`
    - `#include "include/iproutines.h"`
    - `#include "include/rxroutines.h"`
  - `#include "include/ca_configFns.h"`
    - `#include "include/ca_defs.h"`
      - `#include <pthread.h>`
      - `#include <glib.h>`
  - `#include "include/ca_dictSyms.h"`
  - `#include "include/ca_macros.h"`
  - `#include "include/ca_srcAttribs.h"`

- `#include "include/constants.h"`
  - `#include <glib.h>`

- `#include "include/access_control.h"`

- `#include "include/socket.h"`

- `#include "include/stubs.h"`

- `#include "include/ca_configFns.h"`

- `#include "include/ca_dictSyms.h"`

- `#include "include/ca_macros.h"`

- `#include "include/ca_srcAttribs.h"`

- `#include "include/protocol_mirror.h"`
  - `#include <glib.h>`
  - `#include "include/mysql_driver.h"`
  - `#include "include/iproutines.h"`

- `#include "include/ta.h"`
  - `#include <glib.h>`
  - `#include <pthread.h>`
  - `#include <stubs.h>`
  - `#include <memwrap.h>`
  - `#include <stdio.h>`
  - `#include <include/socket.h>`
  - `#include <include/timediff.h>`

- `#include "include/timediff.h"`

## Global Variable Lock

`pthread_mutex_t Lock`

Included from | include/ca_defs.h
Visible in: |  | modules/ca/ca_configFns.c
|  | modules/ca/ca_values.c
|  | modules/pm/pm_serials.c
|  | modules/pm/protocol_mirror.c
|  | modules/pw/protocol_whois.c
Used in: | ca_get_adminIntElement() | modules/ca/ca_configFns.c
| ca_get_adminStrElement() | modules/ca/ca_configFns.c
| ca_get_boolean() | modules/ca/ca_configFns.c
| ca_get_dirlist() | modules/ca/ca_configFns.c
| ca_get_int() | modules/ca/ca_configFns.c
| ca_get_string() | modules/ca/ca_configFns.c
| ca_set_boolean() | modules/ca/ca_configFns.c
| ca_set_string() | modules/ca/ca_configFns.c

## Global Variable newPort

`char newPort[16]`

Included from | include/ca_defs.h
Visible in: |  | modules/ca/ca_configFns.c
|  | modules/ca/ca_values.c
|  | modules/pm/pm_serials.c
|  | modules/pm/protocol_mirror.c
|  | modules/pw/protocol_whois.c

## Global Function PW_interact()

      Interact with the client.

      More:

      Authors:
            ottrey

    Online References:

`void PW_interact ( int sock )`

`int sock`
  Socket that client is connected to.

Prototyped in: | modules/pw/protocol_whois.h
Calls: | AC_acc_addup() | modules/ac/access_control.c
| AC_check_acl() | modules/ac/access_control.c
| AC_commit() | modules/ac/access_control.c
| AC_credit_isdenied() | modules/ac/access_control.c
| AC_credit_to_string() | modules/ac/access_control.c
| CO_get_whois_suspended() | modules/co/constants.c
| DF_get_class_template() | modules/df/defs.c
| DF_get_class_template_v() | modules/df/defs.c
| DF_get_server_query() | modules/df/defs.c
| ER_dbg_va() | modules/er/er.c
| ER_inf_va() | modules/er/er.c
| NOERR() | modules/er/er.c
| PM_get_nrtm_sources() | modules/pm/pm_serials.c
| print_hello_banner() | modules/pw/protocol_whois.c
| QC_create(), QC_environ_free(), QC_environ_new(), QC_free(), QC_get_qrytype(), QI_execute(), QI_free(), QI_new(), SK_cd_close(), SK_cd_gets(), SK_cd_puts(), SK_getpeerip(), SK_getpeername(), TA_increment(), TA_setactivity(), UT_timediff(), UT_timeget(), fprintf(), g_list_first(), g_string_free(), memcmp(), memset(), wr_real_free()
References Variables: | IP_ADDR_UNSPEC | modules/ip/ip.c

## Global Function print_hello_banner()

`void print_hello_banner ( Query_environ* qe )`

Calls: | SK_cd_puts()
Called by: | PW_interact() | modules/pw/protocol_whois.c