22 #ifndef GLOBUS_OPTIONS_H 23 #define GLOBUS_OPTIONS_H 1 34 GLOBUS_OPTIONS_HELP = 1,
35 GLOBUS_OPTIONS_NOT_ENOUGH_ARGS,
36 GLOBUS_OPTIONS_INVALID_PARAMETER,
37 GLOBUS_OPTIONS_UNKNOWN
40 typedef struct globus_l_options_handle_s * globus_options_handle_t;
44 (*globus_options_callback_t)(
45 globus_options_handle_t opts_handle,
49 int * out_parms_used);
53 (*globus_options_unknown_callback_t)(
54 globus_options_handle_t opts_handle,
59 typedef struct globus_options_entry_s
67 globus_options_callback_t func;
68 } globus_options_entry_t;
70 #define GLOBUS_OPTIONS_END {NULL, NULL, NULL, NULL, NULL, 0, NULL} 74 globus_options_handle_t * out_handle,
75 globus_options_unknown_callback_t unknown_func,
79 globus_options_add_table(
80 globus_options_handle_t handle,
81 globus_options_entry_t * table,
85 globus_options_destroy(
86 globus_options_handle_t handle);
89 globus_options_command_line_process(
90 globus_options_handle_t handle,
95 globus_options_env_process(
96 globus_options_handle_t handle);
99 globus_options_file_process(
100 globus_options_handle_t handle,
104 globus_options_xinetd_file_process(
105 globus_options_handle_t handle,
107 char * service_name);
111 globus_options_handle_t handle);
uint32_t globus_result_t
Definition: globus_types.h:99