s4-libnet: Fix setting the group handle and return codes.
[Samba/wip.git] / source3 / registry / reg_util_token.h
blob558c78728a35661c49dd636a394bb08ccf7cf0eb
1 /*
2 * Unix SMB/CIFS implementation.
3 * Registry helper routines
4 * Copyright (C) Michael Adam 2007
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the Free
8 * Software Foundation; either version 3 of the License, or (at your option)
9 * any later version.
11 * This program is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 * more details.
16 * You should have received a copy of the GNU General Public License along with
17 * this program; if not, see <http://www.gnu.org/licenses/>.
20 #ifndef _REG_UTIL_TOKEN_H
21 #define _REG_UTIL_TOKEN_H
23 NTSTATUS registry_create_admin_token(TALLOC_CTX *mem_ctx,
24 struct security_token **ptoken);
26 #endif /* _REG_UTIL_TOKEN_H */