comparison place.h @ 176:a2f047301c15

Replace Joerg's place_setfile with something that at least sort of works.
author David A. Holland
date Fri, 12 Jun 2015 02:55:02 -0400
parents f14f5352956c
children 4c3375895c6e
comparison
equal deleted inserted replaced
175:ffdb0b73856f 176:a2f047301c15
45 unsigned column; 45 unsigned column;
46 }; 46 };
47 47
48 void place_init(void); 48 void place_init(void);
49 void place_cleanup(void); 49 void place_cleanup(void);
50 const char *place_getname(const struct place *);
51 50
52 void place_setnowhere(struct place *p); 51 void place_setnowhere(struct place *p);
53 void place_setbuiltin(struct place *p, unsigned num); 52 void place_setbuiltin(struct place *p, unsigned num);
54 void place_setcommandline(struct place *p, unsigned word, unsigned column); 53 void place_setcommandline(struct place *p, unsigned word, unsigned column);
55 void place_setfilestart(struct place *p, const struct placefile *pf); 54 void place_setfilestart(struct place *p, const struct placefile *pf);
56 void place_setfile(struct place *p, const char *name);
57 55
56 const char *place_getname(const struct place *);
58 const char *place_getparsedir(const struct place *incplace); 57 const char *place_getparsedir(const struct place *incplace);
58
59 void place_changefile(struct place *p, const char *name);
59 60
60 const struct placefile *place_addfile(const struct place *incplace, 61 const struct placefile *place_addfile(const struct place *incplace,
61 const char *name, bool fromsystemdir); 62 const char *name, bool fromsystemdir);
62 63
63 #endif /* PLACE_H */ 64 #endif /* PLACE_H */