25 #ifndef PIPEWIRE_PERMISSION_H 26 #define PIPEWIRE_PERMISSION_H 32 #include <spa/utils/defs.h> 44 #define PW_PERM_R 0400 45 #define PW_PERM_W 0200 46 #define PW_PERM_X 0100 48 #define PW_PERM_RWX (PW_PERM_R|PW_PERM_W|PW_PERM_X) 50 #define PW_PERM_IS_R(p) (((p)&PW_PERM_R) == PW_PERM_R) 51 #define PW_PERM_IS_W(p) (((p)&PW_PERM_W) == PW_PERM_W) 52 #define PW_PERM_IS_X(p) (((p)&PW_PERM_X) == PW_PERM_X) 59 #define PW_PERMISSION_INIT(id,p) (struct pw_permission){ (id), (p) } a PipeWire permission
Definition: permission.h:55
uint32_t permissions
bitmask of above permissions
Definition: permission.h:57
uint32_t id
id of object, SPA_ID_INVALID for default permission
Definition: permission.h:56