irc-bot/iobuf.mli

13 lines
370 B
OCaml
Raw Normal View History

type t
type command_handler = t -> Command.t -> unit
type error_handler = t -> string -> unit
2009-02-08 20:25:27 -07:00
val create : Dispatch.t -> Unix.file_descr -> string -> command_handler -> error_handler -> t
val close: t -> string -> unit
2009-02-08 20:25:27 -07:00
val name : t -> string
2010-12-10 17:03:24 -07:00
val dispatcher : t -> Dispatch.t
val write : t -> Command.t -> unit
val bind : t -> command_handler -> error_handler -> unit