source: trunk/server/source3/services/svc_winreg_glue.h

Last change on this file was 745, checked in by Silvan Scherrer, 13 years ago

Samba Server: updated trunk to 3.6.0

File size: 2.1 KB
Line 
1/*
2 * Unix SMB/CIFS implementation.
3 *
4 * SVC winreg glue
5 *
6 * Copyright (c) 2005 Marcin Krzysztof Porwit
7 * Copyright (c) 2005 Gerald (Jerry) Carter
8 * Copyright (c) 2011 Andreas Schneider <asn@samba.org>
9 *
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.
14 *
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.
19 *
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/>.
22 */
23
24#ifndef SVC_WINREG_GLUE_H
25#define SVC_WINREG_GLUE_H
26
27struct auth_serversupplied_info;
28
29struct security_descriptor* svcctl_gen_service_sd(TALLOC_CTX *mem_ctx);
30
31struct security_descriptor *svcctl_get_secdesc(TALLOC_CTX *mem_ctx,
32 struct messaging_context *msg_ctx,
33 const struct auth_serversupplied_info *session_info,
34 const char *name);
35
36bool svcctl_set_secdesc(struct messaging_context *msg_ctx,
37 const struct auth_serversupplied_info *session_info,
38 const char *name,
39 struct security_descriptor *sd);
40
41const char *svcctl_get_string_value(TALLOC_CTX *mem_ctx,
42 struct messaging_context *msg_ctx,
43 const struct auth_serversupplied_info *session_info,
44 const char *key_name,
45 const char *value_name);
46
47const char *svcctl_lookup_dispname(TALLOC_CTX *mem_ctx,
48 struct messaging_context *msg_ctx,
49 const struct auth_serversupplied_info *session_info,
50 const char *name);
51
52const char *svcctl_lookup_description(TALLOC_CTX *mem_ctx,
53 struct messaging_context *msg_ctx,
54 const struct auth_serversupplied_info *session_info,
55 const char *name);
56
57#endif /* SVC_WINREG_GLUE_H */
58
59/* vim: set ts=8 sw=8 noet cindent syntax=c.doxygen: */
Note: See TracBrowser for help on using the repository browser.