summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/sys/sid.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/sys/sid.h b/include/sys/sid.h
index ac32d7bf7..17e32e25f 100644
--- a/include/sys/sid.h
+++ b/include/sys/sid.h
@@ -29,6 +29,15 @@ typedef struct ksiddomain {
char *kd_name;
} ksiddomain_t;
+typedef enum ksid_index {
+ KSID_USER,
+ KSID_GROUP,
+ KSID_OWNER,
+ KSID_COUNT
+} ksid_index_t;
+
+typedef int ksid_t;
+
static inline ksiddomain_t *
ksid_lookupdomain(const char *dom)
{