/usr/include/ncarg/hlu/MapV40DataHandlerP.h is in libncarg-dev 6.1.2-7.
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 | /*
* $Id: MapV40DataHandlerP.h,v 1.2 1998-05-29 22:52:25 dbrown Exp $
*/
/************************************************************************
* *
* Copyright (C) 1992 *
* University Corporation for Atmospheric Research *
* All Rights Reserved *
* *
************************************************************************/
/*
* File: MapV40DataHandlerP.h
*
* Author: David I. Brown
* National Center for Atmospheric Research
* PO 3000, Boulder, Colorado
*
* Date: Thu Apr 23 12:01:04 MDT 1998
*
* Description:
*/
#ifndef _NMapV40DataHandlerP_h
#define _NMapV40DataHandlerP_h
#include <ncarg/hlu/MapDataHandlerP.h>
#include <ncarg/hlu/MapV40DataHandler.h>
#define Nhl_mpMAPDATAFILE "NhlMapData"
#define mpALLOC_UNIT 128
#define mpWORKSPACE_SIZE_REQ 2097152
#define mpGLOBAL_AMAP 0
#define mpUSSTATES_AMAP 1
typedef enum _mpOutlineSet {
mpEMPTY = -1,
mpCO,
mpPO,
mpUS,
mpPS
} mpOutlineSet;
#define NhlmpOUTLINE_TYPE_COUNT 8
typedef enum _mpOutlineType {
mpOcean = 0,
mpContinent,
mpLargeIsland,
mpSmallIsland,
mpInlandWater,
mpNational,
mpUSStateLand,
mpUSStateWater
} mpOutlineType;
typedef enum _mpBGroups {
mpNULLAREA,
mpALLNATIONAL,
mpALLGEOPHYSICAL,
mpLAND,
mpWATER,
mpINLANDWATER,
mpOCEANS,
mpCONTINENTS,
mpISLANDS,
mpLARGEISLANDS,
mpSMALLISLANDS,
mpALLUSSTATES,
mpUSSTATESLAND,
mpUSSTATESWATER
} mpBGroups;
typedef struct _mpOutlineRec {
mpOutlineType type;
short id[3];
short cix[2];
char *name;
} mpOutlineRec;
typedef enum _mpGlobalSetMode {
mpNONE = 0,
mpGEO,
mpIMPLIED_NAT,
mpNAT
} mpGlobalSetMode;
typedef enum _mpStateSetMode {
mpNOSET,
mpIMPLIED_SET,
mpSET
} mpStateSetMode;
/* draw Modes */
#define mpBACKGROUND 0
#define mpDRAW 1
#define mpMASK 2
#define mpSYSEXCLUDE 3
#define mpDRAWSPECIAL 4
#define mpNOINDEX -1
typedef union _mpFlags {
unsigned long flags;
struct {
unsigned char s_col;
unsigned char s_pat;
unsigned char s_scl;
unsigned char draw_mode;
} f;
} mpFlags;
typedef struct _mpNameRec {
short name_ix;
mpFlags u;
unsigned char s_ix;
short ix;
} mpNameRec;
typedef struct _mpDrawIdRec {
mpFlags u;
unsigned char s_ix;
short ix;
} mpDrawIdRec;
typedef struct _NhlMapV40DataHandlerLayerPart {
mpNameRec *fill_recs;
int fill_rec_alloc;
int fill_rec_count;
mpNameRec fill_groups[NhlmpOUTLINE_TYPE_COUNT];
mpNameRec *outline_recs;
int outline_rec_alloc;
int outline_rec_count;
mpNameRec outline_groups[NhlmpOUTLINE_TYPE_COUNT];
mpGlobalSetMode global_fill_mode;
mpStateSetMode usstates_fill_mode;
mpGlobalSetMode global_outline_mode;
mpStateSetMode usstates_outline_mode;
int co_aws_id;
NhlBoolean new_co_amap_req;
int us_aws_id;
NhlBoolean new_us_amap_req;
}NhlMapV40DataHandlerLayerPart;
typedef struct _NhlMapV40DataHandlerLayerRec {
NhlObjLayerPart base;
NhlMapDataHandlerLayerPart mapdh;
NhlMapV40DataHandlerLayerPart mapv40dh;
}NhlMapV40DataHandlerLayerRec;
typedef struct _NhlMapV40DataHandlerClassPart {
mpOutlineRec *outline_recs;
int outline_rec_count;
int outline_type_start_ix[NhlmpOUTLINE_TYPE_COUNT+1];
} NhlMapV40DataHandlerClassPart;
typedef struct _NhlMapV40DataHandlerClassRec {
NhlObjClassPart base_class;
NhlMapDataHandlerClassPart mapdh_class;
NhlMapV40DataHandlerClassPart mapv40dh_class;
} NhlMapV40DataHandlerClassRec;
typedef struct _NhlMapV40DataHandlerClassRec *NhlMapV40DataHandlerClass;
typedef struct _NhlMapV40DataHandlerLayerRec *NhlMapV40DataHandlerLayer;
extern NhlMapV40DataHandlerClassRec NhlmapV40DataHandlerClassRec;
#endif /*_NMapV40DataHandlerP_h*/
|