17 #ifndef GLOBUS_I_GRIDFTP_SERVER_H
18 #define GLOBUS_I_GRIDFTP_SERVER_H
20 #include "globus_i_gridftp_server_config.h"
22 #include "globus_gridftp_server_control.h"
23 #include "globus_i_gfs_acl.h"
24 #include "globus_xio.h"
25 #include "globus_xio_system.h"
31 #define _GSSL(s) globus_common_i18n_get_string_by_key(\
33 "globus_gridftp_server", \
36 #define _FSSL(s,p) globus_common_i18n_get_string_by_key(\
38 "globus_gridftp_server", \
42 (*globus_i_gfs_server_close_cb_t)(
44 globus_object_t * error);
46 typedef struct globus_i_gfs_monitor_s
51 } globus_i_gfs_monitor_t;
53 typedef struct gfs_i_stack_entry_s
55 globus_xio_driver_t driver;
58 } gfs_i_stack_entry_t;
69 } globus_i_gfs_cmd_ent_t;
71 typedef struct globus_i_gfs_op_info_s
74 globus_hashtable_t custom_command_table;
78 globus_i_gfs_cmd_ent_t * cmd_ent;
81 } globus_i_gfs_op_info_t;
84 globus_i_gfs_monitor_init(
85 globus_i_gfs_monitor_t * monitor);
88 globus_i_gfs_monitor_destroy(
89 globus_i_gfs_monitor_t * monitor);
92 globus_i_gfs_monitor_wait(
93 globus_i_gfs_monitor_t * monitor);
96 globus_i_gfs_monitor_signal(
97 globus_i_gfs_monitor_t * monitor);
100 globus_i_gfs_ipc_stop();
103 globus_i_gfs_control_stop();
106 globus_i_gfs_control_init();
109 globus_i_gfs_brain_init(
111 void * ready_cb_arg);
114 globus_i_gfs_control_end_421(
118 globus_l_gfs_data_brain_ready(
122 globus_i_gfs_get_full_path(
123 const char * home_dir,
124 const char * server_cwd,
126 const char * in_path,
130 #define GlobusGFSErrorGenericStr(_res, _fmt) \
134 _tmp_str = globus_common_create_string _fmt; \
135 _res = globus_error_put( \
136 globus_error_construct_error( \
139 GLOBUS_GFS_ERROR_GENERIC, \
145 globus_free(_tmp_str); \
149 extern globus_gfs_acl_module_t globus_gfs_acl_cas_module;
150 extern globus_gfs_acl_module_t globus_gfs_acl_test_module;
152 typedef enum globus_l_gfs_auth_level_e
154 GLOBUS_L_GFS_AUTH_NONE = 0x00,
155 GLOBUS_L_GFS_AUTH_IDENTIFY = 0x01,
156 GLOBUS_L_GFS_AUTH_ACTION = 0x02,
157 GLOBUS_L_GFS_AUTH_NOSETUID = 0x04,
158 GLOBUS_L_GFS_AUTH_NOGRIDMAP = 0x08,
159 GLOBUS_L_GFS_AUTH_DATA_NODE_PATH = 0x10,
160 GLOBUS_L_GFS_AUTH_ALL = 0xFF
161 } globus_l_gfs_auth_level_t;
163 #include "globus_i_gfs_log.h"
164 #include "globus_i_gfs_control.h"
165 #include "globus_i_gfs_ipc.h"
166 #include "globus_i_gfs_data.h"
167 #include "globus_i_gfs_config.h"
GridFTP Control Connection API.
int globus_bool_t
Boolean type.
Definition: globus_types.h:93
Header file for XIO TCP Driver.
Mutex.
Definition: globus_thread.h:107
Condition variable.
Definition: globus_thread.h:124
void(* globus_callback_func_t)(void *user_arg)
Globus callback prototype.
Definition: globus_callback.h:314
uint32_t globus_result_t
Definition: globus_types.h:99