s3:smbd:smb2: change smbXsrv_session0 to smbXsrv_session in struct user_struct.
[Samba/gebeck_regimport.git] / source3 / registry / reg_api_regf.h
blobc68261fa95fc520f0a74a54f9d9643b2b89ceccf
1 /*
2 * Unix SMB/CIFS implementation.
4 * Virtual Windows Registry Layer
6 * Copyright (C) Volker Lendecke 2006
7 * Copyright (C) Michael Adam 2007-2008
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/>.
24 * Portion of reg_api that references regfio.c code.
25 * These are the savekey and restorekey calls.
26 * These calls are currently only used in the WINREG rpc server.
29 #ifndef _REG_API_REGF_H
30 #define _REG_API_REGF_H
32 WERROR reg_restorekey(struct registry_key *key, const char *fname);
33 WERROR reg_savekey(struct registry_key *key, const char *fname);
35 #endif /* _REG_API_REGF_H */