Cross reference for modules/qi/query_instructions.h of index.

# File modules/qi/query_instructions.h

      $Revision: 1.31 $

      Query instruction module (qi)
      config module.

      Status: NOT REVUED, NOT TESTED

Included in: | modules/qi/query_instructions.c

## Included Files

- `#include "include/rxroutines.h"`
  - `#include <glib.h>`
  - `#include <pthread.h>`
  - `#include <include/stubs.h>`
  - `#include <include/memwrap.h>`
  - `#include <stdio.h>`
  - `#include <include/iproutines.h>`
  - `#include <erroutines.h>`
  - `#include "include/sk.h"`
    - `#include "include/stubs.h"`
    - `#include <sys/types.h>`
    - `#include <sys/socket.h>`
    - `#include <netinet/in.h>`
    - `#include <netdb.h>`
    - `#include <pthread.h>`
    - `#include <stdlib.h>`
    - `#include <errno.h>`
    - `#include <fcntl.h>`
    - `#include <signal.h>`
    - `#include <stdio.h>`
    - `#include "include/iproutines.h"`
  - `#include "include/thread.h"`

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

- `#include "include/query_command.h"`
  - `#include <glib.h>`
  - `#include "include/bitmask.h"`
  - `#include "include/sk.h"`

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

- `#include "include/ca_configFns.h"`
  - `#include "include/ca_defs.h"`
    - `#include <pthread.h>`
    - `#include <glib.h>`

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

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

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

## Preprocessor definitions

`#define READ_QUERY_INSTRUCTIONS`

`#define Q_OBJECTS "SELECT last.object_id, last.sequence_id, last.object ,last.object_type FROM %s IDS STRAIGHT_JOIN last,object_order WHERE last.object_id=IDS.id AND last.object_type != 100 AND last.object_type = object_order.object_type ORDER BY order_code"`

`#define Q_REC "INSERT INTO %s SELECT pe_ro_id FROM %s IDS STRAIGHT_JOIN %s WHERE object_id = IDS.id"`

`#define MAX_INSTRUCTIONS 100`

## Typedef Query_instruction

`typedef struct Query_instruction_t Query_instruction`

`struct Query_instruction_t` |
`{` |
`R_Type_t search_type;` |
`int queryindex;` |
`char* query_str;` |
`char* rx_keys;` |
`unsigned int rx_srch_mode;` |
`int rx_par_a;` |
`ip_space_t space;` |
`rx_fam_t family;` |
`}` |

## Typedef Query_instructions

`typedef struct Query_instructions_t Query_instructions`

`struct Query_instructions_t` |
`{` |
`Query_instruction* instruction[100];` |
`unsigned int filtered;` |
`unsigned int fast;` |
`unsigned int recursive;` |
`const Query_command* qc;` |
`}` |

## Global Variable Lock

`pthread_mutex_t Lock`

Included from | include/ca_defs.h
Visible in: |  | modules/ac/access_control.c
|  | modules/ca/ca_configFns.c
|  | modules/ca/ca_defs.h
|  | modules/ca/ca_initFn.c
|  | modules/ca/ca_sanityCheck.c
|  | modules/ca/ca_sourceLoader.c
|  | modules/ca/ca_values.c
|  | modules/er/er_macro.c
|  | modules/pm/pm_serials.c
|  | modules/pm/protocol_mirror.c
|  | modules/pw/protocol_whois.c
|  | modules/qc/query_command.c
|  | modules/qi/query_instructions.c
|  | modules/qi/query_instructions.h
|  | modules/rp/rp_convert.c
|  | modules/rp/rp_load.c
|  | modules/rp/rp_search.c
|  | modules/rp/rp_tree.c
|  | modules/rp/rp_update.c
|  | modules/sv/server.c
|  | modules/ud/ud_comrol.c
|  | modules/ud/ud_core.c
|  | modules/ud/ud_main.c
|  | modules/ud/ud_misc.c
|  | modules/ud/ud_process_stream.c
|  | modules/ud/ud_recover.c
|  | modules/ud/ud_rx.c
|  | modules/ud/ud_serial.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
| ca_srchandle2Intelement() | modules/ca/ca_configFns.c
| ca_srchandle2Strelement() | modules/ca/ca_configFns.c

## Global Variable newPort

`char newPort[16]`

Included from | include/ca_defs.h
Visible in: |  | modules/ac/access_control.c
|  | modules/ca/ca_configFns.c
|  | modules/ca/ca_defs.h
|  | modules/ca/ca_initFn.c
|  | modules/ca/ca_sanityCheck.c
|  | modules/ca/ca_sourceLoader.c
|  | modules/ca/ca_values.c
|  | modules/er/er_macro.c
|  | modules/pm/pm_serials.c
|  | modules/pm/protocol_mirror.c
|  | modules/pw/protocol_whois.c
|  | modules/qc/query_command.c
|  | modules/qi/query_instructions.c
|  | modules/qi/query_instructions.h
|  | modules/rp/rp_convert.c
|  | modules/rp/rp_load.c
|  | modules/rp/rp_search.c
|  | modules/rp/rp_tree.c
|  | modules/rp/rp_update.c
|  | modules/sv/server.c
|  | modules/ud/ud_comrol.c
|  | modules/ud/ud_core.c
|  | modules/ud/ud_main.c
|  | modules/ud/ud_misc.c
|  | modules/ud/ud_process_stream.c
|  | modules/ud/ud_recover.c
|  | modules/ud/ud_rx.c
|  | modules/ud/ud_serial.c