koliseo 0.6.0
Loading...
Searching...
No Matches
KLS_Conf Struct Reference

Defines flags for Koliseo. More...

#include <koliseo.h>

Data Fields

int collect_stats
 If set to 1, make the Koliseo collect performance stats.
int verbose_lvl
 If > 0, makes the Koliseo try to acquire kls_log_fp from kls_log_filepath.
FILE * log_fp
 FILE pointer used by the Koliseo to print its kls_log() output.
const char * log_filepath
 String representing the path to the Koliseo logfile.
int block_while_has_temp
 If set to 1, make the Koliseo reject push calls while it has an open Koliseo_Temp.
int allow_zerocount_push
 If set to 1, make the Koliseo accept push calls with a count of 0.
int growable
 If set to 1, make the Koliseo grow when a out of memory for a push call.
KLS_Err_Handlers err_handlers
 Used to pass custom error handlers for push calls.

Detailed Description

Defines flags for Koliseo.

See also
Koliseo

Field Documentation

◆ allow_zerocount_push

int KLS_Conf::allow_zerocount_push

If set to 1, make the Koliseo accept push calls with a count of 0.

◆ block_while_has_temp

int KLS_Conf::block_while_has_temp

If set to 1, make the Koliseo reject push calls while it has an open Koliseo_Temp.

◆ collect_stats

int KLS_Conf::collect_stats

If set to 1, make the Koliseo collect performance stats.

◆ err_handlers

KLS_Err_Handlers KLS_Conf::err_handlers

Used to pass custom error handlers for push calls.

◆ growable

int KLS_Conf::growable

If set to 1, make the Koliseo grow when a out of memory for a push call.

◆ log_filepath

const char* KLS_Conf::log_filepath

String representing the path to the Koliseo logfile.

◆ log_fp

FILE* KLS_Conf::log_fp

FILE pointer used by the Koliseo to print its kls_log() output.

◆ verbose_lvl

int KLS_Conf::verbose_lvl

If > 0, makes the Koliseo try to acquire kls_log_fp from kls_log_filepath.


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