data-out: Make binary output buffer big enough for a null terminator.
[pspp] / src / output / driver-provider.h
index 1f3f726949575adf2905086f125bf44cac2f6d53..ffa483b4618db20297b00cde88a40aa47d9b1a12 100644 (file)
@@ -28,6 +28,7 @@ struct output_iterator;
 struct string_map;
 struct file_handle;
 struct page_setup;
+struct driver_options;
 
 /* A configured output driver. */
 struct output_driver
@@ -37,10 +38,6 @@ struct output_driver
     enum settings_output_devices device_type; /* One of SETTINGS_DEVICE_*. */
   };
 
-void output_driver_init (struct output_driver *,
-                         const struct output_driver_class *,
-                         const char *, enum settings_output_devices);
-
 void output_driver_destroy (struct output_driver *);
 
 const char *output_driver_get_name (const struct output_driver *);
@@ -117,7 +114,7 @@ struct output_driver_factory
        is desirable). */
     struct output_driver *(*create) (struct file_handle *,
                                      enum settings_output_devices type,
-                                     struct string_map *options);
+                                     struct driver_options *);
   };
 
 #endif /* output/driver-provider.h */