]> granicus.if.org Git - spl/commitdiff
Add ksid_index_t and ksid_t types
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 12 Jan 2011 19:25:20 +0000 (11:25 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 28 Jan 2011 00:06:09 +0000 (16:06 -0800)
Add the ksid_index_t enum and ksid_t type for use.  These types
are now used by packages which depend on the SPL.

include/sys/sid.h

index ac32d7bf7341f16935eefe00015e23424fdc7bbf..17e32e25ff66b87b49f733985b47fdf1873c7f4d 100644 (file)
@@ -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)
 {