Mon, 31 Dec 2001 08:12:58 +0000
moved most type declarations from semantics.h to semantics.c.
made various functions static.
1 typedef struct
2 {
3 double width;
4 double height;
5 } page_size_t;
7 typedef struct
8 {
9 int first;
10 int last;
11 } range_t;
13 typedef struct
14 {
15 double left;
16 double right;
17 double top;
18 double bottom;
19 } crop_t;
22 typedef enum
23 {
24 INPUT_MODIFIER_ALL,
25 INPUT_MODIFIER_ODD,
26 INPUT_MODIFIER_EVEN,
27 INPUT_MODIFIER_TYPE_COUNT /* must be last */
28 } input_modifier_type_t;
31 extern int line; /* line number in spec file */
34 boolean parse_spec_file (char *fn);
37 /* semantic routines for input statements */
38 void input_push_context (void);
39 void input_pop_context (void);
40 void input_set_modifier_context (input_modifier_type_t type);
41 void input_set_file (char *name);
42 void input_set_rotation (int rotation);
43 void input_images (range_t range);
45 /* semantic routines for output statements */
46 void output_set_file (char *name);
47 void output_set_bookmark (char *name);
48 void output_set_page_number_format (char *format);
49 void output_pages (range_t range);