mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-04-06 17:49:11 +03:00
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.
This commit is contained in:
parent
d700637207
commit
3e5d3d3285
@ -29,6 +29,15 @@ typedef struct ksiddomain {
|
|||||||
char *kd_name;
|
char *kd_name;
|
||||||
} ksiddomain_t;
|
} 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 *
|
static inline ksiddomain_t *
|
||||||
ksid_lookupdomain(const char *dom)
|
ksid_lookupdomain(const char *dom)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user