2 * Unix SMB/CIFS implementation.
6 * Copyright (c) 2005 Marcin Krzysztof Porwit
7 * Copyright (c) 2005 Gerald (Jerry) Carter
8 * Copyright (c) 2011 Andreas Schneider <asn@samba.org>
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 3 of the License, or
13 * (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, see <http://www.gnu.org/licenses/>.
24 #ifndef SVC_WINREG_GLUE_H
25 #define SVC_WINREG_GLUE_H
27 struct auth_session_info
;
29 struct security_descriptor
* svcctl_gen_service_sd(TALLOC_CTX
*mem_ctx
);
31 WERROR
svcctl_get_secdesc(struct messaging_context
*msg_ctx
,
32 const struct auth_session_info
*session_info
,
35 struct security_descriptor
**result
);
37 bool svcctl_set_secdesc(struct messaging_context
*msg_ctx
,
38 const struct auth_session_info
*session_info
,
40 struct security_descriptor
*sd
);
42 const char *svcctl_get_string_value(TALLOC_CTX
*mem_ctx
,
43 struct messaging_context
*msg_ctx
,
44 const struct auth_session_info
*session_info
,
46 const char *value_name
);
48 const char *svcctl_lookup_dispname(TALLOC_CTX
*mem_ctx
,
49 struct messaging_context
*msg_ctx
,
50 const struct auth_session_info
*session_info
,
53 const char *svcctl_lookup_description(TALLOC_CTX
*mem_ctx
,
54 struct messaging_context
*msg_ctx
,
55 const struct auth_session_info
*session_info
,
58 #endif /* SVC_WINREG_GLUE_H */
60 /* vim: set ts=8 sw=8 noet cindent syntax=c.doxygen: */