/usr/include/ncarg/ncl/NclCallBacksI.h is in libncarg-dev 6.3.0-6build1.
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 | #include "NclDataDefs.h"
#define NclAPICREATED 01
#define NclAPIDESTROYED 02
#define NclAPIMODIFIED 04
typedef enum {
NCLNone = Ncl_None,
NCLObj = Ncl_Obj,
NCLVar = Ncl_Var,
NCLHLUObj = Ncl_HLUObj,
NCLFile = Ncl_File,
NCLFileVar = Ncl_FileVar,
NCLHLUVar = Ncl_HLUVar
} NclApiObjTypes;
typedef enum { NclAPINORMAL, NclAPIVARSUBSEL , NclAPICOORD, NclAPICOORDSUBSEL, NclAPIFILEVAR, NclAPIFILEVARSUBSEL,NclAPIPARAM,NclAPIRETURNVAR,NclAPIHLUOBJ,NclAPIFUNCNORMAL } NclApiVarTypes;
typedef struct _NclObjInfoRec {
int obj_id;
NclApiObjTypes obj_type;
}NclObjInfoRec;
typedef struct _NclObjClassInfo {
NclObjInfoRec obj;
}NclObjClassInfo;
typedef struct _NclVarInfoRec {
NclApiVarTypes var_type;
NclQuark var_quark;
int n_dims;
ng_size_t dim_sizes[NCL_MAX_DIMENSIONS];
ng_size_t dim_quarks[NCL_MAX_DIMENSIONS];
} NclVarInfoRec;
typedef struct _NclVarClassInfo {
NclObjInfoRec obj;
NclVarInfoRec var;
} NclVarClassInfo;
typedef struct _NclHLUVarInfoRec {
struct _NclHLUObjInfoRec *the_hlu_info;
} NclHLUVarInfoRec;
typedef struct _NclHLUVarClassInfo {
NclObjInfoRec obj;
NclVarInfoRec var;
NclHLUVarInfoRec hlu;
} NclHLUVarClassInfo;
typedef struct _NclFileVarInfoRec {
int foo;
} NclFileVarInfoRec;
typedef struct _NclFileVarClassInfo {
NclObjInfoRec obj;
NclVarInfoRec var;
NclFileVarInfoRec file;
} NclFileVarClassInfo;
typedef struct _NclFileInfoRec {
NclQuark fname;
NclQuark fpath;
int wr_status;
}NclFileInfoRec;
typedef struct _NclFileClassInfo {
NclObjInfoRec obj;
NclFileInfoRec file;
}NclFileClassInfo;
typedef struct _NclHLUObjInfoRec {
int hlu_id;
NclQuark hlu_name;
int parent_hluobj_id;
NhlClass class_ptr;
}NclHLUObjInfoRec;
typedef struct _NclHLUObjClassInfo{
NclObjInfoRec obj;
NclHLUObjInfoRec hluobj;
} NclHLUObjClassInfo;
extern NhlErrorTypes NclApiRegisterCallback(
#if NhlNeedProto
NclApiObjTypes /* obj_type */,
unsigned int /* type */,
void* /* callback_function */,
void* /* user_data */
#endif
);
|