22#ifndef GLOBUS_LOGGING_H
23#define GLOBUS_LOGGING_H 1
32#define GLOBUS_LOGGING_INLINE 0x08000000
34typedef struct globus_l_logging_handle_s * globus_logging_handle_t;
38 GLOBUS_LOGGING_ERROR_PARAMETER,
39 GLOBUS_LOGGING_ERROR_ALLOC
40} globus_logging_error_type_t;
43(*globus_logging_open_func_t)(
47(*globus_logging_write_func_t)(
53(*globus_logging_close_func_t)(
57(*globus_logging_header_func_t)(
61typedef struct globus_logging_module_s
63 globus_logging_open_func_t open_func;
64 globus_logging_write_func_t write_func;
65 globus_logging_close_func_t close_func;
66 globus_logging_header_func_t header_func;
67} globus_logging_module_t;
74 globus_logging_handle_t * out_handle,
75 globus_reltime_t * flush_period,
78 globus_logging_module_t * module,
83 globus_logging_handle_t handle,
90 globus_logging_handle_t handle,
97 globus_logging_handle_t handle);
100globus_logging_destroy(
101 globus_logging_handle_t handle);
103extern globus_logging_module_t globus_logging_stdio_module;
104extern globus_logging_module_t globus_logging_syslog_module;
105extern globus_logging_module_t globus_logging_stdio_ng_module;
106extern globus_logging_module_t globus_logging_syslog_ng_module;
void globus_logging_update_pid(void)
Definition globus_logging.c:134
unsigned char globus_byte_t
Unsigned byte datatypeThis is used for byte-addressable arrays of arbitrary data which is not subject...
Definition globus_types.h:85
uint32_t globus_result_t
Definition globus_types.h:99
size_t globus_size_t
Standard size of memory objectThe globus_size_t is the size of a memory object. It is identical to si...
Definition globus_types.h:48