~ubuntu-branches/ubuntu/vivid/globus-gridmap-callout-error/vivid

« back to all changes in this revision

Viewing changes to .pc/globus-gridmap-callout-error-doxygen.patch/globus_i_gridmap_callout_error.c

  • Committer: Package Import Robot
  • Author(s): Mattias Ellert
  • Date: 2014-09-25 21:00:44 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20140925210044-rl4xww83iaaspu9f
Tags: 2.3-1
* Update to Globus Toolkit 6.0
* Drop GPT build system and GPT packaging metadata

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_gridmap_callout_error.c
 
20
 * @author Sam Meder
 
21
 *
 
22
 * $RCSfile$
 
23
 * $Revision$
 
24
 * $Date$
 
25
 */
 
26
 
 
27
#include "globus_gridmap_callout_error.h"
 
28
#include "version.h"
 
29
 
 
30
char * 
 
31
globus_i_gridmap_callout_error_strings[GLOBUS_GRIDMAP_CALLOUT_ERROR_LAST] =
 
32
{
 
33
/* 0 */   "Gridmap lookup failure",
 
34
/* 1 */   "A GSSAPI call returned an error",
 
35
/* 2 */   "Caller provided insufficient buffer space for local identity"
 
36
};
 
37
 
 
38
static int globus_l_gridmap_callout_error_activate(void);
 
39
static int globus_l_gridmap_callout_error_deactivate(void);
 
40
 
 
41
 
 
42
/**
 
43
 * Module descriptor static initializer.
 
44
 */
 
45
globus_module_descriptor_t globus_i_gridmap_callout_error_module =
 
46
{
 
47
    "globus_gridmap_callout_error",
 
48
    globus_l_gridmap_callout_error_activate,
 
49
    globus_l_gridmap_callout_error_deactivate,
 
50
    GLOBUS_NULL,
 
51
    GLOBUS_NULL,
 
52
    &local_version
 
53
};
 
54
 
 
55
/**
 
56
 * Module activation
 
57
 */
 
58
static
 
59
int
 
60
globus_l_gridmap_callout_error_activate(void)
 
61
{
 
62
    globus_module_activate(GLOBUS_COMMON_MODULE);
 
63
    return 0;
 
64
}
 
65
 
 
66
/**
 
67
 * Module deactivation
 
68
 *
 
69
 */
 
70
static
 
71
int
 
72
globus_l_gridmap_callout_error_deactivate(void)
 
73
{
 
74
    globus_module_deactivate(GLOBUS_COMMON_MODULE);
 
75
    return 0;
 
76
}
 
77
 
 
78
 
 
79
#endif
 
80