diff options
author | Wilco Baan Hofman <wilco@baanhofman.nl> | 2009-03-15 04:40:12 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-04-20 23:16:17 +0200 |
commit | b939638dc79daa065c58755abf9f58d1df571401 (patch) | |
tree | 877eea4bc07701bbba497028e6e870fb74890606 /source4/libgpo/gpo.h | |
parent | 161d2603d2d7b1163b124ba3c529780e8aeec409 (diff) | |
download | samba-b939638dc79daa065c58755abf9f58d1df571401.tar.gz samba-b939638dc79daa065c58755abf9f58d1df571401.tar.bz2 samba-b939638dc79daa065c58755abf9f58d1df571401.zip |
Make the gpo files build for samba 4.
Only gpt.ini remaining. Not suitable for merge yet, samba 3 is currently broken due to some changed public API.
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source4/libgpo/gpo.h')
-rw-r--r-- | source4/libgpo/gpo.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/source4/libgpo/gpo.h b/source4/libgpo/gpo.h new file mode 100644 index 0000000000..3e5cb06bdc --- /dev/null +++ b/source4/libgpo/gpo.h @@ -0,0 +1,36 @@ + +/* + Samba CIFS implementation + ADS convenience functions for GPO + + Copyright (C) 2008 Jelmer Vernooij, jelmer@samba.org + Copyright (C) 2008 Wilco Baan Hofman, wilco@baanhofman.nl + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef __LIBGPO_GPO_H__ +#define __LIBGPO_GPO_H__ + +NTSTATUS gpo_copy_file(TALLOC_CTX *mem_ctx, + struct smbcli_state *cli, + const char *nt_path, + const char *unix_path); + +NTSTATUS gpo_sync_directories(TALLOC_CTX *mem_ctx, + struct smbcli_state *cli, + const char *nt_path, + const char *local_path); + +#endif |