diff options
author | EliasFleckenstein03 <eliasfleckenstein@web.de> | 2020-09-28 15:36:11 +0200 |
---|---|---|
committer | EliasFleckenstein03 <eliasfleckenstein@web.de> | 2020-09-28 15:36:11 +0200 |
commit | fefba3e4af914bb914aaaa389f5d033306e6a780 (patch) | |
tree | c802983471828be41fb6374e8767496f587e8b09 /scout.h | |
parent | 8430394c9d903a9ac246c47a31da59f774f6ae19 (diff) | |
download | libscout-fefba3e4af914bb914aaaa389f5d033306e6a780.tar.xz |
Still unfinished
Diffstat (limited to 'scout.h')
-rw-r--r-- | scout.h | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -1,5 +1,5 @@ -#ifndef _LIBSCOUT_H_ -#define _LIBSCOUT_H_ +#ifndef __LIBSCOUT__ +#define __LIBSCOUT__ struct scnode { struct scway *way; @@ -22,4 +22,13 @@ struct scwaypoint { struct scway *scaddway(struct scnode *, const struct scnode *, int); struct scwaypoint *scout(const struct scnode *, const struct scnode *, struct scwaypoint *); -#endif +#ifdef __LIBSCOUT_INTERNAL__ + +struct scwaypoint *__scallocwayp(const struct scnode *, const struct scway *); +struct scwaypoint *__scstackfindgetend(struct scwaypoint *, const struct scway *); +void __scstackfree(struct scwaypoint *); +int __scstackgetlen(struct scwaypoint *); + +#endif // __LIBSCOUT_INTERNAL__ + +#endif // __LIBSCOUT__ |