Flux Reference Manual |
---|
flux-io —
#define FLUX_IO (object) struct FluxIO; void flux_io_init (FluxIO *io); void flux_io_finalize (FluxObject *io); void flux_io_set_cipher (FluxIO *io, FluxCipher *cipher); void flux_io_set_read_func (FluxIO *io, FluxIOReadFunc *func, gpointer data); void flux_io_set_write_func (FluxIO *io, FluxIOWriteFunc *func, gpointer data); void flux_io_set_read_threshold (FluxIO *io, guint threshold); void flux_io_set_write_threshold (FluxIO *io, guint threshold); void flux_io_set_compression (FluxIO *io, guint level);
struct FluxIO { FluxDualFifo dfifo; FluxCipher *cipher; guint compression_level; gint read_cap, read_count, read_cps; gint write_cap, write_count, write_cps; guint cap_slice_timeout_id; FluxIOReadFunc *read_func; gpointer read_func_data; guint read_threshold; FluxIOWriteFunc *write_func; gpointer write_func_data; guint write_threshold; };
void flux_io_set_read_func (FluxIO *io, FluxIOReadFunc *func, gpointer data);
io : | |
func : | |
data : |
void flux_io_set_write_func (FluxIO *io, FluxIOWriteFunc *func, gpointer data);
io : | |
func : | |
data : |
void flux_io_set_read_threshold (FluxIO *io, guint threshold);
io : | |
threshold : |
void flux_io_set_write_threshold (FluxIO *io, guint threshold);
io : | |
threshold : |
<< flux-dual-fifo | flux-file-io >> |