X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fdriver-provider.h;h=aa70bb454adc691a830d0164b5d77dbe15158977;hb=0bda70f475aad77db5636ae0bca170513353c988;hp=754b0d0b5677adaa54b7f37c550dfe643fe22a20;hpb=0df9cdd3df66caf4353128feff3008289cda8115;p=pspp diff --git a/src/output/driver-provider.h b/src/output/driver-provider.h index 754b0d0b56..aa70bb454a 100644 --- a/src/output/driver-provider.h +++ b/src/output/driver-provider.h @@ -25,6 +25,7 @@ struct output_item; struct string_map; +struct file_handle; /* A configured output driver. */ struct output_driver @@ -36,7 +37,8 @@ struct output_driver void output_driver_init (struct output_driver *, const struct output_driver_class *, - const char *name, enum settings_output_devices); + const char *, enum settings_output_devices); + void output_driver_destroy (struct output_driver *); const char *output_driver_get_name (const struct output_driver *); @@ -98,7 +100,7 @@ struct output_driver_factory The returned driver should not have been registered (with output_driver_register). The caller will register the driver (if this is desirable). */ - struct output_driver *(*create) (const char *name, + struct output_driver *(*create) (struct file_handle *, enum settings_output_devices type, struct string_map *options); };