package mirage-qubes

  1. Overview
  2. Docs
type qdb_msg =
  1. | QDB_CMD_READ
  2. | QDB_CMD_WRITE
  3. | QDB_CMD_MULTIREAD
  4. | QDB_CMD_LIST
  5. | QDB_CMD_RM
  6. | QDB_CMD_WATCH
  7. | QDB_CMD_UNWATCH
  8. | QDB_RESP_OK
  9. | QDB_RESP_ERROR_NOENT
  10. | QDB_RESP_ERROR
  11. | QDB_RESP_READ
  12. | QDB_RESP_MULTIREAD
  13. | QDB_RESP_LIST
  14. | QDB_RESP_WATCH
val int_to_qdb_msg : int -> qdb_msg option
val qdb_msg_to_int : qdb_msg -> int
val compare_qdb_msg : qdb_msg -> qdb_msg -> int
val qdb_msg_to_string : qdb_msg -> string
val string_to_qdb_msg : string -> qdb_msg option
val sizeof_msg_header : int
val get_msg_header_ty : Cstruct.t -> Cstruct.uint8
val set_msg_header_ty : Cstruct.t -> Cstruct.uint8 -> unit
val get_msg_header_path : Cstruct.t -> Cstruct.t
val copy_msg_header_path : Cstruct.t -> string
val set_msg_header_path : string -> int -> Cstruct.t -> unit
val blit_msg_header_path : Cstruct.t -> int -> Cstruct.t -> unit
val get_msg_header_padding : Cstruct.t -> Cstruct.t
val copy_msg_header_padding : Cstruct.t -> string
val set_msg_header_padding : string -> int -> Cstruct.t -> unit
val blit_msg_header_padding : Cstruct.t -> int -> Cstruct.t -> unit
val get_msg_header_data_len : Cstruct.t -> Cstruct.uint32
val set_msg_header_data_len : Cstruct.t -> Cstruct.uint32 -> unit
val hexdump_msg_header_to_buffer : Stdlib.Buffer.t -> Cstruct.t -> unit
val hexdump_msg_header : Cstruct.t -> unit
val make_msg_header : ty:qdb_msg -> path:string -> data_len:int -> Cstruct.t
module Framing : sig ... end
OCaml

Innovation. Community. Security.