Grid Community Toolkit  6.2.1541705016
globus_error_gssapi.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_INCLUDE_GSSAPI_ERROR_H
18 #define GLOBUS_INCLUDE_GSSAPI_ERROR_H
19 
20 #ifndef GLOBUS_GLOBAL_DOCUMENT_SET
21 
25 #endif
26 
41 #include "globus_common.h"
42 #include "gssapi.h"
43 
44 #ifdef __cplusplus
45 extern "C" {
46 #endif
47 
63 #define GLOBUS_ERROR_TYPE_GSSAPI (&GLOBUS_ERROR_TYPE_GSSAPI_DEFINITION)
64 
65 extern const globus_object_type_t GLOBUS_ERROR_TYPE_GSSAPI_DEFINITION;
66 
67 globus_object_t *
69  globus_module_descriptor_t * base_source,
70  globus_object_t * base_cause,
71  const OM_uint32 major_status,
72  const OM_uint32 minor_status);
73 
74 globus_object_t *
76  globus_object_t * error,
77  globus_module_descriptor_t * base_source,
78  globus_object_t * base_cause,
79  const OM_uint32 major_status,
80  const OM_uint32 minor_status);
81 
92 OM_uint32
94  globus_object_t * error);
95 
96 void
98  globus_object_t * error,
99  const OM_uint32 major_status);
100 
101 OM_uint32
103  globus_object_t * error);
104 
117  globus_object_t * error,
119  const OM_uint32 major_status);
120 
121 globus_object_t *
123  globus_module_descriptor_t * base_source,
124  OM_uint32 major_status,
125  OM_uint32 minor_status,
126  int type,
127  const char * source_file,
128  const char * source_func,
129  int source_line,
130  const char * short_desc_format,
131  ...);
132 
133 #ifdef __cplusplus
134 }
135 #endif
136 
137 #endif /* GLOBUS_INCLUDE_GSSAPI_ERROR_H */
OM_uint32 globus_error_gssapi_get_major_status(globus_object_t *error)
Get Major Status
Definition: globus_error_gssapi.c:165
globus_object_t * globus_error_construct_gssapi_error(globus_module_descriptor_t *base_source, globus_object_t *base_cause, const OM_uint32 major_status, const OM_uint32 minor_status)
Construct Error.
Definition: globus_error_gssapi.c:49
globus_bool_t globus_error_gssapi_match(globus_object_t *error, globus_module_descriptor_t *module, const OM_uint32 major_status)
Error Match
Definition: globus_error_gssapi.c:253
globus_object_t * globus_error_wrap_gssapi_error(globus_module_descriptor_t *base_source, OM_uint32 major_status, OM_uint32 minor_status, int type, const char *source_file, const char *source_func, int source_line, const char *short_desc_format,...)
Wrap GSSAPI Error
Definition: globus_error_gssapi.c:328
int globus_bool_t
Boolean type.
Definition: globus_types.h:93
void globus_error_gssapi_set_major_status(globus_object_t *error, const OM_uint32 major_status)
Set Major Status
Definition: globus_error_gssapi.c:186
Headers common to all of Globus.
globus_object_t * globus_error_initialize_gssapi_error(globus_object_t *error, globus_module_descriptor_t *base_source, globus_object_t *base_cause, const OM_uint32 major_status, const OM_uint32 minor_status)
Initialize Error.
Definition: globus_error_gssapi.c:97
OM_uint32 globus_error_gssapi_get_minor_status(globus_object_t *error)
Get Minor Status
Definition: globus_error_gssapi.c:206
Module Descriptor.
Definition: globus_module.h:69