globus_common  17.11
globus_error_string.h
Go to the documentation of this file.
1 
7 #ifndef GLOBUS_ERROR_STRING_H
8 #define GLOBUS_ERROR_STRING_H
9 
10 #include "globus_common_include.h"
11 #include "globus_error.h"
12 
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
18 extern const globus_object_type_t GLOBUS_ERROR_TYPE_STRING_DEFINITION;
19 
20 #define GLOBUS_ERROR_TYPE_STRING (&GLOBUS_ERROR_TYPE_STRING_DEFINITION)
21 
22 /* allocate and initialize an error of type
23  * GLOBUS_ERROR_TYPE_STRING
24  */
25 extern globus_object_t *
27  globus_module_descriptor_t * base_source,
28  globus_object_t * base_cause,
29  const char * fmt,
30  ...);
31 
32 /* initialize and return an error of type
33  * GLOBUS_ERROR_TYPE_STRING
34  */
35 extern globus_object_t *
36 globus_error_initialize_string(
37  globus_object_t * error,
38  globus_module_descriptor_t * base_source,
39  globus_object_t * base_cause,
40  const char * fmt,
41  va_list ap);
42 
43 #ifdef __cplusplus
44 }
45 #endif
46 
47 #endif /* GLOBUS_ERROR_STRING_H */
Include System Headers.
Globus Error Handling.
globus_object_t * globus_error_construct_string(globus_module_descriptor_t *base_source, globus_object_t *base_cause, const char *fmt,...)
Definition: globus_error_string.c:16
Module Descriptor.
Definition: globus_module.h:55