/usr/include/ncarg/ncl/NclDriver.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 | #ifndef _NclDriver_H
#define _NclDriver_H
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <string.h>
#include <strings.h>
#include <dirent.h>
#include <stdlib.h>
#include <ctype.h>
#include <ncarg/hlu/hlu.h>
#include <ncarg/hlu/NresDB.h>
#include <ncarg/hlu/Workstation.h>
#include "defs.h"
#include "NclExitCode.h"
#include "Symbol.h"
#include "NclData.h"
#include "Machine.h"
#include "DataSupport.h"
#include "NclVar.h"
#include "NclType.h"
#include "TypeSupport.h"
#include "NclProf.h"
#include <ncarg/hlu/ConvertP.h>
#include <ncarg/hlu/Error.h>
#include <ncarg/hlu/App.h>
#include <netcdf.h>
#ifdef _OPENMP
#include <omp.h>
#endif
#if defined(HPUX)
#include <dl.h>
#else
#include <dlfcn.h>
#endif /*HPUX */
#include "NclGlobalParams.h"
extern char *nclf;
extern int NclReturnStatus;
extern NhlClass NhlworkstationClass;
/* for debugging/stack tracing */
extern FILE *thefptr;
extern FILE *theoptr;
extern int cmd_line;
extern int cmd_line_is_set;
extern int cur_line_number;
extern char *cur_line_text;
extern int cur_line_maxsize;
extern char *cur_line_text_pos;
extern FILE *yyin;
extern int yyparse(int);
#define BUFF_SIZE 512
extern FILE *error_fp;
extern FILE *stdout_fp ;
extern FILE *stdin_fp ;
extern int number_of_constants;
extern void nclprompt(void *user_data, int arg);
extern void InitializeReadLine(int opt);
extern void NclSetPromptFunc(NclPromptFunc prmf, void *user_data);
extern NhlErrorTypes _NclPreLoadScript(char *path, int status);
#endif
|