3e5cb06bdc607a7b88eaa2b430b3b3c3b49e5e67
[ira/wip.git] / source4 / libgpo / gpo_s4.h
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_H__
24 #define __LIBGPO_GPO_H__
25
26 NTSTATUS gpo_copy_file(TALLOC_CTX *mem_ctx,
27                        struct smbcli_state *cli,
28                        const char *nt_path,
29                        const char *unix_path);
30
31 NTSTATUS gpo_sync_directories(TALLOC_CTX *mem_ctx,
32                               struct smbcli_state *cli,
33                               const char *nt_path,
34                               const char *local_path);
35
36 #endif