~ubuntu-branches/ubuntu/trusty/globus-gss-assist/trusty

« back to all changes in this revision

Viewing changes to .pc/globus-gss-assist-doxygen.patch/globus_gss_assist_constants.h

  • Committer: Package Import Robot
  • Author(s): Mattias Ellert
  • Date: 2012-04-29 07:03:12 UTC
  • mfrom: (1.2.5)
  • Revision ID: package-import@ubuntu.com-20120429070312-vxpkcewt8lat0mwu
Tags: 8.5-1
* Update to Globus Toolkit 5.2.1
* Drop patches globus-gss-assist-doxygen.patch, globus-gss-assist-deps.patch
  and globus-gss-assist-format.patch (fixed upstream)

Show diffs side-by-side

added added

removed removed

Lines of Context:
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_DONT_DOCUMENT_INTERNAL
18
 
/**
19
 
 * @file globus_gss_assist_constants.h
20
 
 * Globus GSI GSS Assist Library
21
 
 * @author Sam Lang, Sam Meder
22
 
 *
23
 
 * $RCSfile: globus_gss_assist_constants.h,v $
24
 
 * $Revision: 1.8 $
25
 
 * $Date: 2007/08/09 14:24:23 $
26
 
 */
27
 
#endif
28
 
 
29
 
#ifndef GLOBUS_GSI_GSS_ASSIST_CONSTANTS_H
30
 
#define GLOBUS_GSI_GSS_ASSIST_CONSTANTS_H
31
 
 
32
 
#ifndef EXTERN_C_BEGIN
33
 
#    ifdef __cplusplus
34
 
#        define EXTERN_C_BEGIN extern "C" {
35
 
#        define EXTERN_C_END }
36
 
#    else
37
 
#        define EXTERN_C_BEGIN
38
 
#        define EXTERN_C_END
39
 
#    endif
40
 
#endif
41
 
 
42
 
EXTERN_C_BEGIN
43
 
 
44
 
/**
45
 
 * @defgroup globus_gsi_gss_assist_constants GSI GSS Assist Constants
46
 
 */
47
 
 
48
 
/** GSI GSS Assist Error codes
49
 
 * @ingroup globus_gsi_gss_assist_constants
50
 
 */
51
 
typedef enum
52
 
{
53
 
    /** Success */
54
 
    GLOBUS_GSI_GSS_ASSIST_ERROR_SUCCESS = 0,
55
 
    /** No user entry in gridmap file */
56
 
    GLOBUS_GSI_GSS_ASSIST_ERROR_WITH_ARGUMENTS = 1,
57
 
    /** Error user ID doesn't match */
58
 
    GLOBUS_GSI_GSS_ASSIST_ERROR_USER_ID_DOESNT_MATCH = 2,
59
 
    /** Error with arguments passed to function */
60
 
    GLOBUS_GSI_GSS_ASSIST_ERROR_IN_GRIDMAP_NO_USER_ENTRY = 3,
61
 
    /** Error querying gridmap file */
62
 
    GLOBUS_GSI_GSS_ASSIST_ERROR_WITH_GRIDMAP = 4,
63
 
    /** Invalid gridmap file format */
64
 
    GLOBUS_GSI_GSS_ASSIST_ERROR_INVALID_GRIDMAP_FORMAT = 5,
65
 
    /** System Error */
66
 
    GLOBUS_GSI_GSS_ASSIST_ERROR_ERRNO = 6,
67
 
    /** Error during context initialization */
68
 
    GLOBUS_GSI_GSS_ASSIST_ERROR_WITH_INIT = 7,
69
 
    /** Error during message wrap */
70
 
    GLOBUS_GSI_GSS_ASSIST_ERROR_WITH_WRAP = 8,
71
 
    /** Error with token */
72
 
    GLOBUS_GSI_GSS_ASSIST_ERROR_WITH_TOKEN = 9,
73
 
    /** Error exporting context */
74
 
    GLOBUS_GSI_GSS_ASSIST_ERROR_EXPORTING_CONTEXT = 10,
75
 
    /** Error importing context */
76
 
    GLOBUS_GSI_GSS_ASSIST_ERROR_IMPORTING_CONTEXT = 11,
77
 
    /** Error initializing callout handle */
78
 
    GLOBUS_GSI_GSS_ASSIST_ERROR_INITIALIZING_CALLOUT_HANDLE = 12,
79
 
    /** Error reading callout configuration */
80
 
    GLOBUS_GSI_GSS_ASSIST_ERROR_WITH_CALLOUT_CONFIG = 13,
81
 
    /** Error invoking callout */
82
 
    GLOBUS_GSI_GSS_ASSIST_CALLOUT_ERROR = 14,
83
 
    /** A GSSAPI returned an error */
84
 
    GLOBUS_GSI_GSS_ASSIST_GSSAPI_ERROR = 15,
85
 
    /** Gridmap lookup failure */
86
 
    GLOBUS_GSI_GSS_ASSIST_GRIDMAP_LOOKUP_FAILED = 16,
87
 
    /** Caller provided insufficient buffer space for local identity */
88
 
    GLOBUS_GSI_GSS_ASSIST_BUFFER_TOO_SMALL = 17,
89
 
    /** Failed to obtain canonical host name */
90
 
    GLOBUS_GSI_GSS_ASSIST_ERROR_CANONICALIZING_HOSTNAME = 18,
91
 
    GLOBUS_GSI_GSS_ASSIST_ERROR_LAST = 19
92
 
} globus_gsi_gss_assist_error_t;
93
 
 
94
 
EXTERN_C_END
95
 
 
96
 
#endif