39#ifndef __STUMPLESS_TARGET_CHAIN_H
40#define __STUMPLESS_TARGET_CHAIN_H
43#include <stumpless/config.h>
void stumpless_close_chain_and_contents(struct stumpless_target *chain)
Closes a chain of targets.
struct stumpless_target * stumpless_add_target_to_chain(struct stumpless_target *chain, struct stumpless_target *target)
Adds a target to an existing chain target.
struct stumpless_target * stumpless_new_chain(const char *name)
Creates a new target chain.
void stumpless_close_chain_only(struct stumpless_target *chain)
Closes a chain target.
size_t stumpless_get_chain_length(const struct stumpless_target *chain)
Gets the number of targets currently in a chain.
#define STUMPLESS_PUBLIC_FUNCTION
Marks functions that are provided for use by the library.
定义 config.h:31
A target that log entries can be sent to.
定义 target.h:140
char * name
The name of this target.
定义 target.h:157
General types and functions for working with all targets.