Cross reference for modules/pc/pc_commands.c of index.

# File modules/pc/pc_commands.c

## Included Files

- `#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/erroutines.h"`
    - `#include <stdio.h>`
    - `#include <unistd.h>`
    - `#include <stdlib.h>`
    - `#include <assert.h>`
    - `#include <time.h>`
    - `#include <stdarg.h>`
    - `#include <strings.h>`
    - `#include <glib.h>`
    - `#include <pthread.h>`
    - `#include <include/bitmask.h>`
    - `#include <include/stubs.h>`
    - `#include "include/er_facilities.h"`
      - `#include <include/erroutines.h>`
      - `#include "include/er_RX_errors.h"`
      - `#include "include/er_ER_errors.h"`
      - `#include "include/er_IP_errors.h"`
      - `#include "include/er_UP_errors.h"`
      - `#include "include/er_UT_errors.h"`
      - `#include "include/er_WH_errors.h"`
      - `#include "include/er_RP_errors.h"`
      - `#include "include/er_QI_errors.h"`
      - `#include "include/er_QC_errors.h"`
      - `#include "include/er_PW_errors.h"`
      - `#include "include/er_SK_errors.h"`
      - `#include "include/er_TH_errors.h"`
      - `#include "include/er_SQ_errors.h"`
      - `#include "include/er_PM_errors.h"`
      - `#include "include/er_MM_errors.h"`
      - `#include "include/er_SV_errors.h"`
      - `#include "include/er_AC_errors.h"`
      - `#include "include/er_UD_errors.h"`
      - `#include "include/er_PA_errors.h"`
      - `#include "include/er_PC_errors.h"`
    - `#include "include/er_aspects.h"`
      - `#include "include/erroutines.h"`
    - `#include "include/er_formats.h"`

- `#include "include/access_control.h"`
  - `#include "include/erroutines.h"`
  - `#include "include/iproutines.h"`
    - `#include <glib.h>`
    - `#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/sk.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 "include/mysql_driver.h"`

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

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

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

- `#include "modules/pc/protocol_config.h"`

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

- `#include "modules/pc/pc_commands.h"`

## Global Function command_purify()

`int command_purify ( char* input, GString* output, sk_conn_st* condat )`

Prototyped in: | modules/pc/pc_commands.h
Calls: | g_string_append()

## Global Function command_quit()

`int command_quit ( char* input, GString* output, sk_conn_st* condat )`

Prototyped in: | modules/pc/pc_commands.h

## Global Function command_set()

`int command_set ( char* input, GString* output, sk_conn_st* condat )`

Prototyped in: | modules/pc/pc_commands.h
Calls: | command_execute()
References Variables: | set

## Global Function command_show()

`int command_show ( char* input, GString* output, sk_conn_st* condat )`

Prototyped in: | modules/pc/pc_commands.h
Calls: | command_execute()
References Variables: | show

## Global Function command_stop()

`int command_stop ( char* input, GString* output, sk_conn_st* condat )`

Prototyped in: | modules/pc/pc_commands.h
Calls: | command_execute()
References Variables: | stop

## Global Function set_acl()

`int set_acl ( char* input, GString* output, sk_conn_st* condat )`

Prototyped in: | modules/pc/pc_commands.h
Calls: | AC_asc_acl_command_set() | modules/ac/access_control.c
| NOERR() | modules/er/er.c
| g_string_append()

## Global Function set_err()

`int set_err ( char* input, GString* output, sk_conn_st* condat )`

Prototyped in: | modules/pc/pc_commands.h
Calls: | ER_macro_spec() | modules/er/er_macro.c
| free(), g_string_append()

## Global Function set_macro()

`int set_macro ( char* input, GString* output, sk_conn_st* condat )`

Prototyped in: | modules/pc/pc_commands.h
Calls: | ER_make_macro() | modules/er/er_macro.c
| strlen(), strtok_r()

## Global Function set_nodeny()

`int set_nodeny ( char* input, GString* output, sk_conn_st* condat )`

Prototyped in: | modules/pc/pc_commands.h
Calls: | AC_asc_set_nodeny() | modules/ac/access_control.c
| NOERR() | modules/er/er.c
| g_string_append()

## Global Function set_updates()

`int set_updates ( char* input, GString* output, sk_conn_st* condat )`

Prototyped in: | modules/pc/pc_commands.h
Calls: | CO_set_const() | modules/co/constants.c
| g_string_append(), sscanf(), strcmp()

## Global Function show_access()

`int show_access ( char* input, GString* output, sk_conn_st* condat )`

Prototyped in: | modules/pc/pc_commands.h
Calls: | AC_to_string_header() | modules/ac/access_control.c
| SK_cd_puts(), g_string_sprintfa(), rx_walk_tree(), wr_real_free()
References Functions: | AC_rxwalkhook_print() | modules/ac/access_control.c
References Variables: | act_runtime | modules/ac/access_control.c

## Global Function show_acl()

`int show_acl ( char* input, GString* output, sk_conn_st* condat )`

Prototyped in: | modules/pc/pc_commands.h
Calls: | AC_acl_to_string_header() | modules/ac/access_control.c
| SK_cd_puts(), g_string_sprintfa(), rx_walk_tree(), wr_real_free()
References Functions: | AC_rxwalkhook_print_acl() | modules/ac/access_control.c
References Variables: | act_acl | modules/ac/access_control.c

## Global Function show_const()

`int show_const ( char* input, GString* output, sk_conn_st* condat )`

Prototyped in: | modules/pc/pc_commands.h
Calls: | CO_const_to_string() | modules/co/constants.c
| g_string_append(), strlen(), strtok_r(), wr_real_free()

## Global Function show_consts()

`int show_consts ( char* input, GString* output, sk_conn_st* condat )`

Prototyped in: | modules/pc/pc_commands.h
Calls: | CO_to_string() | modules/co/constants.c
| free(), g_string_append()

## Global Function show_err()

`int show_err ( char* input, GString* output, sk_conn_st* condat )`

Prototyped in: | modules/pc/pc_commands.h
Calls: | er_print_paths() | modules/er/er_paths.c
| free(), g_string_append()

## Global Function show_macros()

`int show_macros ( char* input, GString* output, sk_conn_st* condat )`

Prototyped in: | modules/pc/pc_commands.h
Calls: | ER_macro_list() | modules/er/er_macro.c

## Global Function show_props()

`int show_props ( char* input, GString* output, sk_conn_st* condat )`

Prototyped in: | modules/pc/pc_commands.h
Calls: | PR_to_string(), free(), g_string_append()

## Global Function show_threads()

`int show_threads ( char* input, GString* output, sk_conn_st* condat )`

Prototyped in: | modules/pc/pc_commands.h
Calls: | TA_tostring(), free(), g_string_append()

## Global Function show_whois()

`int show_whois ( char* input, GString* output, sk_conn_st* condat )`

Prototyped in: | modules/pc/pc_commands.h
Calls: | PW_interact()

## Global Function stop_query()

`int stop_query ( char* input, GString* output, sk_conn_st* condat )`

Prototyped in: | modules/pc/pc_commands.h
Calls: | TA_trigger(), g_string_append(), sscanf()