/usr/lib/ocaml/netstring/netoid.mli is in libocamlnet-ocaml-dev 4.0.4-1build3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | (* $Id: netoid.mli 2195 2015-01-01 12:23:39Z gerd $ *)
(** X.500 Object Identifiers *)
type t = int array
val equal : t -> t -> bool
(** Whether two OIDs are equal *)
val compare : t -> t -> int
(** Lexicographic ordering of OIDs *)
val of_string : string -> t
(** Parses an OID in dot notation, e.g.
[of_string "2.3.4" = [| 2; 3; 4 |]]
*)
val to_string : t -> string
(** Returns the OID in dot notation, e.g.
[to_string [| 2; 3; 4 |] = "2.3.4"]
*)
val of_string_curly : string -> t
(** Parses an OID in curly brace notation, e.g.
[of_string "{2 3 4}" = [| 2; 3; 4 |]]
*)
val to_string_curly : t -> string
(** Returns the OID in curly brace notation, e.g.
[to_string [| 2; 3; 4 |] = "{2 3 4}"]
*)
|