24#ifndef __STUMPLESS_CONFIG_JOURNALD_SUPPORTED_H
25# define __STUMPLESS_CONFIG_JOURNALD_SUPPORTED_H
27# include <stumpless/config.h>
#define STUMPLESS_PUBLIC_FUNCTION
Marks functions that are provided for use by the library.
定义 config.h:31
Types and functions for creating and modifying elements.
size_t(* stumpless_element_namer_func_t)(const struct stumpless_entry *entry, size_t element_index, char *destination, size_t size)
Gets the name to use for the journald field corresponding to this element.
定义 element.h:81
stumpless_param_namer_func_t stumpless_get_param_journald_namer(const struct stumpless_param *param)
Gets the function used to derive the name of the field for this param when logging to journald target...
stumpless_element_namer_func_t stumpless_get_element_journald_namer(const struct stumpless_element *element)
Gets the function used to derive the name of the field for this element when logging to journald targ...
struct stumpless_element * stumpless_set_element_journald_namer(struct stumpless_element *element, stumpless_element_namer_func_t namer)
Sets the function used to derive the name of the field for this element when logging to journald targ...
struct stumpless_param * stumpless_set_param_journald_namer(struct stumpless_param *param, stumpless_param_namer_func_t namer)
Sets the function used to derive the name of the field for this param when logging to journald target...
Types and functions for creating and modifying params.
size_t(* stumpless_param_namer_func_t)(const struct stumpless_entry *entry, size_t element_index, size_t param_index, char *destination, size_t size)
Gets the name to use for the journald field corresponding to this param.
定义 param.h:81
An element of structured data.
定义 element.h:93
A parameter within a structured data element.
定义 param.h:93