Functions |
int | ido2db_open_debug_log (void) |
int | ido2db_close_debug_log (void) |
int | main (int argc, char **argv) |
int | ido2db_process_arguments (int argc, char **argv) |
int | ido2db_process_config_file (char *filename) |
int | ido2db_process_config_var (char *arg) |
int | ido2db_initialize_variables (void) |
int | ido2db_free_program_memory (void) |
int | ido2db_check_init_reqs (void) |
int | ido2db_drop_privileges (char *user, char *group) |
int | ido2db_daemonize (void) |
int | ido2db_cleanup_socket (void) |
void | ido2db_parent_sighandler (int sig) |
void | ido2db_child_sighandler (int sig) |
int | ido2db_wait_for_connections (void) |
int | ido2db_handle_client_connection (int sd) |
int | ido2db_idi_init (ido2db_idi *idi) |
int | ido2db_check_for_client_input (ido2db_idi *idi) |
int | ido2db_handle_client_input (ido2db_idi *idi, char *buf) |
int | ido2db_start_input_data (ido2db_idi *idi) |
int | ido2db_add_input_data_item (ido2db_idi *idi, int type, char *buf) |
int | ido2db_add_input_data_mbuf (ido2db_idi *idi, int type, int mbuf_slot, char *buf) |
int | ido2db_end_input_data (ido2db_idi *idi) |
int | ido2db_free_input_memory (ido2db_idi *idi) |
int | ido2db_free_connection_memory (ido2db_idi *idi) |
int | ido2db_convert_standard_data_elements (ido2db_idi *idi, int *type, int *flags, int *attr, struct timeval *tstamp) |
int | ido2db_convert_string_to_int (char *buf, int *i) |
int | ido2db_convert_string_to_float (char *buf, float *f) |
int | ido2db_convert_string_to_double (char *buf, double *d) |
int | ido2db_convert_string_to_long (char *buf, long *l) |
int | ido2db_convert_string_to_unsignedlong (char *buf, unsigned long *ul) |
int | ido2db_convert_string_to_timeval (char *buf, struct timeval *tv) |
int | ido2db_log_debug_info (int level, int verbosity, const char *fmt,...) |
void * | ido2db_thread_worker (void *data) |
void * | ido2db_thread_cleanup (void *data) |
int | ido2db_terminate_threads (void) |
int | terminate_worker_thread (void) |
int | terminate_cleanup_thread (void) |
Variables |
int | use_ssl |
int | errno |
char * | ido2db_db_tablenames [IDO2DB_MAX_DBTABLES] |
ido_dbuf | dbuf |
char * | ido2db_config_file = NULL |
char * | lock_file = NULL |
char * | ido2db_user = NULL |
char * | ido2db_group = NULL |
int | ido2db_sd = 0 |
int | ido2db_socket_type = IDO_SINK_UNIXSOCKET |
char * | ido2db_socket_name = NULL |
int | ido2db_tcp_port = IDO_DEFAULT_TCP_PORT |
int | ido2db_use_inetd = IDO_FALSE |
int | ido2db_show_version = IDO_FALSE |
int | ido2db_show_license = IDO_FALSE |
int | ido2db_show_help = IDO_FALSE |
int | ido2db_run_foreground = IDO_FALSE |
ido2db_dbconfig | ido2db_db_settings |
ido2db_idi | thread_idi |
pthread_t | thread_pool [IDO2DB_NR_OF_THREADS] |
time_t | ido2db_db_last_checkin_time = 0L |
char * | ido2db_debug_file = NULL |
int | ido2db_debug_level = IDO2DB_DEBUGL_NONE |
int | ido2db_debug_verbosity = IDO2DB_DEBUGV_BASIC |
FILE * | ido2db_debug_file_fp = NULL |
unsigned long | ido2db_max_debug_file_size = 0L |
int | stop_signal_detected = IDO_FALSE |
char * | sigs [35] = {"EXIT","HUP","INT","QUIT","ILL","TRAP","ABRT","BUS","FPE","KILL","USR1","SEGV","USR2","PIPE","ALRM","TERM","STKFLT","CHLD","CONT","STOP","TSTP","TTIN","TTOU","URG","XCPU","XFSZ","VTALRM","PROF","WINCH","IO","PWR","UNUSED","ZERR","DEBUG",(char *)NULL} |
int | dummy |