globus_i_error_generic.h

00001 /*
00002  * Copyright 1999-2006 University of Chicago
00003  * 
00004  * Licensed under the Apache License, Version 2.0 (the "License");
00005  * you may not use this file except in compliance with the License.
00006  * You may obtain a copy of the License at
00007  * 
00008  * http://www.apache.org/licenses/LICENSE-2.0
00009  * 
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
00015  */
00016 
00017 #ifndef GLOBUS_DONT_DOCUMENT_INTERNAL
00018 
00019 #ifndef GLOBUS_I_ERROR_GENERIC_H
00020 #define GLOBUS_I_ERROR_GENERIC_H
00021 
00027 #include "globus_common_include.h"
00028 
00029 #ifdef __cplusplus
00030 extern "C" {
00031 #endif
00032 
00046 typedef struct globus_l_error_data_s
00047 {
00049     int                                 type;
00051     char *                              short_desc;
00053     char *                              long_desc;
00054     
00055     /* these are static strings, do NOT free them */
00056     const char *                        file;
00057     const char *                        func;
00058     int                                 line;
00059 }
00060 globus_l_error_data_t;
00061 
00062 #ifdef __cplusplus
00063 }
00064 #endif
00065 
00066 #endif /* GLOBUS_I_ERROR_GENERIC_H */
00067 
00068 #endif /* GLOBUS_DONT_DOCUMENT_INTERNAL */

Generated on 20 Jun 2015 for globus_common by  doxygen 1.4.7