summaryrefslogtreecommitdiff
path: root/libds/common/flag_mapping.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-02-24 11:23:53 +1100
committerAndrew Tridgell <tridge@samba.org>2011-02-24 11:57:48 +1100
commit94c04b10db5032d83c21ea6eb8665bf930e81a9f (patch)
tree0ed6684221fb43ea2897ba2826bbecc9a024ac62 /libds/common/flag_mapping.h
parent8dbe665a0c0870aeb298b8f0d5a8a1a05e21a719 (diff)
downloadsamba-94c04b10db5032d83c21ea6eb8665bf930e81a9f.tar.gz
samba-94c04b10db5032d83c21ea6eb8665bf930e81a9f.tar.bz2
samba-94c04b10db5032d83c21ea6eb8665bf930e81a9f.zip
build: moved libds/common/flag_mapping.c into a common subsystem
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'libds/common/flag_mapping.h')
-rw-r--r--libds/common/flag_mapping.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/libds/common/flag_mapping.h b/libds/common/flag_mapping.h
new file mode 100644
index 0000000000..4b1cc3b05f
--- /dev/null
+++ b/libds/common/flag_mapping.h
@@ -0,0 +1,13 @@
+#ifndef __LIBDS_COMMON_FLAG_MAPPING_H__
+#define __LIBDS_COMMON_FLAG_MAPPING_H__
+
+/* The following definitions come from flag_mapping.c */
+
+uint32_t ds_acb2uf(uint32_t acb);
+uint32_t ds_uf2acb(uint32_t uf);
+uint32_t ds_uf2atype(uint32_t uf);
+uint32_t ds_gtype2atype(uint32_t gtype);
+enum lsa_SidType ds_atype_map(uint32_t atype);
+uint32_t ds_uf2prim_group_rid(uint32_t uf);
+
+#endif /* __LIBDS_COMMON_FLAG_MAPPING_H__ */