]> git.lizzy.rs Git - libscout.git/blob - scout.h
aa1130cb40bbd1c6a2bb88cf024edf545b9ee20a
[libscout.git] / scout.h
1 #ifndef _LIBSCOUT_H_
2 #define _LIBSCOUT_H_
3
4 struct scnode {
5         struct scway *way;
6         void *dat;
7 };
8
9 struct scway {
10         const struct scnode *lto;
11         struct scway *alt;
12         int len;
13 };
14
15 struct scwaypoint {
16         const struct scnode *nod;
17         const struct scway *way;
18         struct scwaypoint *nxt;
19         int len;
20 };
21
22 struct scway *scaddway(struct scnode *, const struct scnode *, int);
23 struct scwaypoint *scout(const struct scnode *, const struct scnode *, struct scwaypoint *);
24
25 #endif