libcli/security: add init_mask to existing children in insert_in_object_tree
[sharpe/samba-autobuild/.git] / libcli / security / display_sec.h
1 /*
2    Unix SMB/CIFS implementation.
3    Samba utility functions
4    Copyright (C) Andrew Tridgell 1992-1999
5    Copyright (C) Luke Kenneth Casson Leighton 1996 - 1999
6
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.
11
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.
16
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/>.
19 */
20
21 #ifndef _LIBCLI_SECURITY_DISPLAY_SEC_H
22 #define _LIBCLI_SECURITY_DISPLAY_SEC_H
23
24 /* The following definitions come from libcli/security/display_sec.c */
25
26 char *get_sec_mask_str(TALLOC_CTX *ctx, uint32_t type);
27 void display_sec_access(uint32_t *info);
28 void display_sec_ace_flags(uint8_t flags);
29 void display_sec_ace(struct security_ace *ace);
30 void display_sec_acl(struct security_acl *sec_acl);
31 void display_acl_type(uint16_t type);
32 void display_sec_desc(struct security_descriptor *sec);
33
34 #endif /* _LIBCLI_SECURITY_DISPLAY_SEC_H */