From fefba3e4af914bb914aaaa389f5d033306e6a780 Mon Sep 17 00:00:00 2001 From: EliasFleckenstein03 Date: Mon, 28 Sep 2020 15:36:11 +0200 Subject: Still unfinished --- scout.h | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'scout.h') diff --git a/scout.h b/scout.h index aa1130c..fc625f2 100644 --- a/scout.h +++ b/scout.h @@ -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__ -- cgit v1.2.3