annotate place.h @ 8:97243badae69

split place stuff to its own file
author David A. Holland
date Sun, 19 Dec 2010 19:15:55 -0500
parents
children 800f3a560a3b
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
97243badae69 split place stuff to its own file
David A. Holland
parents:
diff changeset
7 struct place *place_gettemporary(void);
97243badae69 split place stuff to its own file
David A. Holland
parents:
diff changeset
8 void place_puttemporary(struct place *p);
97243badae69 split place stuff to its own file
David A. Holland
parents:
diff changeset
9 struct place *place_create(void);
97243badae69 split place stuff to its own file
David A. Holland
parents:
diff changeset
10 struct place *place_clone(const struct place *p);
97243badae69 split place stuff to its own file
David A. Holland
parents:
diff changeset
11 void place_destroy(struct place *);
97243badae69 split place stuff to its own file
David A. Holland
parents:
diff changeset
12 void place_setnowhere(struct place *p);
97243badae69 split place stuff to its own file
David A. Holland
parents:
diff changeset
13 void place_setbuiltin(struct place *p, unsigned num);
97243badae69 split place stuff to its own file
David A. Holland
parents:
diff changeset
14 void place_setcommandline(struct place *p, unsigned column);
97243badae69 split place stuff to its own file
David A. Holland
parents:
diff changeset
15
97243badae69 split place stuff to its own file
David A. Holland
parents:
diff changeset
16 /* in files.c */
97243badae69 split place stuff to its own file
David A. Holland
parents:
diff changeset
17 const char *seenfile_getname(const struct seenfile *file);
97243badae69 split place stuff to its own file
David A. Holland
parents:
diff changeset
18 const struct place *seenfile_getincludeplace(const struct seenfile *file);