sombok  2.2.0
linebreak_t Struct Reference

#include <sombok.h>

Data Fields

private members
unsigned long int refcount
int state
unistr_t bufstr
unistr_t bufspc
double bufcols
unistr_t unread
public members
size_t charmax
double colmax
double colmin
mapent_tmap
size_t mapsiz
unistr_t newline
unsigned int options
void * format_data
void * sizing_data
void * urgent_data
void * user_data
void * stash
linebreak_format_func_t format_func
linebreak_sizing_func_t sizing_func
linebreak_urgent_func_t urgent_func
linebreak_obs_prep_func_t user_func
linebreak_ref_func_t ref_func
int errnum
public members addendum on release 2011.1.
linebreak_prep_func_tprep_func
void ** prep_data

Detailed Description

LineBreak object.


Field Documentation

calculated columns of buffered line

spaces trailing to buffered line

buffered line

Maximum number of Unicode characters each line may contain.

Maximum number of columns.

Minimum number of columns.

Number of last error. may be a value of errno defined in <errno.h> or LINEBREAK_ELONG below.

Data argument of callback functions. See utils.c.

Format callback function. See utils.c.

User-tailored property map.

Newline sequence.

unsigned int linebreak_t::options

Options. See Defines.

Data argument of each preprocessing callback functions. See utils.c.

Array of preprocessing callback functions. See utils.c.

Reference Count function. This may be called with 3 arguments: ref_func(data, type, action). data is a (pointer to) external object assinged to stash, format_data, sizing_data, urgent_data or prep_data members. type is type of object. according to action being negative or positive, this function should decrement or increment reference count of object, respectively.

unsigned long int linebreak_t::refcount

reference count

Sizing callback function. See utils.c.

User-defined private data.

state

unread input

Urgent breaking callback function. See utils.c.

Deprecated:
Use prep_data instead.

Preprocessing callback function. See utils.c.

Deprecated:
Use prep_func instead.

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