17 #if !defined(GLOBUS_GRIDFTP_SERVER_EMBED_H)
18 #define GLOBUS_GRIDFTP_SERVER_EMBED_H 1
22 typedef struct globus_l_gfs_embed_handle_s * globus_gfs_embed_handle_t;
31 GLOBUS_GFS_EMBED_EVENT_CONNECTION_CLOSED = 1,
32 GLOBUS_GFS_EMBED_EVENT_CONNECTION_OPENED,
33 GLOBUS_GFS_EMBED_EVENT_STOPPED
34 } globus_gfs_embed_event_t;
37 (*globus_gfs_embed_event_cb_t)(
38 globus_gfs_embed_handle_t handle,
40 globus_gfs_embed_event_t event,
50 globus_gridftp_server_embed_init(
51 globus_gfs_embed_handle_t * handle,
60 globus_gridftp_server_embed_destroy(
61 globus_gfs_embed_handle_t handle);
69 globus_gridftp_server_embed_config_set_int(
70 globus_gfs_embed_handle_t handle,
75 globus_gridftp_server_embed_config_set_ptr(
76 globus_gfs_embed_handle_t handle,
85 #define globus_gridftp_server_embed_config_get_list \
86 (globus_list_t *) globus_gridftp_server_embed_config_get_ptr
87 #define globus_gridftp_server_embed_config_get_string \
88 (char *) globus_gridftp_server_embed_config_get_ptr
89 #define globus_gridftp_server_embed_config_get_bool \
90 (globus_bool_t) globus_gridftp_server_embed_config_get_int
93 globus_gridftp_server_embed_config_get_ptr(
94 globus_gfs_embed_handle_t handle,
95 const char * option_name);
98 globus_gridftp_server_embed_config_get_int(
99 globus_gfs_embed_handle_t handle,
100 const char * option_name);
108 globus_gridftp_server_embed_start(
109 globus_gfs_embed_handle_t handle,
110 globus_gfs_embed_event_cb_t event_cb,
120 globus_gridftp_server_embed_stop(
121 globus_gfs_embed_handle_t handle);
int globus_bool_t
Boolean type.
Definition: globus_types.h:93
uint32_t globus_result_t
Definition: globus_types.h:99