package xenstore

  1. Overview
  2. Docs

Module Xs_protocol.ACLSource

Access control lists.

Sourcetype perm =
  1. | NONE
  2. | READ
  3. | WRITE
  4. | RDWR
Sourceval char_of_perm : perm -> char
Sourceval perm_of_char : char -> perm option
Sourcetype domid = int
Sourcetype t = {
  1. owner : domid;
    (*

    domain which "owns", has full access

    *)
  2. other : perm;
    (*

    default permissions for all others...

    *)
  3. acl : (domid * perm) list;
    (*

    ... unless overridden in the ACL

    *)
}
Sourceval of_string : string -> t option
Sourceval to_string : t -> string