package chamelon

  1. Overview
  2. Docs
type abstract_type =
  1. | LFS_TYPE_NAME
  2. | LFS_TYPE_STRUCT
  3. | LFS_TYPE_USERATTR
  4. | LFS_TYPE_SPLICE
  5. | LFS_TYPE_CRC
  6. | LFS_TYPE_TAIL
  7. | LFS_TYPE_GSTATE
val int_to_abstract_type : int -> abstract_type option
val abstract_type_to_int : abstract_type -> int
val compare_abstract_type : abstract_type -> abstract_type -> int
val abstract_type_to_string : abstract_type -> string
val string_to_abstract_type : string -> abstract_type option
type chunk = int
type type3 = abstract_type * chunk
val hardtail : abstract_type * int
type t = {
  1. valid : bool;
  2. type3 : abstract_type * Cstruct.uint8;
  3. id : int;
  4. length : int;
}
val not_associated : int
val deleted_tag : int
val size : int
val invalid_tags : Cstruct.t list
val pp : Format.formatter -> t -> unit
val xor : into:Cstruct.t -> Cstruct.t -> unit
val is_file_struct : t -> bool
val is_hardtail : t -> bool
val delete : int -> t
val of_cstruct : xor_tag_with:Cstruct.t -> Cstruct.t -> (t, [> `Msg of string ]) result
val into_cstruct_raw : Cstruct.t -> t -> unit
val to_cstruct_raw : t -> Cstruct.t
val into_cstruct : xor_tag_with:Cstruct.t -> Cstruct.t -> t -> unit
val to_cstruct : xor_tag_with:Cstruct.t -> t -> Cstruct.t
OCaml

Innovation. Community. Security.