Cross reference for modules/df/defs.c of index.

# File modules/df/defs.c

      $Revision: 1.14 $

      Definitions module (df)

      Status: NOT REVUED, NOT TESTED

## Included Files

- `#include <stdio.h>`

- `#include <stdlib.h>`

- `#include <stdarg.h>`

- `#include <strings.h>`

- `#include <glib.h>`

- `#include "modules/df/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 <glib.h>`
    - `#include <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/socket.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/QI_queries.def"`

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

- `#include "include/DF_class_names.def"`

- `#include "include/DF_class_codes.def"`

- `#include "include/DF_class_aliases.def"`

- `#include "include/DF_class_aliases_map.def"`

- `#include "include/DF_class_dbase_code_map.def"`

- `#include "include/DF_class_templates.def"`

- `#include "include/DF_class_templates_v.def"`

- `#include "include/DF_attribute_names.def"`

- `#include "include/DF_attribute_codes.def"`

- `#include "include/DF_attribute_aliases.def"`

- `#include "include/DF_attribute_aliases_map.def"`

- `#include "include/UD_queries.def"`

## Preprocessor definitions

String sizes

`#define STR_S 63`

`#define STR_M 255`

`#define STR_L 1023`

`#define STR_XL 4095`

`#define STR_XXL 16383`

`#define DEFS_IMPL`

## Global Variable Query

`Query_t Query[]`

Included from | include/QI_queries.def
Visible in: |  | modules/df/defs.c
Used in: | DF_attrcode_has_radix_lookup() | modules/df/defs.c

## Global Variable Class_names

`char* const Class_names[]`

Included from | include/DF_class_names.def
Visible in: |  | modules/df/defs.c
Used in: | DF_get_class_name() | modules/df/defs.c
| DF_get_class_names() | modules/df/defs.c

## Global Variable Class_codes

`char* const Class_codes[]`

Included from | include/DF_class_codes.def
Visible in: |  | modules/df/defs.c
Used in: | DF_get_class_code() | modules/df/defs.c

## Global Variable Class_aliases

`char* const Class_aliases[]`

Included from | include/DF_class_aliases.def
Visible in: |  | modules/df/defs.c
Used in: | DF_class_code2type() | modules/df/defs.c
| DF_class_name2type() | modules/df/defs.c
| DF_get_class_aliases() | modules/df/defs.c

## Global Variable Class_aliases_map

`const int const Class_aliases_map[]`

Included from | include/DF_class_aliases_map.def
Visible in: |  | modules/df/defs.c
Used in: | DF_class_code2type() | modules/df/defs.c
| DF_class_name2type() | modules/df/defs.c
| DF_get_class_index() | modules/df/defs.c
| DF_get_class_name() | modules/df/defs.c

## Global Variable Class_dbase_code_map

`const int const Class_dbase_code_map[]`

Included from | include/DF_class_dbase_code_map.def
Visible in: |  | modules/df/defs.c
Used in: | DF_get_class_dbase_code() | modules/df/defs.c

## Global Variable Templates

`const char* Templates[]`

Included from | include/DF_class_templates.def
Visible in: |  | modules/df/defs.c
Used in: | DF_get_class_template() | modules/df/defs.c

## Global Variable Templates_v

`const char* Templates_v[]`

Included from | include/DF_class_templates_v.def
Visible in: |  | modules/df/defs.c
Used in: | DF_get_class_template_v() | modules/df/defs.c

## Global Variable Attribute_names

`char* const Attribute_names[]`

Included from | include/DF_attribute_names.def
Visible in: |  | modules/df/defs.c
Used in: | DF_attributes_to_string() | modules/df/defs.c
| DF_get_attribute_name() | modules/df/defs.c
| DF_get_attribute_names() | modules/df/defs.c

## Global Variable Attribute_codes

`char* const Attribute_codes[]`

Included from | include/DF_attribute_codes.def
Visible in: |  | modules/df/defs.c
Used in: | DF_get_attribute_code() | modules/df/defs.c

## Global Variable Attribute_aliases

`char* const Attribute_aliases[]`

Included from | include/DF_attribute_aliases.def
Visible in: |  | modules/df/defs.c
Used in: | DF_attribute_code2type() | modules/df/defs.c
| DF_attribute_name2type() | modules/df/defs.c
| DF_get_attribute_aliases() | modules/df/defs.c

## Global Variable Attribute_aliases_map

`const int const Attribute_aliases_map[]`

Included from | include/DF_attribute_aliases_map.def
Visible in: |  | modules/df/defs.c
Used in: | DF_attribute_code2type() | modules/df/defs.c
| DF_attribute_name2type() | modules/df/defs.c
| DF_get_attribute_index() | modules/df/defs.c

## Global Variable Insert

`UD_query Insert[]`

Included from | include/UD_queries.def
Visible in: |  | modules/df/defs.c
Used in: | DF_get_insert_query() | modules/df/defs.c
| DF_get_insert_query_type() | modules/df/defs.c

## Global Variable Update

`UD_query Update[]`

Included from | include/UD_queries.def
Visible in: |  | modules/df/defs.c
Used in: | DF_get_update_query() | modules/df/defs.c
| DF_get_update_query_type() | modules/df/defs.c

## Global Variable Dummy

`UD_query Dummy[]`

Included from | include/UD_queries.def
Visible in: |  | modules/df/defs.c
Used in: | DF_get_dummy_query() | modules/df/defs.c
| DF_get_dummy_query_type() | modules/df/defs.c

## Global Variable Select

`UD_query Select[]`

Included from | include/UD_queries.def
Visible in: |  | modules/df/defs.c
Used in: | DF_get_select_query() | modules/df/defs.c
| DF_get_select_query_type() | modules/df/defs.c

## Global Variable Server_query

`char* const Server_query[]`

Visible in: |  | modules/df/defs.c
Used in: | DF_get_server_query() | modules/df/defs.c

## Global Variable Server_queries

`char* const Server_queries[]`

Visible in: |  | modules/df/defs.c
Used in: | DF_get_server_queries() | modules/df/defs.c

## Global Variable Filter_names

`char* const Filter_names[]`

Visible in: |  | modules/df/defs.c
Used in: | DF_get_filter_names() | modules/df/defs.c

## Global Variable Type2main

`char* const Type2main[]`

Visible in: |  | modules/df/defs.c
Used in: | DF_get_class_sql_table() | modules/df/defs.c

## Global Function DF_attrcode_has_radix_lookup()

`int DF_attrcode_has_radix_lookup ( A_Type_t attr )`

Prototyped in: | modules/df/defs.h
References Variables: | Query | modules/df/defs.c

## Global Function DF_attribute_code2type()

`A_Type_t DF_attribute_code2type ( const gchar* token )`

Prototyped in: | modules/df/defs.h
Calls: | strcmp()
References Variables: | Attribute_aliases | modules/df/defs.c
| Attribute_aliases_map | modules/df/defs.c

## Global Function DF_attribute_name2type()

`A_Type_t DF_attribute_name2type ( const gchar* token )`

Prototyped in: | modules/df/defs.h
Calls: | strcmp()
References Variables: | Attribute_aliases | modules/df/defs.c
| Attribute_aliases_map | modules/df/defs.c

## Global Function DF_attributes_to_string()

      Returns a string of all the attributes.  Only there for debugging and tracing purposes.

      int offset The offset (Ie short or long name).

      More:

      Authors:
            ottrey

    Online References:

`char* DF_attributes_to_string ( void )`

Prototyped in: | modules/df/defs.h
Calls: | fprintf(), strcat(), strcpy(), strlen(), wr_real_malloc()
References Variables: | Attribute_names | modules/df/defs.c

## Global Function DF_class_code2type()

`C_Type_t DF_class_code2type ( const gchar* token )`

Prototyped in: | modules/df/defs.h
Calls: | strcmp()
References Variables: | Class_aliases | modules/df/defs.c
| Class_aliases_map | modules/df/defs.c

## Global Function DF_class_name2type()

`C_Type_t DF_class_name2type ( const gchar* token )`

Prototyped in: | modules/df/defs.h
Calls: | strcmp()
References Variables: | Class_aliases | modules/df/defs.c
| Class_aliases_map | modules/df/defs.c

## Global Function DF_get_attribute_aliases()

`char* const* DF_get_attribute_aliases ( void )`

Prototyped in: | modules/df/defs.h
References Variables: | Attribute_aliases | modules/df/defs.c

## Global Function DF_get_attribute_code()

`const char* DF_get_attribute_code ( A_Type_t index )`

Prototyped in: | modules/df/defs.h
References Variables: | Attribute_codes | modules/df/defs.c

## Global Function DF_get_attribute_desc()

`const char* DF_get_attribute_desc ( A_Type_t index )`

Prototyped in: | modules/df/defs.h

## Global Function DF_get_attribute_frmt()

`const char* DF_get_attribute_frmt ( A_Type_t index )`

Prototyped in: | modules/df/defs.h

## Global Function DF_get_attribute_index()

`int DF_get_attribute_index ( int alias_index )`

Prototyped in: | modules/df/defs.h
References Variables: | Attribute_aliases_map | modules/df/defs.c

## Global Function DF_get_attribute_name()

`const char* DF_get_attribute_name ( A_Type_t index )`

Prototyped in: | modules/df/defs.h
References Variables: | Attribute_names | modules/df/defs.c

## Global Function DF_get_attribute_names()

`char* const* DF_get_attribute_names ( void )`

Prototyped in: | modules/df/defs.h
References Variables: | Attribute_names | modules/df/defs.c

## Global Function DF_get_class_aliases()

`char* const* DF_get_class_aliases ( void )`

Prototyped in: | modules/df/defs.h
References Variables: | Class_aliases | modules/df/defs.c

## Global Function DF_get_class_code()

`char* const DF_get_class_code ( C_Type_t index )`

Prototyped in: | modules/df/defs.h
References Variables: | Class_codes | modules/df/defs.c

## Global Function DF_get_class_dbase_code()

`int DF_get_class_dbase_code ( int class_index )`

Prototyped in: | modules/df/defs.h
References Variables: | Class_dbase_code_map | modules/df/defs.c

## Global Function DF_get_class_index()

`int DF_get_class_index ( int alias_index )`

Prototyped in: | modules/df/defs.h
References Variables: | Class_aliases_map | modules/df/defs.c

## Global Function DF_get_class_name()

`char* const DF_get_class_name ( int alias_index )`

Prototyped in: | modules/df/defs.h
References Variables: | Class_aliases_map | modules/df/defs.c
| Class_names | modules/df/defs.c

## Global Function DF_get_class_names()

`char* const* DF_get_class_names ( void )`

Prototyped in: | modules/df/defs.h
References Variables: | Class_names | modules/df/defs.c

## Global Function DF_get_class_sql_table()

`char* const DF_get_class_sql_table ( C_Type_t index )`

Prototyped in: | modules/df/defs.h
References Variables: | Type2main | modules/df/defs.c

## Global Function DF_get_class_template()

`const char* DF_get_class_template ( C_Type_t index )`

Prototyped in: | modules/df/defs.h
References Variables: | Templates | modules/df/defs.c

## Global Function DF_get_class_template_v()

`const char* DF_get_class_template_v ( C_Type_t index )`

Prototyped in: | modules/df/defs.h
References Variables: | Templates_v | modules/df/defs.c

## Global Function DF_get_dummy_query()

`const char* DF_get_dummy_query ( A_Type_t index )`

Prototyped in: | modules/df/defs.h
References Variables: | Dummy | modules/df/defs.c

## Global Function DF_get_dummy_query_type()

`UD_qtype DF_get_dummy_query_type ( A_Type_t index )`

Prototyped in: | modules/df/defs.h
References Variables: | Dummy | modules/df/defs.c

## Global Function DF_get_filter_names()

`char* const* DF_get_filter_names ( void )`

Prototyped in: | modules/df/defs.h
References Variables: | Filter_names | modules/df/defs.c

## Global Function DF_get_insert_query()

`const char* DF_get_insert_query ( A_Type_t index )`

Prototyped in: | modules/df/defs.h
References Variables: | Insert | modules/df/defs.c

## Global Function DF_get_insert_query_type()

`UD_qtype DF_get_insert_query_type ( A_Type_t index )`

Prototyped in: | modules/df/defs.h
References Variables: | Insert | modules/df/defs.c

## Global Function DF_get_select_query()

`const char* DF_get_select_query ( A_Type_t index )`

Prototyped in: | modules/df/defs.h
References Variables: | Select | modules/df/defs.c

## Global Function DF_get_select_query_type()

`UD_qtype DF_get_select_query_type ( A_Type_t index )`

Prototyped in: | modules/df/defs.h
References Variables: | Select | modules/df/defs.c

## Global Function DF_get_server_queries()

`char* const* DF_get_server_queries ( void )`

Prototyped in: | modules/df/defs.h
References Variables: | Server_queries | modules/df/defs.c

## Global Function DF_get_server_query()

`const char* DF_get_server_query ( int index )`

Prototyped in: | modules/df/defs.h
References Variables: | Server_query | modules/df/defs.c

## Global Function DF_get_update_query()

`const char* DF_get_update_query ( A_Type_t index )`

Prototyped in: | modules/df/defs.h
References Variables: | Update | modules/df/defs.c

## Global Function DF_get_update_query_type()

`UD_qtype DF_get_update_query_type ( A_Type_t index )`

Prototyped in: | modules/df/defs.h
References Variables: | Update | modules/df/defs.c