tmp_biniou_b.mli 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. (* Auto-generated from "tmp_biniou.atd" *)
  2. type rc_name = Tmp_biniou_t.rc_name
  3. type rc_entry = Tmp_biniou_t.rc_entry = { commands: (string * int) }
  4. type tmp_file = Tmp_biniou_t.tmp_file = {
  5. rc: (rc_name * (rc_entry list)) list;
  6. daemon: int
  7. }
  8. (* Writers for type rc_name *)
  9. val rc_name_tag : Bi_io.node_tag
  10. (** Tag used by the writers for type {!rc_name}.
  11. Readers may support more than just this tag. *)
  12. val write_untagged_rc_name :
  13. Bi_outbuf.t -> rc_name -> unit
  14. (** Output an untagged biniou value of type {!rc_name}. *)
  15. val write_rc_name :
  16. Bi_outbuf.t -> rc_name -> unit
  17. (** Output a biniou value of type {!rc_name}. *)
  18. val string_of_rc_name :
  19. ?len:int -> rc_name -> string
  20. (** Serialize a value of type {!rc_name} into
  21. a biniou string. *)
  22. (* Readers for type rc_name *)
  23. val get_rc_name_reader :
  24. Bi_io.node_tag -> (Bi_inbuf.t -> rc_name)
  25. (** Return a function that reads an untagged
  26. biniou value of type {!rc_name}. *)
  27. val read_rc_name :
  28. Bi_inbuf.t -> rc_name
  29. (** Input a tagged biniou value of type {!rc_name}. *)
  30. val rc_name_of_string :
  31. ?pos:int -> string -> rc_name
  32. (** Deserialize a biniou value of type {!rc_name}.
  33. @param pos specifies the position where
  34. reading starts. Default: 0. *)
  35. (* Writers for type rc_entry *)
  36. val rc_entry_tag : Bi_io.node_tag
  37. (** Tag used by the writers for type {!rc_entry}.
  38. Readers may support more than just this tag. *)
  39. val write_untagged_rc_entry :
  40. Bi_outbuf.t -> rc_entry -> unit
  41. (** Output an untagged biniou value of type {!rc_entry}. *)
  42. val write_rc_entry :
  43. Bi_outbuf.t -> rc_entry -> unit
  44. (** Output a biniou value of type {!rc_entry}. *)
  45. val string_of_rc_entry :
  46. ?len:int -> rc_entry -> string
  47. (** Serialize a value of type {!rc_entry} into
  48. a biniou string. *)
  49. (* Readers for type rc_entry *)
  50. val get_rc_entry_reader :
  51. Bi_io.node_tag -> (Bi_inbuf.t -> rc_entry)
  52. (** Return a function that reads an untagged
  53. biniou value of type {!rc_entry}. *)
  54. val read_rc_entry :
  55. Bi_inbuf.t -> rc_entry
  56. (** Input a tagged biniou value of type {!rc_entry}. *)
  57. val rc_entry_of_string :
  58. ?pos:int -> string -> rc_entry
  59. (** Deserialize a biniou value of type {!rc_entry}.
  60. @param pos specifies the position where
  61. reading starts. Default: 0. *)
  62. (* Writers for type tmp_file *)
  63. val tmp_file_tag : Bi_io.node_tag
  64. (** Tag used by the writers for type {!tmp_file}.
  65. Readers may support more than just this tag. *)
  66. val write_untagged_tmp_file :
  67. Bi_outbuf.t -> tmp_file -> unit
  68. (** Output an untagged biniou value of type {!tmp_file}. *)
  69. val write_tmp_file :
  70. Bi_outbuf.t -> tmp_file -> unit
  71. (** Output a biniou value of type {!tmp_file}. *)
  72. val string_of_tmp_file :
  73. ?len:int -> tmp_file -> string
  74. (** Serialize a value of type {!tmp_file} into
  75. a biniou string. *)
  76. (* Readers for type tmp_file *)
  77. val get_tmp_file_reader :
  78. Bi_io.node_tag -> (Bi_inbuf.t -> tmp_file)
  79. (** Return a function that reads an untagged
  80. biniou value of type {!tmp_file}. *)
  81. val read_tmp_file :
  82. Bi_inbuf.t -> tmp_file
  83. (** Input a tagged biniou value of type {!tmp_file}. *)
  84. val tmp_file_of_string :
  85. ?pos:int -> string -> tmp_file
  86. (** Deserialize a biniou value of type {!tmp_file}.
  87. @param pos specifies the position where
  88. reading starts. Default: 0. *)