aboutsummaryrefslogtreecommitdiff
path: root/nodelink.h
blob: a1d5eed820c640d2dc905d2c923f2ff40403b97a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#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);

void printnode(node* root);

#endif