aboutsummaryrefslogtreecommitdiff
path: root/nodelink.h
blob: 44598a5d5e3e99b8e931ea14364f5e2a018c8097 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef __NODELINK_H__
#define __NODELINK_H__

#include "strbst.h"

typedef struct node {
    strbst* links;
} node;

typedef struct link {
    char* desc;
    node* to;
} link;

node* newnode(void);
link* newlink(node* to);

#endif