s4-smbtorture: add PrinterInfo_to_SetPrinterInfo helper to RPC-SPOOLSS.
[Samba/nascimento.git] / source4 / libgpo / gpo_s4.h
blobf616f6bd320647097d240ab6a6d1ebfcf2bdac31
2 /*
3 Samba CIFS implementation
4 ADS convenience functions for GPO
6 Copyright (C) 2008 Jelmer Vernooij, jelmer@samba.org
7 Copyright (C) 2008 Wilco Baan Hofman, wilco@baanhofman.nl
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 3 of the License, or
12 (at your option) any later version.
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with this program. If not, see <http://www.gnu.org/licenses/>.
23 #ifndef __LIBGPO_GPO_S4_H__
24 #define __LIBGPO_GPO_S4_H__
26 #if _SAMBA_BUILD_ == 4
27 #include "source4/libcli/libcli.h"
28 #endif
30 NTSTATUS gpo_copy_file(TALLOC_CTX *mem_ctx,
31 struct smbcli_state *cli,
32 const char *nt_path,
33 const char *unix_path);
35 NTSTATUS gpo_sync_directories(TALLOC_CTX *mem_ctx,
36 struct smbcli_state *cli,
37 const char *nt_path,
38 const char *local_path);
40 #endif