Cross reference for qi/query_instructions.h of index.

# File qi/query_instructions.h

      $Revision: 1.32 $

      Query instruction module (qi)
      config module.

      Status: NOT REVUED, NOT TESTED

## Included Files

- `#include "/home/shane/code/RIP/include/rxroutines.h"`
  - `#include </ncc/dbwork/platforms/yucca-debug/glib-indep/include/glib-1.2/glib.h>`
  - `#include <pthread.h>`
  - `#include </home/shane/code/RIP/include/stubs.h>`
  - `#include </home/shane/code/RIP/include/memwrap.h>`
  - `#include <stdio.h>`
  - `#include </home/shane/code/RIP/include/iproutines.h>`
  - `#include <erroutines.h>`
  - `#include "/home/shane/code/RIP/include/sk.h"`
    - `#include "/home/shane/code/RIP/include/stubs.h"`
    - `#include <sys/time.h>`
    - `#include <unistd.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 "/home/shane/code/RIP/include/iproutines.h"`
  - `#include "/home/shane/code/RIP/include/thread.h"`

- `#include "/home/shane/code/RIP/include/iproutines.h"`

- `#include "/home/shane/code/RIP/include/mysql_driver.h"`
  - `#include "/usr/local/mysql/include/mysql/mysql.h"`
    - `#include <sys/types.h>`
    - `#include "/usr/local/mysql/include/mysql/mysql_com.h"`
    - `#include "/usr/local/mysql/include/mysql/mysql_version.h"`
  - `#include "/usr/local/mysql/include/mysql/mysqld_error.h"`
  - `#include "/home/shane/code/RIP/include/erroutines.h"`

- `#include "/home/shane/code/RIP/include/query_command.h"`
  - `#include <glib.h>`
  - `#include "/home/shane/code/RIP/include/bitmask.h"`
  - `#include "/home/shane/code/RIP/include/sk.h"`

- `#include "/home/shane/code/RIP/include/defs.h"`
  - `#include <glib.h>`
  - `#include "/home/shane/code/RIP/include/bitmask.h"`
  - `#include "/home/shane/code/RIP/include/DF_class_enum.def"`
  - `#include "/home/shane/code/RIP/include/DF_class_mask.def"`
  - `#include "/home/shane/code/RIP/include/DF_attribute_enum.def"`
  - `#include "/home/shane/code/RIP/include/DF_attribute_inv_attr_mask.def"`
  - `#include "/home/shane/code/RIP/include/which_keytypes.h"`
    - `#include "/home/shane/code/RIP/include/bitmask.h"`
  - `#include "/home/shane/code/RIP/include/iproutines.h"`
  - `#include "/home/shane/code/RIP/include/rxroutines.h"`

- `#include "/home/shane/code/RIP/include/which_keytypes.h"`

- `#include "/home/shane/code/RIP/include/access_control.h"`
  - `#include "/home/shane/code/RIP/include/erroutines.h"`
  - `#include "/home/shane/code/RIP/include/iproutines.h"`
  - `#include "/home/shane/code/RIP/include/rxroutines.h"`
  - `#include "/home/shane/code/RIP/include/mysql_driver.h"`

- `#include "/home/shane/code/RIP/include/ca_configFns.h"`
  - `#include "/home/shane/code/RIP/include/ca_defs.h"`
    - `#include <pthread.h>`
    - `#include <glib.h>`
  - `#include <memwrap.h>`
  - `#include <erroutines.h>`

- `#include "/home/shane/code/RIP/include/ca_dictionary.h"`

- `#include "/home/shane/code/RIP/include/ca_macros.h"`
  - `#include "/home/shane/code/RIP/include/ca_adminAttribs.h"`

- `#include "/home/shane/code/RIP/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 | /home/shane/code/RIP/include/ca_defs.h
Visible in: |  | aa/aa.c
|  | ac/access_control.c
|  | ca/ca_configFns.c
|  | ca/ca_configFns.h
|  | ca/ca_defs.h
|  | ca/ca_initFn.c
|  | ca/ca_sanityCheck.c
|  | ca/ca_sourceLoader.c
|  | ca/ca_values.c
|  | co/constants.c
|  | df/defs.c
|  | er/er.c
|  | er/er_arrays.c
|  | er/er_macro.c
|  | er/er_paths.c
|  | er/er_print.c
|  | ip/ip.c
|  | ma/bitmask.c
|  | mm/mm.c
|  | nh/nh.c
|  | pa/gpg.c
|  | pa/spawn.c
|  | pc/pc_commands.c
|  | pc/protocol_config.c
|  | pm/pm_serials.c
|  | pm/protocol_mirror.c
|  | pr/properties.c
|  | pw/protocol_whois.c
|  | qc/mg_getopt.c
|  | qc/query_command.c
|  | qi/query_instructions.c
|  | qi/query_instructions.h
|  | rp/rp_convert.c
|  | rp/rp_load.c
|  | rp/rp_search.c
|  | rp/rp_tree.c
|  | rp/rp_update.c
|  | rx/rx_node.c
|  | rx/rx_print.c
|  | rx/rx_search.c
|  | rx/rx_tree.c
|  | sk/cd_socket.c
|  | sk/cd_watchdog.c
|  | sk/sk_socket.c
|  | sq/mysql_driver.c
|  | sv/server.c
|  | ta/ta.c
|  | th/thread.c
|  | ud/ud_comrol.c
|  | ud/ud_core.c
|  | ud/ud_main.c
|  | ud/ud_misc.c
|  | ud/ud_process_stream.c
|  | ud/ud_recover.c
|  | ud/ud_rx.c
|  | ud/ud_serial.c
|  | up/UP_extrnl_syntax.c
|  | up/UP_util.c
|  | ut/fdwrap.c
|  | ut/memwrap.c
|  | ut/numconv.c
|  | ut/timediff.c
|  | ut/ut_string.c
|  | wh/wh_queries.c
|  | wk/which_keytypes.c
Used in: | ca_get_adminIntElement() | ca/ca_configFns.c
| ca_get_adminStrElement() | ca/ca_configFns.c
| ca_get_boolean() | ca/ca_configFns.c
| ca_get_dirlist() | ca/ca_configFns.c
| ca_get_int() | ca/ca_configFns.c
| ca_get_string() | ca/ca_configFns.c
| ca_set_boolean() | ca/ca_configFns.c
| ca_srchandle2Intelement() | ca/ca_configFns.c
| ca_srchandle2Strelement() | ca/ca_configFns.c

## Local Function asctime_r()

`static char* asctime_r ( const struct tm* __tm, char* __buf )`

Included from: | /usr/include/time.h
Calls: | __posix_asctime_r()

## Local Function ctime_r()

`static char* ctime_r ( const time_t* __time, char* __buf )`

Included from: | /usr/include/time.h
Calls: | __posix_ctime_r()

## Local Function getlogin_r()

`static int getlogin_r ( char* __name, int __len )`

Included from: | /usr/include/unistd.h
Calls: | __posix_getlogin_r()

## Local Function sigwait()

`static int sigwait ( const sigset_t* __setp, int* __signo )`

Included from: | /usr/include/signal.h
Calls: | __posix_sigwait()

## Local Function ttyname_r()

`static int ttyname_r ( int __fildes, char* __buf, size_t __size )`

Included from: | /usr/include/unistd.h
Calls: | __posix_ttyname_r()