X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fdriver-provider.h;h=aa70bb454adc691a830d0164b5d77dbe15158977;hb=d6cbbc8d634fa91f050661355139a4e4697e99ab;hp=012a304e36ac46cf58dfcb66fc5533cbb8b81af3;hpb=7b51bc9abbb6ed4a34cf396883d1dc8479b1e554;p=pspp diff --git a/src/output/driver-provider.h b/src/output/driver-provider.h index 012a304e36..aa70bb454a 100644 --- a/src/output/driver-provider.h +++ b/src/output/driver-provider.h @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 1997-9, 2000, 2007, 2009, 2010, 2012 Free Software Foundation, Inc. + Copyright (C) 1997-9, 2000, 2007, 2009, 2010, 2012, 2014 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -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); };