File modules/pm/protocol_mirror.c

  Protocol mirror module (pw).  Whois protocol.

Status: NOT REVUED, NOT TESTED

Included Files


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