{
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. */
};
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 *);
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 *);