X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Foutput.h;h=2585aa8cbf346783d02557d596db5757e8d4339a;hb=17b424d95a349548ce9965181a0cb9f929b10e41;hp=7215cb6ca3797cb3f006437a9278791ed503854e;hpb=458d169f64134f4e0a9d9b72398666a01761fcf8;p=pspp-builds.git diff --git a/src/output/output.h b/src/output/output.h index 7215cb6c..2585aa8c 100644 --- a/src/output/output.h +++ b/src/output/output.h @@ -14,8 +14,8 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#if !output_h -#define output_h 1 +#ifndef OUTPUT_OUTPUT_H +#define OUTPUT_OUTPUT_H 1 #include @@ -134,6 +134,7 @@ extern char *outp_subtitle; void outp_init (void); void outp_read_devices (void); +void outp_configure_driver_line (struct substring); void outp_done (void); void outp_configure_clear (void); @@ -142,7 +143,7 @@ void outp_configure_macro (char *); void outp_list_classes (void); -void outp_enable_device (int enable, int device); +void outp_enable_device (bool enable, int device); struct outp_driver *outp_drivers (struct outp_driver *); bool outp_parse_options (struct substring options, @@ -151,8 +152,8 @@ bool outp_parse_options (struct substring options, struct outp_driver *); int outp_match_keyword (const char *, const struct outp_option *, int *); -int outp_evaluate_dimension (char *, char **); -bool outp_get_paper_size (char *, int *h, int *v); +int outp_evaluate_dimension (const char *); +bool outp_get_paper_size (const char *, int *h, int *v); void outp_open_page (struct outp_driver *); void outp_close_page (struct outp_driver *); @@ -164,4 +165,4 @@ int outp_string_width (struct outp_driver *, const char *, enum outp_font); /* Imported from som-frnt.c. */ void som_destroy_driver (struct outp_driver *); -#endif /* output.h */ +#endif /* output/output.h */