From 71832a404e5028c1c3933351c608a99e4fc80e42 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 30 Aug 2010 14:16:36 +1000 Subject: libcli/security Expose sec_privilege_mask() Signed-off-by: Andrew Tridgell --- libcli/security/privileges.c | 2 +- libcli/security/privileges.h | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'libcli') diff --git a/libcli/security/privileges.c b/libcli/security/privileges.c index b15a4ecc1a..5c33f04693 100644 --- a/libcli/security/privileges.c +++ b/libcli/security/privileges.c @@ -171,7 +171,7 @@ static const struct { /* return a privilege mask given a privilege id */ -static uint64_t sec_privilege_mask(enum sec_privilege privilege) +uint64_t sec_privilege_mask(enum sec_privilege privilege) { int i; for (i=0;i