ocamlnet

Internet protocols (HTTP, CGI, e-mail etc.) and helper data structures
IN THIS PACKAGE
  • library equeue
  • library netaccel
  • library netcamlbox
  • library netcgi
  • library netcgi2-plex
  • library netclient
  • library nethttpd
  • library netmulticore
  • library netplex
  • library netshm
  • library netstring
  • library netsys
  • library netsys_oothr
  • library netsys_oothr_mt
  • library netunidata
  • library rpc
  • library rpc_auth_local
  • library rpc_generator
  • library shell
Module Uq_io
type in_buffer
type out_buffer
type in_device = [
| `Async_in of Uq_engines.async_in_channel * Unixqueue.event_system
| `Buffer_in of in_buffer
| `Count_in of ( int -> unit ) * in_device
| `Multiplex of Uq_engines.multiplex_controller
| `Polldescr of Netsys.fd_style * Unix.file_descr * Unixqueue.event_system
]
type out_device = [
| `Async_out of Uq_engines.async_out_channel * Unixqueue.event_system
| `Buffer_out of out_buffer
| `Count_out of ( int -> unit ) * out_device
| `Multiplex of Uq_engines.multiplex_controller
| `Polldescr of Netsys.fd_style * Unix.file_descr * Unixqueue.event_system
]
type in_bdevice = [
| `Buffer_in of in_buffer
]
type io_device = [
| `Multiplex of Uq_engines.multiplex_controller
| `Polldescr of Netsys.fd_style * Unix.file_descr * Unixqueue.event_system
]
type string_like = Netsys_types.tbuffer
val device_supports_memory : [ `Async_in of Uq_engines.async_in_channel * Unixqueue.event_system | `Async_out of Uq_engines.async_out_channel * Unixqueue.event_system | `Buffer_in of in_buffer | `Buffer_out of out_buffer | `Count_in of ( int -> unit ) * in_device | `Count_out of ( int -> unit ) * out_device | `Multiplex of Uq_engines.multiplex_controller | `Polldescr of Netsys.fd_style * Unix.file_descr * Unixqueue.event_system ] -> bool
exception Line_too_long
val input_e : [< in_device ] -> Netsys_types.tbuffer -> int -> int -> int Uq_engines.engine
val really_input_e : [< in_device ] -> Netsys_types.tbuffer -> int -> int -> unit Uq_engines.engine
val input_line_e : ?max_len:int -> in_bdevice -> string Uq_engines.engine
val input_lines_e : ?max_len:int -> in_bdevice -> string list Uq_engines.engine
val eof_as_none : 'a Uq_engines.final_state -> 'a option Uq_engines.final_state
val in_obj_channel : [< in_device ] -> float -> Netchannels.in_obj_channel
val output_e : [< out_device ] -> Netsys_types.tbuffer -> int -> int -> int Uq_engines.engine
val really_output_e : [< out_device ] -> Netsys_types.tbuffer -> int -> int -> unit Uq_engines.engine
val output_string_e : [< out_device ] -> string -> unit Uq_engines.engine
val output_bytes_e : [< out_device ] -> Bytes.t -> unit Uq_engines.engine
val output_memory_e : [< out_device ] -> Netsys_mem.memory -> unit Uq_engines.engine
val output_netbuffer_e : [< out_device ] -> Netbuffer.t -> unit Uq_engines.engine
val write_eof_e : [< out_device ] -> bool Uq_engines.engine
val copy_e : ?small_buffer:bool -> ?len:int -> ?len64:int64 -> [< in_device ] -> [< out_device ] -> int64 Uq_engines.engine
val flush_e : [< out_device ] -> unit Uq_engines.engine
val out_obj_channel : [< out_device ] -> float -> Netchannels.out_obj_channel
val io_obj_channel : ?start_pos_in:int -> ?start_pos_out:int -> [< io_device ] -> float -> Netchannels.raw_io_channel
val shutdown_e : ?linger:float -> [< `Async_in of Uq_engines.async_in_channel * Unixqueue.event_system | `Async_out of Uq_engines.async_out_channel * Unixqueue.event_system | `Buffer_in of in_buffer | `Buffer_out of out_buffer | `Count_in of ( int -> unit ) * in_device | `Count_out of ( int -> unit ) * out_device | `Multiplex of Uq_engines.multiplex_controller & Uq_engines.multiplex_controller | `Polldescr of Netsys.fd_style * Unix.file_descr * Unixqueue.event_system & Netsys.fd_style * Unix.file_descr * Unixqueue.event_system ] -> unit Uq_engines.engine
val inactivate : [< `Async_in of Uq_engines.async_in_channel * Unixqueue.event_system | `Async_out of Uq_engines.async_out_channel * Unixqueue.event_system | `Buffer_in of in_buffer | `Buffer_out of out_buffer | `Count_in of ( int -> unit ) * in_device | `Count_out of ( int -> unit ) * out_device | `Multiplex of Uq_engines.multiplex_controller & Uq_engines.multiplex_controller | `Polldescr of Netsys.fd_style * Unix.file_descr * Unixqueue.event_system & Netsys.fd_style * Unix.file_descr * Unixqueue.event_system ] -> unit
val create_in_buffer : ?small_buffer:bool -> [< in_device ] -> in_buffer
val in_buffer_length : in_buffer -> int
val in_buffer_blit : in_buffer -> int -> Netsys_types.tbuffer -> int -> int -> unit
val in_buffer_fill_e : in_buffer -> bool Uq_engines.engine
val create_out_buffer : ?small_buffer:bool -> max:int option -> [< out_device ] -> out_buffer
val filter_out_buffer : max:int option -> Netchannels.io_obj_channel -> [< out_device ] -> out_buffer