X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Foutput.h;h=a61161abfd83614045cf5cb8bede0d6914cebe75;hb=b74d09af5e07f954c18e7cdb8aca3af47fa10208;hp=8f44b1d9f74f85220d39eb9eedea0c704aeb69fb;hpb=75862bc63003b33702bfd6844b8a4d1c632488b3;p=pspp-builds.git diff --git a/src/output/output.h b/src/output/output.h index 8f44b1d9..a61161ab 100644 --- a/src/output/output.h +++ b/src/output/output.h @@ -55,7 +55,7 @@ struct outp_text { enum outp_font font; enum outp_justification justification; - struct fixed_string string; + struct substring string; int h, v; /* Horizontal, vertical size. */ int x, y; /* Position. */ }; @@ -70,7 +70,7 @@ struct outp_class const char *name; /* Name of this driver class. */ int special; /* Boolean value. */ - bool (*open_driver) (struct outp_driver *, const struct string *options); + bool (*open_driver) (struct outp_driver *, struct substring options); bool (*close_driver) (struct outp_driver *); void (*open_page) (struct outp_driver *); @@ -148,7 +148,7 @@ void outp_list_classes (void); void outp_enable_device (int enable, int device); struct outp_driver *outp_drivers (struct outp_driver *); -bool outp_parse_options (const struct string *options, +bool outp_parse_options (struct substring options, bool (*) (struct outp_driver *, const char *key, const struct string *value), struct outp_driver *);