Grid Community Toolkit  6.2.1629922860 (tag: v6.2.20210826)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
globus_i_gfs_config.h
1 /*
2  * Copyright 1999-2006 University of Chicago
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #ifndef GLOBUS_I_GFS_CONFIG_H
18 #define GLOBUS_I_GFS_CONFIG_H
19 
20 #define globus_i_gfs_config_list (globus_list_t *) globus_i_gfs_config_get
21 #define globus_i_gfs_config_string (char *) globus_i_gfs_config_get
22 #define globus_i_gfs_config_bool (globus_bool_t) globus_i_gfs_config_int
23 
24 int
25 globus_i_gfs_config_init(
26  int argc,
27  char ** argv,
28  globus_bool_t argv_only);
29 
30 int
31 globus_i_gfs_config_init_envs(
32  int argc,
33  char ** argv);
34 
35 void
36 globus_i_gfs_config_post_init();
37 
38 void *
39 globus_i_gfs_config_get(
40  const char * option_name);
41 
42 int
43 globus_i_gfs_config_int(
44  const char * option_name);
45 
47 globus_i_gfs_config_is_anonymous(
48  const char * userid);
49 
50 const char *
51 globus_i_gfs_config_get_module_name(
52  const char * client_supplied_name);
53 
55 globus_i_gfs_config_allow_addr(
56  const char * remote_addr,
57  globus_bool_t ipc);
58 
60 globus_i_gfs_config_hostname_to_address_string(
61  char * hostname,
62  char * out_buf,
63  int out_buf_len);
64 
65 void
66 globus_i_gfs_config_display_usage();
67 
68 #endif
int globus_bool_t
Boolean type.
Definition: globus_types.h:93
uint32_t globus_result_t
Definition: globus_types.h:99