/usr/include/globus/globus_gss_assist_constants.h is in libglobus-gss-assist-dev 11.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 | /*
* 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_GSI_GSS_ASSIST_CONSTANTS_H
#define GLOBUS_GSI_GSS_ASSIST_CONSTANTS_H
/**
* @file globus_gss_assist_constants.h
* @brief Globus GSI GSS Assist Library
* @author Sam Lang, Sam Meder
*/
#ifdef __cplusplus
extern "C" {
#endif
/**
* @defgroup globus_gss_assist_constants GSI GSS Assist Constants
* @brief Constant Definitions
* @ingroup globus_gss_assist
*/
/** GSI GSS Assist Error codes
* @ingroup globus_gss_assist_constants
*/
typedef enum
{
/** Success */
GLOBUS_GSI_GSS_ASSIST_ERROR_SUCCESS = 0,
/** No user entry in gridmap file */
GLOBUS_GSI_GSS_ASSIST_ERROR_WITH_ARGUMENTS = 1,
/** Error user ID doesn't match */
GLOBUS_GSI_GSS_ASSIST_ERROR_USER_ID_DOESNT_MATCH = 2,
/** Error with arguments passed to function */
GLOBUS_GSI_GSS_ASSIST_ERROR_IN_GRIDMAP_NO_USER_ENTRY = 3,
/** Error querying gridmap file */
GLOBUS_GSI_GSS_ASSIST_ERROR_WITH_GRIDMAP = 4,
/** Invalid gridmap file format */
GLOBUS_GSI_GSS_ASSIST_ERROR_INVALID_GRIDMAP_FORMAT = 5,
/** System Error */
GLOBUS_GSI_GSS_ASSIST_ERROR_ERRNO = 6,
/** Error during context initialization */
GLOBUS_GSI_GSS_ASSIST_ERROR_WITH_INIT = 7,
/** Error during message wrap */
GLOBUS_GSI_GSS_ASSIST_ERROR_WITH_WRAP = 8,
/** Error with token */
GLOBUS_GSI_GSS_ASSIST_ERROR_WITH_TOKEN = 9,
/** Error exporting context */
GLOBUS_GSI_GSS_ASSIST_ERROR_EXPORTING_CONTEXT = 10,
/** Error importing context */
GLOBUS_GSI_GSS_ASSIST_ERROR_IMPORTING_CONTEXT = 11,
/** Error initializing callout handle */
GLOBUS_GSI_GSS_ASSIST_ERROR_INITIALIZING_CALLOUT_HANDLE = 12,
/** Error reading callout configuration */
GLOBUS_GSI_GSS_ASSIST_ERROR_WITH_CALLOUT_CONFIG = 13,
/** Error invoking callout */
GLOBUS_GSI_GSS_ASSIST_CALLOUT_ERROR = 14,
/** A GSSAPI returned an error */
GLOBUS_GSI_GSS_ASSIST_GSSAPI_ERROR = 15,
/** Gridmap lookup failure */
GLOBUS_GSI_GSS_ASSIST_GRIDMAP_LOOKUP_FAILED = 16,
/** Caller provided insufficient buffer space for local identity */
GLOBUS_GSI_GSS_ASSIST_BUFFER_TOO_SMALL = 17,
/** Failed to obtain canonical host name */
GLOBUS_GSI_GSS_ASSIST_ERROR_CANONICALIZING_HOSTNAME = 18,
GLOBUS_GSI_GSS_ASSIST_ERROR_LAST = 19
} globus_gsi_gss_assist_error_t;
#ifdef __cplusplus
}
#endif
#endif
|