c-icap-doc  0.1
Data Fields
ci_fmt_entry Struct Reference

This structure used to implement text formating directives. More...

#include <txt_format.h>

Data Fields

const char * directive
 The formating directive (eg "%a")
 
const char * description
 A short description.
 
int(* format )(ci_request_t *req_data, char *buf, int len, const char *param)
 Pointer to the function which implements the text formating for this directive. More...
 

Detailed Description

This structure used to implement text formating directives.

Field Documentation

◆ format

int(* ci_fmt_entry::format) (ci_request_t *req_data, char *buf, int len, const char *param)

Pointer to the function which implements the text formating for this directive.

Parameters
req_dataPointer to the current request structure
bufThe output buffer
lenThe length of the buffer
paramParameter of the directive
Returns
Non zero on success, zero on error

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