File up/dbupdate.h

  Copyright (c) 2002                                        RIPE NCC

All Rights Reserved
Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of the author not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission.
THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS; IN NO EVENT SHALL AUTHOR BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Included in: up/UP_extrnl_syntax.c
  up/UP_util.c

Included Files


Preprocessor definitions

#define UPDATE_UPPER_H

#define private private_xx

#define MAXDATASIZE 100

#define OVR_OK 0

#define ACK_FILE_PREFIX "ack"


Typedef return_codes

typedef enum {...} return_codes
enum 
   { 
     UP_AUTH_OK; 
     UP_MOR; 
     UP_NSO; 
     UP_AUF; 
     UP_NIY; 
     UP_ABN; 
     UP_HOF; 
     UP_OVF; 
     UP_OVS; 
     UP_NOM; 
     UP_ANE; 
     UP_FWD; 
     UP_SYN; 
     UP_NAM; 
     UP_INT; 
   } 

Typedef up_ripupd_result_struct

typedef struct _up_ripupd_result_struct up_ripupd_result_struct
struct _up_ripupd_result_struct 
   { 
     int result; 
     char* error_str; 
   } 

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.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_extrnl_syntax.h
   up/UP_util.c
   up/dbupdate.h
   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

External Variables

sources
extern char* sources[]

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 readdir_r()

static int readdir_r ( DIR* __dp, struct dirent* __ent, struct dirent** __res )
Included from: /usr/include/dirent.h
Calls: __posix_readdir_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()