/usr/include/ncarg/ncl/DataSupport.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 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 | /*
* $Id: DataSupport.h,v 1.15 2009-11-17 20:10:11 dbrown Exp $
*/
/************************************************************************
* *
* Copyright (C) 1993 *
* University Corporation for Atmospheric Research *
* All Rights Reserved *
* *
************************************************************************/
/*
* File:
*
* Author: Ethan Alpert
* National Center for Atmospheric Research
* PO 3000, Boulder, Colorado
*
* Date: Tue Dec 28 10:38:48 MST 1993
*
* Description:
*/
#ifndef _DataSupport_h
#define _DataSupport_h
extern struct _NclMultiDValDataRec *_NclCreateTrue(
#if NhlNeedProto
void
#endif
);
extern struct _NclMultiDValDataRec *_NclCreateFalse(
#if NhlNeedProto
void
#endif
);
extern struct _NclMultiDValDataRec *_NclCreateLMissing(
#if NhlNeedProto
void
#endif
);
extern struct _NclMultiDValDataRec *_NclCreateMissing(
#if NhlNeedProto
void
#endif
);
extern NhlErrorTypes _NclRegisterCallback(
#if NhlNeedProto
NclObjTypes /* class_type */,
unsigned int /* callback_type */,
NclCallBack /* callback_function */,
void * /* call_backdata */
#endif
);
extern NhlErrorTypes _NclCallCallBacks(
#if NhlNeedProto
NclObj /* obj */,
unsigned int /* type*/
#endif
);
extern void * _NclObtainCallData(
#if NhlNeedProto
NclObj /* obj */,
unsigned int /* type */
#endif
);
extern void _NclInitDataClasses(
#if NhlNeedProto
void
#endif
);
extern struct _NclMultiDValDataRec *_NclCharMdToStringMd(
#if NhlNeedProto
struct _NclMultiDValDataRec * /*char_md*/
#endif
);
extern struct _NclMultiDValDataRec *_NclStringMdToCharMd(
#if NhlNeedProto
struct _NclMultiDValDataRec * /*string_md*/
#endif
);
extern char* _NclBasicDataTypeToName(
#if NhlNeedProto
NclBasicDataTypes /*dt*/
#endif
);
extern NclBasicDataTypes _nameToNclBasicDataType(NclQuark name);
extern NclBasicDataTypes _NclPromoteType(
#if NhlNeedProto
NclBasicDataTypes /*dt*/
#endif
);
extern struct _NclMultiDValDataRec * _NclCoerceData(
#if NhlNeedProto
struct _NclMultiDValDataRec * /*self*/,
NclObjTypes /* coerce_obj_to */,
NclScalar * /* coerce_obj_to */
#endif
);
extern NhlErrorTypes _NclPrint(
#if NhlNeedProto
struct _NclObjRec* /* self*/,
FILE * /* fp*/
#endif
);
extern struct _NclDataRec* _NclReadSubSection(
#if NhlNeedProto
struct _NclDataRec * /*self*/,
struct _NclSelectionRecord * /*selection*/,
NclScalar * /*missing*/
#endif
);
extern NhlErrorTypes _NclReadThenWriteSubSection(
#if NhlNeedProto
struct _NclDataRec * /*to_data*/,
struct _NclSelectionRecord * /*to_selection*/,
struct _NclDataRec * /*from_data*/,
struct _NclSelectionRecord* /* from_selection*/
#endif
);
extern NhlErrorTypes _NclWriteSubSection(
#if NhlNeedProto
struct _NclDataRec * /*self*/,
struct _NclSelectionRecord * /*selection*/,
struct _NclDataRec * /*value*/
#endif
);
extern NhlErrorTypes _NclCallMonoOp(
#if NhlNeedProto
struct _NclMultiDValDataRec* /* operand*/,
NclObj* /* result*/,
int /* op */
#endif
);
extern NhlErrorTypes _NclCallDualOp(
#if NhlNeedProto
struct _NclMultiDValDataRec* /* lhs */,
struct _NclMultiDValDataRec* /* rhs */,
int /* op */,
NclObj* /* result*/
#endif
);
extern struct _NclMultiDValDataRec* _NclCopyVal(
#if NhlNeedProto
struct _NclMultiDValDataRec * /*self*/,
NclScalar * /* new_missing */
#endif
);
extern void _NclResetMissingValue(
#if NhlNeedProto
struct _NclMultiDValDataRec * /*self*/,
NclScalar * /* missing*/
#endif
);
extern int _NclScalarCoerce(
#if NhlNeedProto
void * /*from*/,
NclBasicDataTypes /*frtype*/,
void * /*to*/,
NclBasicDataTypes /*totype*/
#endif
);
extern int _NclScalarForcedCoerce(
#if NhlNeedProto
void * /*from*/,
NclBasicDataTypes /*frtype*/,
void * /*to*/,
NclBasicDataTypes /*totype*/
#endif
);
struct _NclMultiDValDataRec * _NclCreateVal(
#if NhlNeedProto
NclObj /*inst*/,
NclObjClass /*theclass*/,
NclObjTypes /*obj_type*/,
unsigned int /*obj_type_mask*/,
void * /*val*/,
NclScalar * /*missing_value*/,
int /*n_dims*/,
ng_size_t * /*dim_sizes*/,
NclStatus /*status*/,
NclSelectionRecord * /*sel_rec*/,
NclObjClass /*type*/
#endif
);
extern NhlErrorTypes _NclAddParent(
#if NhlNeedProto
NclObj /*theobj*/ ,
NclObj /*parent*/
#endif
);
extern _NhlCB _NclAddCallback(
#if NhlNeedProto
NclObj /* theobj */,
NclObj /* parent */,
_NhlCBFunc /* cbfunc */,
long /* cbsel*/,
NhlArgVal * /*udata*/
#endif
);
extern NhlErrorTypes _NclDelParent(
#if NhlNeedProto
NclObj /*theobj*/,
NclObj /*parent*/
#endif
);
extern NclBasicDataTypes _NclKeywordToDataType(
#if NhlNeedProto
struct _NclSymbol * /*keywd*/
#endif
);
extern NclObjTypes _NclKeywordToObjType(
#if NhlNeedProto
struct _NclSymbol * /*keywd*/
#endif
);
extern int _NclIsMissing(
#if NhlNeedProto
NclMultiDValData self, void* val
#endif
);
extern int _NclGetObjRefCount(
#if NhlNeedProto
int /*the_id*/
#endif
);
extern struct _NclTypeClassRec *_NclNameToTypeClass(
#if NhlNeedProto
NclQuark /*obj_type*/
#endif
);
extern long _NclObjTypeToName(
#if NhlNeedProto
NclObjTypes /*obj_type*/
#endif
);
extern void _NclRegisterClassPointer(
NclObjTypes /*obj_type*/,
NclObjClass /*obj_calss*/
);
extern NclObjClass _NclObjTypeToPointer(
#if NhlNeedProto
NclObjTypes /*obj_type*/
#endif
);
extern NclObjTypes _NclBasicDataTypeToObjType(
#if NhlNeedProto
NclBasicDataTypes /*dt*/
#endif
);
extern NhlErrorTypes _NclGetCoordRange(
#if NhlNeedProto
NclMultiDValData /* coord_md*/,
void * /* start_md */,
void * /* finish_md */,
long* /* start */,
long* /* finish */
#endif
);
extern NhlErrorTypes _NclGetCoordClosestIndex(
#if NhlNeedProto
NclMultiDValData /* coord_md*/,
void * /* ind_md */,
long* /* ind*/
#endif
);
extern NhlErrorTypes _NclSwapBytes(
#if NhlNeedProto
void *outdata,
void *indata,
ng_size_t count,
int type_size
#endif
);
extern long long local_strtoll(const char *nptr, char **endptr, int base);
extern long _Nclstrtol(const char *str, char **endptr);
extern unsigned long _Nclstrtoul(const char *str, char **endptr);
extern long long _Nclstrtoll(const char *str, char **endptr);
extern unsigned long long _Nclstrtoull(const char *str, char **endptr);
#endif /*_DataSupport_h */
|