masters-thesis/listings/struct_node.h

34 lines
528 B
C
Raw Normal View History

struct node_direction {
int enabled;
int builtin;
int vectorize;
struct list hooks;
json_t *cfg;
};
struct node
{
char *name;
char *_name;
char *_name_long;
int affinity;
uint64_t sequence;
struct stats *stats;
struct node_direction in, out;
struct list signals;
enum state state;
struct node_type *_vt;
void *_vd;
json_t *cfg;
};