annotate 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
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 struct place *place_gettemporary(void);
97243badae69 split place stuff to its own file
David A. Holland
parents:
diff changeset
11 void place_puttemporary(struct place *p);
97243badae69 split place stuff to its own file
David A. Holland
parents:
diff changeset
12 struct place *place_create(void);
97243badae69 split place stuff to its own file
David A. Holland
parents:
diff changeset
13 struct place *place_clone(const struct place *p);
97243badae69 split place stuff to its own file
David A. Holland
parents:
diff changeset
14 void place_destroy(struct place *);
97243badae69 split place stuff to its own file
David A. Holland
parents:
diff changeset
15 void place_setnowhere(struct place *p);
97243badae69 split place stuff to its own file
David A. Holland
parents:
diff changeset
16 void place_setbuiltin(struct place *p, unsigned num);
97243badae69 split place stuff to its own file
David A. Holland
parents:
diff changeset
17 void place_setcommandline(struct place *p, unsigned column);
97243badae69 split place stuff to its own file
David A. Holland
parents:
diff changeset
18
10
800f3a560a3b move seenfiles to place.c too
David A. Holland
parents: 8
diff changeset
19 struct seenfile *place_seen_file(const struct place *p, char *name, bool fromsystemdir);