libfossil
fsl_outputer Struct Reference

An interface which encapsulates data for managing an output destination, primarily intended for use with fsl_output(). More...

#include "fossil-util.h"

Data Fields

fsl_flush_f flush
 flush() implementation. More...
 
fsl_output_f out
 Output channel. More...
 
fsl_state state
 State to be used when calling this->out(), namely: this->out( this->state.state, ... More...
 

Detailed Description

An interface which encapsulates data for managing an output destination, primarily intended for use with fsl_output().

Why abstract it to this level? So that we can do interesting things like output to buffers, files, sockets, etc., using the core output mechanism. e.g. so script bindings can send their output to the same channel used by the library and other library clients.

Definition at line 325 of file fossil-util.h.

Field Documentation

fsl_flush_f fsl_outputer::flush

flush() implementation.

Definition at line 333 of file fossil-util.h.

fsl_output_f fsl_outputer::out

Output channel.

Definition at line 329 of file fossil-util.h.

fsl_state fsl_outputer::state

State to be used when calling this->out(), namely: this->out( this->state.state, ...

).

Definition at line 338 of file fossil-util.h.


The documentation for this struct was generated from the following file: