package awa

  1. Overview
  2. Docs

Module Awa.DriverSource

Sourcetype t = {
  1. server : Server.t;
  2. input_buffer : Cstruct.t;
  3. write_cb : Cstruct.t -> unit;
  4. read_cb : unit -> Cstruct.t;
  5. time_cb : unit -> Mtime.t;
}
Sourceval send_msg : t -> Ssh.message -> (t, string) result
Sourceval send_msgs : t -> Ssh.message list -> (t, string) result
Sourceval of_server : Server.t -> Ssh.message list -> (Cstruct.t -> unit) -> (unit -> Cstruct.t) -> (unit -> Mtime.t) -> (t, string) result
Sourceval rekey : t -> (t, string) result
Sourceval poll : t -> (t * Server.event, string) result
Sourceval send_channel_data : t -> Channel.Channel_map.key -> Cstruct_sexp.t -> (t, string) result
Sourceval disconnect : t -> (t, string) result