package lpd
-
lpd.socket
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type job = {
number : int;
user : string;
host : string;
mailto : string;
files : file list;
addr : Unix.sockaddr;
}
type queue_actions = {
print : unit -> unit;
on_reception : job -> unit;
send_queue : jobref list -> Socket.out_channel -> unit;
send_queue_long : jobref list -> Socket.out_channel -> unit;
remove : string -> Unix.sockaddr -> jobref list -> unit;
}
module type CONFIG = sig ... end
val string_of_job : int -> job -> string
val long_string_of_job : int -> job -> string
val any_host : Unix.sockaddr -> bool
val these_hosts : ?file:string -> string list -> Unix.sockaddr -> bool