Mercurial > ~dholland > hg > tradcpp > index.cgi
diff place.h @ 10:800f3a560a3b
move seenfiles to place.c too
author | David A. Holland |
---|---|
date | Sun, 19 Dec 2010 19:27:14 -0500 |
parents | 97243badae69 |
children | b9d50e786322 |
line wrap: on
line diff
--- a/place.h Sun Dec 19 19:19:02 2010 -0500 +++ b/place.h Sun Dec 19 19:27:14 2010 -0500 @@ -4,6 +4,9 @@ unsigned column; }; +void place_init(void); +void place_cleanup(void); + struct place *place_gettemporary(void); void place_puttemporary(struct place *p); struct place *place_create(void); @@ -13,6 +16,4 @@ void place_setbuiltin(struct place *p, unsigned num); void place_setcommandline(struct place *p, unsigned column); -/* in files.c */ -const char *seenfile_getname(const struct seenfile *file); -const struct place *seenfile_getincludeplace(const struct seenfile *file); +struct seenfile *place_seen_file(const struct place *p, char *name, bool fromsystemdir);