s3-printing: add winreg_printer_binding_handle and remove most of srv_spoolss_util.c.
[Samba.git] / source3 / rpc_server / spoolss / srv_spoolss_util.h
blob2b236afc3c71b326095751640207a602474c598b
1 /*
2 * Unix SMB/CIFS implementation.
4 * SPOOLSS RPC Pipe server / winreg client routines
6 * Copyright (c) 2010 Andreas Schneider <asn@samba.org>
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 3 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, see <http://www.gnu.org/licenses/>.
22 #ifndef _SRV_SPOOLSS_UITL_H
23 #define _SRV_SPOOLSS_UITL_H
25 struct auth_serversupplied_info;
26 struct dcerpc_binding_handle;
28 WERROR winreg_printer_binding_handle(TALLOC_CTX *mem_ctx,
29 const struct auth_serversupplied_info *session_info,
30 struct messaging_context *msg_ctx,
31 struct dcerpc_binding_handle **winreg_binding_handle);
33 #endif /* _SRV_SPOOLSS_UITL_H */