2 * Unix SMB/CIFS implementation.
3 * Virtual Windows Registry Layer
4 * Copyright (C) Gerald Carter 2002-2005
5 * Copyright (C) Michael Adam 2009
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 3 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, see <http://www.gnu.org/licenses/>.
21 #ifndef _REG_UTIL_LEGACY_H
22 #define _REG_UTIL_LEGACY_H
25 * This module contains legacy code code from the old regkey
26 * interface that is now mostly hidden behind the reg_api interface.
27 * This code should be removed once the last users of the old code
28 * have been converted.
35 * legacy open key function that should be replaced by uses of
39 WERROR
regkey_open_internal(TALLOC_CTX
*ctx
,
40 struct registry_key_handle
**regkey
,
42 const struct nt_user_token
*token
,
43 uint32 access_desired
);
45 #endif /* _REG_UTIL_LEGACY_H */