1 2/* 3 Samba CIFS implementation 4 ADS convenience functions for GPO 5 6 Copyright (C) 2008 Jelmer Vernooij, jelmer@samba.org 7 Copyright (C) 2008 Wilco Baan Hofman, wilco@baanhofman.nl 8 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. 13 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. 18 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/>. 21*/ 22 23#ifndef __LIBGPO_GPO_S4_H__ 24#define __LIBGPO_GPO_S4_H__ 25 26#if _SAMBA_BUILD_ == 4 27#include "source4/libcli/libcli.h" 28#endif 29 30NTSTATUS gpo_copy_file(TALLOC_CTX *mem_ctx, 31 struct smbcli_state *cli, 32 const char *nt_path, 33 const char *unix_path); 34 35NTSTATUS gpo_sync_directories(TALLOC_CTX *mem_ctx, 36 struct smbcli_state *cli, 37 const char *nt_path, 38 const char *local_path); 39 40#endif 41