stumpless 2.2.0
Loading...
Searching...
No Matches
journald_supported.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: Apache-2.0 */
2
3/*
4 * Copyright 2021-2023 Joel E. Anderson
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18
24#ifndef __STUMPLESS_CONFIG_JOURNALD_SUPPORTED_H
25# define __STUMPLESS_CONFIG_JOURNALD_SUPPORTED_H
26
27# include <stumpless/config.h>
28# include <stumpless/element.h>
29# include <stumpless/param.h>
30
31# ifdef __cplusplus
32extern "C" {
33# endif
34
60stumpless_element_namer_func_t
62
88stumpless_param_namer_func_t
90
117struct stumpless_element *
119 stumpless_element_namer_func_t namer );
120
147struct stumpless_param *
149 stumpless_param_namer_func_t namer );
150
151# ifdef __cplusplus
152} /* extern "C" */
153# endif
154#endif /* __STUMPLESS_CONFIG_JOURNALD_SUPPORTED_H */
#define STUMPLESS_PUBLIC_FUNCTION
Marks functions that are provided for use by the library.
Definition config.h:31
Types and functions for creating and modifying elements.
STUMPLESS_PUBLIC_FUNCTION 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...
STUMPLESS_PUBLIC_FUNCTION 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...
STUMPLESS_PUBLIC_FUNCTION 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...
STUMPLESS_PUBLIC_FUNCTION 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...
Types and functions for creating and modifying params.
An element of structured data.
Definition element.h:93
A parameter within a structured data element.
Definition param.h:93