From: Brian Behlendorf Date: Wed, 12 Jan 2011 19:25:20 +0000 (-0800) Subject: Add ksid_index_t and ksid_t types X-Git-Tag: spl-0.6.0-rc1~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3e5d3d32858683d3410a63c712412167c345853b;p=spl Add ksid_index_t and ksid_t types Add the ksid_index_t enum and ksid_t type for use. These types are now used by packages which depend on the SPL. --- diff --git a/include/sys/sid.h b/include/sys/sid.h index ac32d7b..17e32e2 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) {