package ocaml9p

  1. Overview
  2. Docs
type version =
  1. | V9P2000
type stat = {
  1. ktype : int;
  2. kdev : int32;
  3. q_type : int;
  4. q_vers : int32;
  5. q_path : int64;
  6. mode : int32;
  7. atime : int32;
  8. mtime : int32;
  9. length : int64;
  10. name : string;
  11. uid : string;
  12. gid : string;
  13. muid : string;
}
exception Unsupported_version of string
exception Illegal_package_type of int
exception Package_not_complete
exception Wrong_tag of int * int
val s_intx : int -> int -> string
val s_int8 : int -> string
val s_int16 : int -> string
val s_int32 : int32 -> string
val s_int64 : int64 -> string
val s_str : string -> string
val d_intx : string -> int -> int -> int
val d_int8 : string -> int -> int
val d_int16 : string -> int -> int
val d_int32 : string -> int -> int32
val d_int64 : string -> int -> int64
val d_str : string -> int -> string
val d_stat : string -> int -> stat
class virtual fcall : object ... end
class tVersion : Int32.t -> object ... end
class rVersion : int32 -> object ... end
class tAttach : int32 option -> string -> string -> object ... end
class rAttach : int -> object ... end
class rError : int -> string -> object ... end
class tflush : int -> object ... end
class rflush : int -> object ... end
class tWalk : int32 -> bool -> string list -> object ... end
class rWalk : int -> int -> object ... end
class tOpen : int32 -> int -> object ... end
class rOpen : int -> int32 -> object ... end
class tCreate : int32 -> string -> int32 -> int -> object ... end
class rCreate : int -> int32 -> object ... end
class tRead : int32 -> int64 -> int32 -> object ... end
class rRead : int -> string -> object ... end
class tWrite : int32 -> int64 -> int32 -> string -> object ... end
class rWrite : int -> int32 -> object ... end
class tClunk : int32 -> object ... end
class rClunk : int -> object ... end
class tRemove : int32 -> object ... end
class rRemove : int -> object ... end
class tStat : int32 -> object ... end
class rStat : int -> stat option -> object ... end
OCaml

Innovation. Community. Security.