Fix bug 8196 - Many (newer) header files don't have copyright / GPL header comments.
[obnox/samba-ctdb.git] / libds / common / flag_mapping.h
1 #ifndef __LIBDS_COMMON_FLAG_MAPPING_H__
2 #define __LIBDS_COMMON_FLAG_MAPPING_H__
3
4 /*
5    Unix SMB/CIFS implementation.
6
7    (C) 2011 Samba Team.
8
9    This program is free software; you can redistribute it and/or modify
10    it under the terms of the GNU General Public License as published by
11    the Free Software Foundation; either version 3 of the License, or
12    (at your option) any later version.
13
14    This program is distributed in the hope that it will be useful,
15    but WITHOUT ANY WARRANTY; without even the implied warranty of
16    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17    GNU General Public License for more details.
18
19    You should have received a copy of the GNU General Public License
20    along with this program.  If not, see <http://www.gnu.org/licenses/>.
21 */
22
23 /* The following definitions come from flag_mapping.c  */
24
25 uint32_t ds_acb2uf(uint32_t acb);
26 uint32_t ds_uf2acb(uint32_t uf);
27 uint32_t ds_uf2atype(uint32_t uf);
28 uint32_t ds_gtype2atype(uint32_t gtype);
29 enum lsa_SidType ds_atype_map(uint32_t atype);
30 uint32_t ds_uf2prim_group_rid(uint32_t uf);
31
32 #endif /* __LIBDS_COMMON_FLAG_MAPPING_H__ */