void output_driver_init (struct output_driver *,
const struct output_driver_class *,
void output_driver_init (struct output_driver *,
const struct output_driver_class *,
void output_driver_destroy (struct output_driver *);
const char *output_driver_get_name (const struct output_driver *);
void output_driver_destroy (struct output_driver *);
const char *output_driver_get_name (const struct output_driver *);
/* One kind of output driver.
Output driver implementations must not call msg() to report errors. This
/* One kind of output driver.
Output driver implementations must not call msg() to report errors. This
/* An abstract way for the output subsystem to create an output driver. */
struct output_driver_factory
{
/* An abstract way for the output subsystem to create an output driver. */
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). */
The returned driver should not have been registered (with
output_driver_register). The caller will register the driver (if this
is desirable). */
enum settings_output_devices type,
struct string_map *options);
};
enum settings_output_devices type,
struct string_map *options);
};