globus_common  17.9
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
globus_common.h
Go to the documentation of this file.
1 /* library/globus_common.h. Generated by configure. */
7 #if !defined(GLOBUS_INCLUDE_GLOBUS_COMMON_H)
8 #define GLOBUS_INCLUDE_GLOBUS_COMMON_H 1
9 
10 #ifndef EXTERN_C_BEGIN
11 # ifdef __cplusplus
12 # define EXTERN_C_BEGIN extern "C" {
13 # define EXTERN_C_END }
14 # else
15 # define EXTERN_C_BEGIN
16 # define EXTERN_C_END
17 # endif
18 #endif
19 
20 #ifndef GLOBUS_GLOBAL_DOCUMENT_SET
21 
25 #endif
26 
50 #include "globus_common_include.h"
51 #include "globus_module.h"
52 #include "globus_url.h"
53 #include "globus_list.h"
54 #include "globus_hashtable.h"
55 #include "globus_fifo.h"
56 #include "globus_symboltable.h"
57 #include "globus_object.h"
58 #include "globus_object_hierarchy.h"
59 #include "globus_error.h"
60 #include "globus_error_hierarchy.h"
61 #include "globus_thread.h"
62 #include "globus_time.h"
63 #include "globus_thread_pool.h"
64 #include "globus_handle_table.h"
65 #include "globus_callback.h"
66 #include "globus_logging.h"
67 #include "globus_memory.h"
68 #include "globus_print.h"
69 #include "globus_tilde_expand.h"
70 #include "globus_libc.h"
71 #include "globus_priority_q.h"
72 #include "globus_range_list.h"
73 #include "globus_debug.h"
74 #include "globus_args.h"
75 #include "globus_strptime.h"
76 #include "globus_thread_common.h"
77 #include "globus_thread_rw_mutex.h"
78 #include "globus_thread_rmutex.h"
79 #include "globus_error_errno.h"
80 #include "globus_error_generic.h"
81 #include "globus_extension.h"
82 #include "globus_uuid.h"
83 #include "globus_options.h"
84 #include "globus_states.h"
85 
86 #ifdef __cplusplus
87 extern "C" {
88 #endif
89 
90 /* most network-related functions (getpeername, getsockname,...) have
91  an int* as argument, except AIX which uses size_t*. This will
92  masquerade the difference. */
93 #if defined(__HOS_AIX__)
94 #define globus_netlen_t size_t
95 #else
96 #define globus_netlen_t int
97 #endif
98 
99 /*
100  * globus_barrier_t
101  *
102  * A generic barrier structure */
103 typedef struct globus_barrier_s
104 {
105  globus_mutex_t mutex;
106  globus_cond_t cond;
107  int count;
108 } globus_barrier_t;
109 
110 
111 /******************************************************************************
112  Define constants
113 ******************************************************************************/
114 
115 /******************************************************************************
116  Module activation structure
117 ******************************************************************************/
118 extern globus_module_descriptor_t globus_i_common_module;
119 
124 #define GLOBUS_COMMON_MODULE (&globus_i_common_module)
125 
126 
127 /******************************************************************************
128  i18n
129 ******************************************************************************/
130 
131 extern globus_extension_registry_t i18n_registry;
132 #define I18N_REGISTRY &i18n_registry
133 
134 char *
135 globus_common_i18n_get_string_by_key(
136  const char * locale,
137  const char * resource_name,
138  const char * key);
139 
140 char *
141 globus_common_i18n_get_string(
143  const char * key);
144 
145 /******************************************************************************
146  Install path discovery functions
147 ******************************************************************************/
148 
150 globus_location ( char ** bufp );
151 
153 globus_eval_path( const char * pathstring, char ** bufp);
154 
155 /* returns value of GLOBUS_LOCATION in the deploy dir config file */
157 globus_common_get_attribute_from_config_file( char * deploy_path,
158  char * file_location,
159  char * attribute,
160  char ** value );
161 
162 #ifdef __cplusplus
163 }
164 #endif
165 
166 #endif /* GLOBUS_INCLUDE_GLOBUS_COMMON_H */
Recursive Mutex.
Globus UUID Generator.
Byte Range List.
Globus Callback API.
Globus Threading Abstraction.
Linked List.
Globus Extension Modules.
Reference Counting Module Activation and Deactivation.
Debug Logging.
State Machine.
Memory Pool.
Globus Error Handling.
Mutex.
Definition: globus_thread.h:91
Lightweight Chaining Symboltable.
Thread Pooling.
globus_result_t globus_eval_path(const char *pathstring, char **bufp)
Definition: globus_common_paths.c:154
Command-Line Options Parser.
Condition variable.
Definition: globus_thread.h:108
Error Message Printing.
Priority Queue.
Globus Errno Error API.
Debugging Routines.
Home Directory ~ expansion.
uint32_t globus_result_t
Definition: globus_types.h:84
Hash Table.
Command-line Argument Parser.
Globus Error API.
Thread-safe libc macros, function prototypes.
Time Types and Macros.
URL Parsing.
Globus FIFO.
Handle Table for Reference Counting Data.
Include System Headers.
Common Thread Interface.
Module Descriptor.
Definition: globus_module.h:54