globus_common 18.14
Loading...
Searching...
No Matches
globus_i_error_generic.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_DONT_DOCUMENT_INTERNAL
18
19#ifndef GLOBUS_I_ERROR_GENERIC_H
20#define GLOBUS_I_ERROR_GENERIC_H
21
28
29#ifdef __cplusplus
30extern "C" {
31#endif
32
46typedef struct globus_l_error_data_s
47{
49 int type;
51 char * short_desc;
53 char * long_desc;
54
55 /* these are static strings, do NOT free them */
56 const char * file;
57 const char * func;
58 int line;
59}
60globus_l_error_data_t;
61
62#ifdef __cplusplus
63}
64#endif
65
66#endif /* GLOBUS_I_ERROR_GENERIC_H */
67
68#endif /* GLOBUS_DONT_DOCUMENT_INTERNAL */
Include System Headers.