s4:rpcsrv:dnsserver: make dns_name_compare transitive with NULLs
[samba.git] / lib / printer_driver / printer_driver.h
blobe7f7b21a3a72a88dbbedfda4d47dcf6de8c33100
1 /*
2 Unix SMB/CIFS implementation.
4 Copyright (C) Guenther Deschner 2016
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>.
20 struct spoolss_AddDriverInfo8;
21 NTSTATUS driver_inf_parse(TALLOC_CTX *mem_ctx,
22 const char *core_driver_inf,
23 const char *filename,
24 const char *environment,
25 const char *driver_name,
26 struct spoolss_AddDriverInfo8 *r,
27 const char **source_disk_name);
28 NTSTATUS driver_inf_list(TALLOC_CTX *mem_ctx,
29 const char *core_driver_inf,
30 const char *filename,
31 const char *environment,
32 uint32_t *count,
33 struct spoolss_AddDriverInfo8 **r);