Grid Community Toolkit  6.2.1653033972 (tag: v6.2.20220524)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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 
27 #include "globus_common_include.h"
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
46 typedef 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 }
60 globus_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.