File modules/pw/protocol_whois.c

  $Revision: 1.18 $

Protocol whois module (pw). Whois protocol.
Status: NOT REVUED, NOT TESTED

Included Files


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_fetch_acc()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
  print_hello_banner()modules/pw/protocol_whois.c
  process_query()modules/pw/protocol_whois.c
  QC_environ_free(), QC_environ_new(), QC_free(), QI_execute(), QI_free(), QI_new(), SK_cd_close(), SK_cd_gets(), SK_cd_puts(), SK_getpeerip(), SK_getpeername(), fprintf(), free(), g_list_first(), memcmp(), memcpy(), memset(), printf()
References Variables: IP_ADDR_UNSPECmodules/ip/ip.c

Global Function print_hello_banner()

void print_hello_banner ( Query_environ* qe )
Calls: QC_environ_to_string(), SK_cd_puts(), free()
Called by: PW_interact()modules/pw/protocol_whois.c

Global Function process_query()

PW_qtype_t process_query ( char* input, Query_environ* qe, Query_command** qc_store )
Calls: QC_new(), printf(), strcmp(), strlen()
Called by: PW_interact()modules/pw/protocol_whois.c