annotate place.h @ 11:b9d50e786322

simplify places
author David A. Holland
date Sun, 19 Dec 2010 19:30:24 -0500
parents 800f3a560a3b
children 6c15ca895585
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8
97243badae69 split place stuff to its own file
David A. Holland
parents:
diff changeset
1 struct place {
97243badae69 split place stuff to its own file
David A. Holland
parents:
diff changeset
2 struct seenfile *file;
97243badae69 split place stuff to its own file
David A. Holland
parents:
diff changeset
3 unsigned line;
97243badae69 split place stuff to its own file
David A. Holland
parents:
diff changeset
4 unsigned column;
97243badae69 split place stuff to its own file
David A. Holland
parents:
diff changeset
5 };
97243badae69 split place stuff to its own file
David A. Holland
parents:
diff changeset
6
10
800f3a560a3b move seenfiles to place.c too
David A. Holland
parents: 8
diff changeset
7 void place_init(void);
800f3a560a3b move seenfiles to place.c too
David A. Holland
parents: 8
diff changeset
8 void place_cleanup(void);
800f3a560a3b move seenfiles to place.c too
David A. Holland
parents: 8
diff changeset
9
8
97243badae69 split place stuff to its own file
David A. Holland
parents:
diff changeset
10 void place_setnowhere(struct place *p);
97243badae69 split place stuff to its own file
David A. Holland
parents:
diff changeset
11 void place_setbuiltin(struct place *p, unsigned num);
11
b9d50e786322 simplify places
David A. Holland
parents: 10
diff changeset
12 void place_setcommandline(struct place *p, unsigned word);
8
97243badae69 split place stuff to its own file
David A. Holland
parents:
diff changeset
13
10
800f3a560a3b move seenfiles to place.c too
David A. Holland
parents: 8
diff changeset
14 struct seenfile *place_seen_file(const struct place *p, char *name, bool fromsystemdir);