output: Modernize how drivers are initialized.
[pspp] / src / output / options.h
index 3f9e705602ab03fe1e4fcb8519fbcc374fca559d..36d7bac9fb4aba32b9bd188014cb954fa96faf43 100644 (file)
@@ -34,11 +34,7 @@ struct driver_option
     char *default_value;        /* Default value supplied by driver. */
   };
 
-struct driver_option *driver_option_create (const char *driver_name,
-                                            const char *name,
-                                            const char *value,
-                                            const char *default_value);
-struct driver_option *driver_option_get (struct output_driver *,
+struct driver_option *driver_option_get (const char *driver_name,
                                          struct string_map *,
                                          const char *name,
                                          const char *default_value);
@@ -52,4 +48,7 @@ int parse_dimension (struct driver_option *);
 char *parse_string (struct driver_option *);
 char *parse_chart_file_name (struct driver_option *);
 
+struct cell_color parse_color (struct driver_option *);
+bool parse_color__ (const char *, struct cell_color *);
+
 #endif /* output/options.h */