summaryrefslogtreecommitdiff
path: root/hald/solaris/probing/printer.h
blob: cab60bf568b984117f070bc8cd8418d24bc9a0c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * Copyright 2011 Andrew Stormont <andyjstormont@gmail.com>
 * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
 * Use is subject to license terms.
 *
 * Licensed under the Academic Free License version 2.1
 */

#ifndef _PRINTER_H
#define	_PRINTER_H

#include <libhal.h>

extern int ieee1284_devid_to_printer_info(char *devid_string,
		char **manufacturer, char **model, char **description,
		char **class, char **serial_no, char ***command_set);

extern int add_printer_info(LibHalChangeSet *cs, char *udi, char *manufacturer,
		char *model, char *serial_number, char *description,
		char **command_set, char *device);

#endif /* _PRINTER_H */