Cross reference for modules/pm/protocol_mirror.c of index.

# File modules/pm/protocol_mirror.c

      Protocol mirror module (pw).  Whois protocol.

      Status: NOT REVUED, NOT TESTED

## Included Files

- `#include <stdio.h>`

- `#include <glib.h>`

- `#include "modules/pm/protocol_mirror.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/mysql_driver.h"`

- `#include "include/constants.h"`
  - `#include <glib.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 <include/iproutines.h>`

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

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

## Preprocessor definitions

`#define MIN_ARG_LENGTH 6`

## Global Function PM_interact()

      Interact with the client.

      More:

      Authors:
            ottrey
            andrei

    Online References:

`void PM_interact ( int sock )`

`int sock`
  Socket that client is connected to.

Prototyped in: | modules/pm/protocol_mirror.h
Calls: | CO_get_database() | modules/co/constants.c
| CO_get_database_port() | modules/co/constants.c
| CO_get_host() | modules/co/constants.c
| CO_get_password() | modules/co/constants.c
| CO_get_user() | modules/co/constants.c
| PM_get_minmax_serial() | modules/pm/pm_serials.c
| PM_get_serial_object() | modules/pm/pm_serials.c
| parse_request() | modules/pm/protocol_mirror.c
| SK_cd_close(), SK_cd_gets(), SK_cd_puts(), SK_getpeerip(), SK_getpeername(), SQ_get_connection(), fprintf(), free(), memcpy(), memset(), printf(), sprintf()

## Local Function parse_request()

`static int parse_request ( char* input, nrtm_q_t* nrtm_q )`

Calls: | atoi(), atol(), g_strchug(), g_strfreev(), g_strsplit(), strcmp(), strlen(), strncmp()
Called by: | PM_interact() | modules/pm/protocol_mirror.c