35#ifndef __STUMPLESS_TARGET_STREAM_H
36# define __STUMPLESS_TARGET_STREAM_H
39# include <stumpless/config.h>
#define STUMPLESS_PUBLIC_FUNCTION
Marks functions that are provided for use by the library.
Definition config.h:31
STUMPLESS_PUBLIC_FUNCTION struct stumpless_target * stumpless_open_stream_target(const char *name, FILE *stream)
Opens a stream target for the given stream.
STUMPLESS_PUBLIC_FUNCTION void stumpless_close_stream_target(const struct stumpless_target *target)
Closes a stream target.
STUMPLESS_PUBLIC_FUNCTION struct stumpless_target * stumpless_open_stdout_target(const char *name)
Opens a stream target for the stdout stream.
STUMPLESS_PUBLIC_FUNCTION struct stumpless_target * stumpless_open_stderr_target(const char *name)
Opens a stream target for the stderr stream.
A target that log entries can be sent to.
Definition target.h:140
char * name
The name of this target.
Definition target.h:157
General types and functions for working with all targets.