Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Add irc_client.mli

Signed-off-by: John Else <john.else@citrix.com>
  • Loading branch information...
commit 6e7b15cdedfcc05577239043da51079efd947848 1 parent ddfe622
John Else authored

Showing 1 changed file with 17 additions and 0 deletions. Show diff stats Hide diff stats

  1. +17 0 lib/irc_client.mli
17 lib/irc_client.mli
... ... @@ -0,0 +1,17 @@
  1 +module Make : functor (Io: Irc_transport.IO) ->
  2 + sig
  3 + type connection_t
  4 +
  5 + val send_join : connection:connection_t -> channel:string -> unit Io.t
  6 + val send_nick : connection:connection_t -> nick:string -> unit Io.t
  7 + val send_pass : connection:connection_t -> password:string -> unit Io.t
  8 + val send_pong : connection:connection_t -> message:string -> unit Io.t
  9 + val send_privmsg : connection:connection_t ->
  10 + target:string -> message:string -> unit Io.t
  11 + val send_quit : connection:connection_t -> unit Io.t
  12 + val send_user : connection:connection_t ->
  13 + username:string -> mode:int -> realname:string -> unit Io.t
  14 +
  15 + val connect : server:string -> port:int -> username:string -> mode:int ->
  16 + realname:string -> nick:string -> password:string -> connection_t Io.t
  17 + end

0 comments on commit 6e7b15c

Please sign in to comment.
Something went wrong with that request. Please try again.