/usr/include/ncarg/hlu/DataCommP.h is in libncarg-dev 6.4.0-9.
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 | /*
* $Id: DataCommP.h,v 1.8 1995-04-07 10:41:31 boote Exp $
*/
/************************************************************************
* *
* Copyright (C) 1993 *
* University Corporation for Atmospheric Research *
* All Rights Reserved *
* *
************************************************************************/
/*
* File: DataCommP.h
*
* Author: Jeff W. Boote
* National Center for Atmospheric Research
* PO 3000, Boulder, Colorado
*
* Date: Wed Jun 16 17:47:55 MDT 1993
*
* Description: This is the Private Header file for the DataComm
* class.
*/
#ifndef _NDataCommP_h
#define _NDataCommP_h
#include <ncarg/hlu/TransformP.h>
#include <ncarg/hlu/DataCommF.h>
#include <ncarg/hlu/DataMgr.h>
#define _NhlTDListCompiled ".List.Compiled."
#define _NhlTDataList ".Data.List"
#define _NhlTDataSpecList ".Data.Spec.List"
#define _NhlTAddData ".Add.Data"
#define _NhlTRemoveData ".Rm.Data"
typedef struct _NhlDataSpecClassRec *NhlDataSpecClass;
typedef struct _NhlDataSpecLayerRec *NhlDataSpecLayer;
typedef struct _NhlDataCommClassRec *NhlDataCommClass;
typedef struct _NhlDataCommLayerRec *NhlDataCommLayer;
typedef struct _NhlDataOffsetRec _NhlDataOffsetRec, *_NhlDataOffset;
typedef struct _NhlDataNodeRec _NhlDataNodeRec, *_NhlDataNodePtr;
typedef struct _NhlInternalDataListRec _NhlInternDataListRec, *_NhlInternDataList;
typedef struct _NhlDCommListRec _NhlDCommListRec, *_NhlDCommList;
struct _NhlDataNodeRec {
int item; /* Data Item */
NhlDataSpecLayer dataspec; /* DataSpec object */
NrmQuark type; /* Type to convert to */
_NhlDHandle dhandle; /* connection to datamgr*/
};
struct _NhlInternalDataListRec{
int num_items;
_NhlDataNodePtr *list;
_NhlDataNodePtr extra;
NhlBoolean shared_list;
NhlDataCommLayer dcl;
_NhlDataOffset oset;
};
struct _NhlDataOffsetRec{
NrmQuark res_name;
unsigned int offset;
NrmQuark dsres_name;
unsigned int dsoffset;
NhlClass dataspec_class;
NrmQuarkList qlist;
_NhlDataOffset next;
};
typedef struct _NhlDataCommLayerPart{
/* User setable resource fields */
NhlBoolean delay_compute;
/* Private Fields */
NhlBoolean data_changed;
} NhlDataCommLayerPart;
typedef struct _NhlDataCommLayerRec{
NhlBaseLayerPart base;
NhlViewLayerPart view;
NhlTransformLayerPart trans;
NhlDataCommLayerPart datacomm;
} NhlDataCommLayerRec;
typedef NhlErrorTypes (*_NhlUpdateDataProc)(
#if NhlNeedProto
NhlDataCommLayer new,
NhlDataCommLayer old
#endif
);
typedef struct _NhlDataCommClassPart{
_NhlDataOffset data_offsets;
_NhlUpdateDataProc update_data;
} NhlDataCommClassPart;
typedef struct _NhlDataCommClassRec{
NhlBaseClassPart base_class;
NhlViewClassPart view_class;
NhlTransformClassPart trans_class;
NhlDataCommClassPart datacomm_class;
} NhlDataCommClassRec;
extern NhlDataCommClassRec NhldataCommClassRec;
/*
* DataSpec definitions
*/
struct _NhlDCommListRec{
int dcommid;
NrmQuark res_name;
_NhlDCommList next;
};
typedef struct _NhlDataSpecLayerPart{
/* Private Fields */
int destroying;
} NhlDataSpecLayerPart;
typedef struct _NhlDataSpecLayerRec{
NhlBaseLayerPart base;
NhlDataSpecLayerPart dataspec;
} NhlDataSpecLayerRec;
typedef struct _NhlDataSpecClassPart{
int foo;
} NhlDataSpecClassPart;
typedef struct _NhlDataSpecClassRec{
NhlBaseClassPart base_class;
NhlDataSpecClassPart dataspec_class;
} NhlDataSpecClassRec;
extern NhlDataSpecClassRec NhldataSpecClassRec;
/*
* Private API to be used by Sub-Classes for handling Data
*/
/*VARARGS3*/
extern NhlErrorTypes _NhlRegisterDataRes(
#if NhlNeedVarArgProto
NhlDataCommClass dc, /* DataComm sub-class */
NrmString data_res, /* name of data res */
NrmString dataspec_res, /* name of data res */
NhlClass dataspec, /* DataSpecific class */
... /* types requested */
#endif
);
extern int _NhlGetDataInfo(
#if NhlNeedProto
NhlGenArray data, /* pointer to datalist */
_NhlDataNodePtr **dinfo /* data info RET */
#endif
);
extern NhlLayer _NhlGetDataSet(
#if NhlNeedProto
_NhlDataNodePtr datanode, /* data node */
NhlBoolean *new_ret /* is data new? */
#endif
);
#endif /* _NDataCommP_h */
|