Loading...
Searching...
No Matches
globus_error_gssapi.h
/*
* Copyright 1999-2006 University of Chicago
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef GLOBUS_INCLUDE_GSSAPI_ERROR_H
#define GLOBUS_INCLUDE_GSSAPI_ERROR_H
#ifndef GLOBUS_GLOBAL_DOCUMENT_SET
#endif
#include "globus_common.h"
#include "gssapi.h"
#ifdef __cplusplus
extern "C" {
#endif
#define GLOBUS_ERROR_TYPE_GSSAPI (&GLOBUS_ERROR_TYPE_GSSAPI_DEFINITION)
extern const globus_object_type_t GLOBUS_ERROR_TYPE_GSSAPI_DEFINITION;
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);
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);
OM_uint32
globus_error_gssapi_get_major_status(
globus_object_t * error);
void
globus_error_gssapi_set_major_status(
globus_object_t * error,
const OM_uint32 major_status);
OM_uint32
globus_error_gssapi_get_minor_status(
globus_object_t * error);
globus_bool_t
globus_error_gssapi_match(
globus_object_t * error,
globus_module_descriptor_t * module,
const OM_uint32 major_status);
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,
...);
#ifdef __cplusplus
}
#endif
#endif /* GLOBUS_INCLUDE_GSSAPI_ERROR_H */
globus_error_gssapi_get_major_status
OM_uint32 globus_error_gssapi_get_major_status(globus_object_t *error)
Get Major Status.
Definition globus_error_gssapi.c:165
globus_error_gssapi_get_minor_status
OM_uint32 globus_error_gssapi_get_minor_status(globus_object_t *error)
Get Minor Status.
Definition globus_error_gssapi.c:204
globus_error_gssapi_set_major_status
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
globus_error_initialize_gssapi_error
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
globus_error_construct_gssapi_error
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_error_gssapi_match
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_error_wrap_gssapi_error
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