Cross reference for modules/ud/ud_int.h of index.

# File modules/ud/ud_int.h

      $Revision: 1.14 $

      Semi-internal header file for UD module

      Status: NOT REVUED, NOT TESTED

     Author(s):       Andrei Robachevsky

Included in: | 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_rx.c
| modules/ud/ud_serial.c

## Included Files

- `#include <stdio.h>`

- `#include <strings.h>`

- `#include <glib.h>`

- `#include <stdlib.h>`

- `#include <ctype.h>`

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

- `#include "include/rp.h"`
  - `#include <stddef.h>`
  - `#include <glib.h>`
  - `#include <defs.h>`
  - `#include <iproutines.h>`
  - `#include <erroutines.h>`
  - `#include <rxroutines.h>`
  - `#include <mysql_driver.h>`
  - `#include "include/ca_defs.h"`
    - `#include <pthread.h>`
    - `#include <glib.h>`

- `#include "include/nh.h"`
  - `#include <mysql_driver.h>`

- `#include "include/ca_configFns.h"`
  - `#include "include/ca_defs.h"`

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

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

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

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

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

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

## Preprocessor definitions

`#define _UD_INT_H`

String sizes

`#define STR_S 63`

`#define STR_M 255`

`#define STR_L 1023`

`#define STR_XL 4095`

`#define STR_XXL 16383`

`#define STR_XXXL 65535`

`#define MAX_NIC_HDL 30`

`#define DUMMY_TYPE 100`

`#define MAX_DUMMIES 256`

`#define S_RIPE "RIPE"`

`#define S_INTERNIC "InterNIC"`

`#define S_SIMPLE "SIMPLE"`

`#define S_CLIENTADDERSS "CLIENTADDRESS"`

`#define RF_DEF_PORT 43`

## Typedef Attribute_t

`typedef struct _Attribute_t Attribute_t`

`struct _Attribute_t` |
`{` |
`A_Type_t type;` |
`char* value;` |
`}` |

## Typedef Object_t

`typedef struct _Object_t Object_t`

`struct _Object_t` |
`{` |
`C_Type_t type;` |
`long id;` |
`GSList* attributes;` |
`GString* object;` |
`}` |

## Typedef Obj_parse_t

`typedef struct _obj_parse_t Obj_parse_t`

`struct _obj_parse_t` |
`{` |
`Object_t* obj;` |
`char* object_name;` |
`GSList* class_attr_list;` |
`nic_handle_t* nh_ptr;` |
`int a_type;` |
`int start_object;` |
`}` |

## Typedef Transaction_t

`typedef struct _Transaction Transaction_t`

`struct _Transaction` |
`{` |
`Object_t* object;` |
`C_Type_t class_type;` |
`int action;` |
`MYSQL* sql_connection;` |
`int thread_ins;` |
`int thread_upd;` |
`long object_id;` |
`long sequence_id;` |
`int dummy;` |
`int ndummy;` |
`long dummy_id[256];` |
`int load_pass;` |
`int standalone;` |
`int succeeded;` |
`int error;` |
`GString* error_script;` |
`char* save;` |
`rp_upd_pack_t* packptr;` |
`nic_handle_t* nh;` |
`ca_dbSource_t* source_hdl;` |
`}` |

## Typedef refer_t

`typedef enum {...} refer_t`

`enum` |
`{` |
`RF_RIPE;` |
`RF_INTERNIC;` |
`RF_SIMPLE;` |
`RF_CLIENTADDRESS;` |
`}` |

## Type struct _nrtm

`struct _nrtm`

`struct _nrtm` |
`{` |
`const char* server;` |
`int port;` |
`int version;` |
`long current_serial;` |
`Transaction_t* tr;` |
`char object_name[16383];` |
`int op;` |
`}` |

## Typedef Log_t

`typedef struct _Log_t Log_t`

`struct _Log_t` |
`{` |
`int num_ok;` |
`int num_failed;` |
`FILE* logfile;` |
`}` |

## Typedef UD_stream_t

`typedef struct UD_stream_t_ UD_stream_t`

`struct UD_stream_t_` |
`{` |
`FILE* stream;` |
`int num_skip;` |
`int load_pass;` |
`int ud_mode;` |
`struct _nrtm* nrtm;` |
`MYSQL* db_connection;` |
`ca_dbSource_t* source_hdl;` |
`Log_t log;` |
`char* error_script;` |
`}` |

## 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_values.c
|  | modules/pm/pm_serials.c
|  | modules/pm/protocol_mirror.c
|  | modules/qc/query_command.c
|  | modules/qi/query_instructions.c
|  | modules/qi/query_instructions.h
|  | modules/rp/rp.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_int.h
|  | modules/ud/ud_main.c
|  | modules/ud/ud_misc.c
|  | modules/ud/ud_process_stream.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

## 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_values.c
|  | modules/pm/pm_serials.c
|  | modules/pm/protocol_mirror.c
|  | modules/qc/query_command.c
|  | modules/qi/query_instructions.c
|  | modules/qi/query_instructions.h
|  | modules/rp/rp.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_int.h
|  | modules/ud/ud_main.c
|  | modules/ud/ud_misc.c
|  | modules/ud/ud_process_stream.c
|  | modules/ud/ud_rx.c
|  | modules/ud/ud_serial.c