File include/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/pm/pm_serials.c

Included Files


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:  include/ca_defs.h
   include/query_instructions.h
   include/rp.h
   include/ud_int.h
   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:  include/ca_defs.h
   include/query_instructions.h
   include/rp.h
   include/ud_int.h
   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