/usr/include/ngraph.h is in ngraph-gtk-dev 6.06.13-5.1build1.
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 | #ifndef NGRAPH_HEADER
#define NGRAPH_HEADER
enum ngraph_object_field_type {
NVOID = 0,
NBOOL = 1,
#if USE_NCHAR
NCHAR = 2,
#endif
NINT = 3,
NDOUBLE = 4,
NSTR = 5,
NPOINTER = 6,
NIARRAY = 7,
NDARRAY = 8,
NSARRAY = 9,
NENUM = 10,
NOBJ = 11,
#if USE_LABEL
NLABEL = 12,
#endif
NVFUNC = 20,
NBFUNC = 21,
#if USE_NCHAR
NCFUNC = 22,
#endif
NIFUNC = 23,
NDFUNC = 24,
NSFUNC = 25,
NIAFUNC = 26,
NDAFUNC = 27,
NSAFUNC = 28,
};
#define NREAD 1
#define NWRITE 2
#define NEXEC 4
struct ngraph_plugin;
struct objlist;
union _ngraph_value;
struct ngraph_obj {
struct objlist *obj;
int id;
};
struct ngraph_array {
int num;
union array {
int i;
double d;
const char *str;
struct ngraph_array *ary;
} ary[1];
};
typedef struct ngraph_array ngraph_arg;
typedef union _ngraph_value {
int i;
double d;
const char *str;
ngraph_arg *ary;
} ngraph_value;
typedef union _ngraph_returned_value {
int i;
double d;
const char *str;
struct {
int num;
union {
const int *ia;
const double *da;
const char * const *sa;
} data;
} ary;
} ngraph_returned_value;
typedef int (* ngraph_plugin_exec) (struct ngraph_plugin *plugin, int argc, char *argv[]);
typedef int (* ngraph_plugin_open) (struct ngraph_plugin *plugin);
typedef void (* ngraph_plugin_close) (struct ngraph_plugin *plugin);
void *ngraph_plugin_get_user_data(struct ngraph_plugin *shlocal);
void ngraph_plugin_set_user_data(struct ngraph_plugin *shlocal, void *user_data);
int ngraph_putobj(struct objlist *obj, const char *vname, int id, ngraph_value *val);
int ngraph_getobj(struct objlist *obj, const char *vname, int id, ngraph_arg *arg, ngraph_returned_value *val);
int ngraph_exeobj(struct objlist *obj, const char *vname, int id, ngraph_arg *arg);
int ngraph_get_id_by_oid(struct objlist *obj, int oid);
int ngraph_move_top(struct objlist *obj, int id);
int ngraph_move_last(struct objlist *obj, int id);
int ngraph_move_up(struct objlist *obj, int id);
int ngraph_move_down(struct objlist *obj, int id);
int ngraph_exchange(struct objlist *obj, int id1, int id2);
int ngraph_copy(struct objlist *obj, int id_dest, int id_src);
int ngraph_new(struct objlist *obj);
int ngraph_del(struct objlist *obj, int id);
int ngraph_exist(struct objlist *obj, int id);
int ngraph_get_obj_field_num(struct objlist *obj);
int ngraph_get_obj_field_permission(struct objlist *obj, const char *field);
enum ngraph_object_field_type ngraph_get_obj_field_type(struct objlist *obj, const char *field);
const char *ngraph_get_obj_name(struct objlist *obj);
const char *ngraph_get_obj_field_args(struct objlist *obj, const char *field);
const char *ngraph_get_obj_field(struct objlist *obj, int i);
const char *ngraph_get_obj_version(struct objlist *obj);
struct objlist *ngraph_get_object(const char *name);
struct objlist *ngraph_get_obj_parent(struct objlist *obj);
struct objlist *ngraph_get_obj_root(void);
struct objlist *ngraph_get_obj_next(struct objlist *obj);
struct objlist *ngraph_get_obj_child(struct objlist *obj);
struct objlist *ngraph_get_instances_by_str(const char *str, int *n, int **ids);
int ngraph_get_obj_id(struct objlist *obj);
int ngraph_get_obj_size(struct objlist *obj);
int ngraph_get_obj_current_id(struct objlist *obj);
int ngraph_get_obj_last_id(struct objlist *obj);
int ngraph_puts(const char *s);
int ngraph_err_puts(const char *s);
void ngraph_sleep(int t);
#endif
|