Grid Community Toolkit  6.2.1705709074 (tag: v6.2.20240202)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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 
43 #include "globus_common.h"
44 #include "gssapi.h"
45 
46 #ifdef __cplusplus
47 extern "C" {
48 #endif
49 
66 #define GLOBUS_ERROR_TYPE_GSSAPI (&GLOBUS_ERROR_TYPE_GSSAPI_DEFINITION)
67 
68 extern const globus_object_type_t GLOBUS_ERROR_TYPE_GSSAPI_DEFINITION;
69 
70 globus_object_t *
72  globus_module_descriptor_t * base_source,
73  globus_object_t * base_cause,
74  const OM_uint32 major_status,
75  const OM_uint32 minor_status);
76 
77 globus_object_t *
79  globus_object_t * error,
80  globus_module_descriptor_t * base_source,
81  globus_object_t * base_cause,
82  const OM_uint32 major_status,
83  const OM_uint32 minor_status);
84 
96 OM_uint32
98  globus_object_t * error);
99 
100 void
102  globus_object_t * error,
103  const OM_uint32 major_status);
104 
105 OM_uint32
107  globus_object_t * error);
108 
122  globus_object_t * error,
124  const OM_uint32 major_status);
125 
126 globus_object_t *
128  globus_module_descriptor_t * base_source,
129  OM_uint32 major_status,
130  OM_uint32 minor_status,
131  int type,
132  const char * source_file,
133  const char * source_func,
134  int source_line,
135  const char * short_desc_format,
136  ...);
137 
138 #ifdef __cplusplus
139 }
140 #endif
141 
142 #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:251
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:326
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:184
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:204
Module Descriptor.
Definition: globus_module.h:71