/usr/include/ncarg/hlu/ErrorP.h is in libncarg-dev 6.3.0-13.
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 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 | /*
* $Id: ErrorP.h,v 1.9 1996-09-14 17:06:12 boote Exp $
*/
/************************************************************************
* *
* Copyright (C) 1992 *
* University Corporation for Atmospheric Research *
* All Rights Reserved *
* *
************************************************************************/
/*
* File: ErrorP.h
*
* Author: Jeff W. Boote
* National Center for Atmospheric Research
* PO 3000, Boulder, Colorado
*
* Date: Tue Oct 20 11:43:12 MDT 1992
*
* Description: This is the private header file for the error object.
*/
#ifndef _NErrorP_h
#define _NErrorP_h
#include <ncarg/hlu/BaseP.h>
#include <ncarg/hlu/FortranP.h>
#include <ncarg/hlu/ErrorI.h>
typedef struct _NhlErrorLayerRec *NhlErrorLayer;
typedef struct _NhlErrorClassRec *NhlErrorClass;
typedef struct _NhlErrorLayerCRec *_NhlErrorLayerC;
typedef struct _NhlErrorLayerCClassRec *_NhlErrorLayerCClass;
typedef struct _NhlErrorLayerFRec *_NhlErrorLayerF;
typedef struct _NhlErrorLayerFClassRec *_NhlErrorLayerFClass;
/*
* Private resource - defines mode of Error Object (C or Fortran)
*/
#define _NhlNerrMode "err.Mode"
#define _NhlCerrMode _NhlClangMode
/*
* Private structures & definitions
*/
typedef struct _NhlETable{
unsigned start;
unsigned len;
Const char **errs;
} NhlETable;
/*
* Class declarations
*/
typedef struct _NhlErrorLayerPart {
/* User setable resource fields */
NhlBoolean buffer_errors;
NhlErrorTypes error_level;
NhlBoolean print_errors;
char *error_file;
/* private resource fields */
_NhlC_OR_F error_mode;
/* Internal private fields */
_NhlCBList perrcb;
int child;
int num_emsgs;
int len_emsgs;
NhlErrMsgList emsgs;
int num_etables;
int len_etables;
NhlETable *etables;
FILE *private_fp;
int private_eunit;
} NhlErrorLayerPart;
typedef struct _NhlErrorLayerCPart {
/* User setable resource fields */
FILE *fp;
/* private */
NhlBoolean my_fp;
} NhlErrorLayerCPart;
typedef struct _NhlErrorLayerFPart {
/* User setable resource fields */
int eunit;
/* private */
NhlBoolean my_eunit;
} NhlErrorLayerFPart;
typedef struct _NhlErrorLayerRec {
NhlBaseLayerPart base;
NhlErrorLayerPart error;
} NhlErrorLayerRec;
typedef struct _NhlErrorLayerCRec {
NhlObjLayerPart base;
NhlErrorLayerCPart cerror;
} _NhlErrorLayerCRec;
typedef struct _NhlErrorLayerFRec {
NhlObjLayerPart base;
NhlErrorLayerFPart ferror;
} _NhlErrorLayerFRec;
typedef struct _NhlErrorClassPart {
int num_error_instances;
} NhlErrorClassPart;
typedef struct _NhlErrorLayerCClassPart {
int foo;
} NhlErrorLayerCClassPart;
typedef struct _NhlErrorLayerFClassPart {
int foo;
} NhlErrorLayerFClassPart;
typedef struct _NhlErrorClassRec {
NhlBaseClassPart base_class;
NhlErrorClassPart error_class;
} NhlErrorClassRec;
typedef struct _NhlErrorLayerCClassRec {
NhlObjClassPart base_class;
NhlErrorLayerCClassPart cerror_class;
} _NhlErrorLayerCClassRec;
typedef struct _NhlErrorLayerFClassRec {
NhlObjClassPart base_class;
NhlErrorLayerFClassPart ferror_class;
} _NhlErrorLayerFClassRec;
extern NhlErrorClassRec NhlerrorClassRec;
/*
* Fortran functions that error.c calls
*/
extern void _NHLCALLF(nhl_finqunit,NHLF_INQUNIT)(
#if NhlNeedProto
int *unit_num,
int *connected,
int *ierr
#endif
);
extern void _NHLCALLF(nhl_fopnunit,NHLF_OPNUNIT)(
#if NhlNeedProto
int *unit_num,
_NhlFString file_name,
int *file_name_len,
int *err
#endif
);
extern void _NHLCALLF(nhl_fclsunit,NHLF_CLSUNIT)(
#if NhlNeedProto
int *unit_num,
int *err
#endif
);
extern void _NHLCALLF(nhl_fprnmes,NHLF_PRNMES)(
#if NhlNeedProto
int *unit_num,
_NhlFString message,
int *message_len
#endif
);
extern int _NHLCALLF(i1mach,I1MACH)(
#if NhlNeedProto
int *qnum
#endif
);
#endif /* _NErrorP_h */
|