Module Xs_protocol.Request

type path_op =
  1. | Read
  2. | Directory
  3. | Getperms
  4. | Write of string
  5. | Mkdir
  6. | Rm
  7. | Setperms of ACL.t
type payload =
  1. | PathOp of string * path_op
  2. | Getdomainpath of int
  3. | Transaction_start
  4. | Watch of string * string
  5. | Unwatch of string * string
  6. | Transaction_end of bool
  7. | Debug of string list
  8. | Introduce of int * Stdlib.Nativeint.t * int
  9. | Resume of int
  10. | Release of int
  11. | Set_target of int * int
  12. | Restrict of int
  13. | Isintroduced of int
  14. | Error of string
  15. | Watchevent of string
val ty_of_payload : payload -> Op.t
val prettyprint_payload : payload -> string
val prettyprint : t -> string
val parse : t -> payload option
val print : payload -> int32 -> int32 -> t