#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_t * | map |
size_t | mapsiz |
unistr_t | newline |
unsigned int | options |
void * | format_data |
void * | sizing_data |
void * | urgent_data |
void * | user_data |
void * | stash |
gcstring_t *(* | format_func )() |
double(* | sizing_func )() |
gcstring_t *(* | urgent_func )() |
gcstring_t *(* | user_func )() |
void(* | ref_func )(void *, int, int) |
int | errnum |
public members addendum on release 2011.1. | |
gcstring_t *(** | prep_func )() |
void ** | prep_data |
LineBreak object.
double linebreak_t::bufcols |
calculated columns of buffered line
spaces trailing to buffered line
buffered line
size_t linebreak_t::charmax |
Maximum number of Unicode characters each line may contain.
double linebreak_t::colmax |
Maximum number of columns.
double linebreak_t::colmin |
Minimum number of columns.
Number of last error. may be a value of errno defined in <errno.h> or LINEBREAK_ELONG below.
void* linebreak_t::format_data |
Data argument of callback functions. See utils.c.
Format callback function. See utils.c.
User-tailored property map.
size_t linebreak_t::mapsiz |
Newline sequence.
unsigned int linebreak_t::options |
Options. See Defines.
void** linebreak_t::prep_data |
Data argument of each preprocessing callback functions. See utils.c.
gcstring_t*(** linebreak_t::prep_func)() |
Array of preprocessing callback functions. See utils.c.
void(* linebreak_t::ref_func)(void *, int, int) |
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
void* linebreak_t::sizing_data |
double(* linebreak_t::sizing_func)() |
Sizing callback function. See utils.c.
void* linebreak_t::stash |
User-defined private data.
state
unread input
void* linebreak_t::urgent_data |
Urgent breaking callback function. See utils.c.
void* linebreak_t::user_data |
Preprocessing callback function. See utils.c.