s3:registry: remove usage of reg_objects from net_rpc_printer.c
[Samba.git] / libcli / security / display_sec.h
blob336e04c6fe0bbca73de27c075b619e155f1265a3
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
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 _LIBCLI_SECURITY_DISPLAY_SEC_H
22 #define _LIBCLI_SECURITY_DISPLAY_SEC_H
24 /* The following definitions come from libcli/security/display_sec.c */
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);
34 #endif /* _LIBCLI_SECURITY_DISPLAY_SEC_H */