22 lines
608 B
C
22 lines
608 B
C
|
/* SPDX-License-Identifier: GPL-3.0-or-later
|
||
|
* Copyright © 2016-2018 The TokTok team.
|
||
|
* Copyright © 2015-2016 Tox project.
|
||
|
*/
|
||
|
|
||
|
/*
|
||
|
* Tox DHT bootstrap daemon.
|
||
|
* Syslog logging backend.
|
||
|
*/
|
||
|
#ifndef C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_LOG_BACKEND_SYSLOG_H
|
||
|
#define C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_LOG_BACKEND_SYSLOG_H
|
||
|
|
||
|
#include "log.h"
|
||
|
|
||
|
#include <stdarg.h>
|
||
|
|
||
|
void log_backend_syslog_open(void);
|
||
|
void log_backend_syslog_close(void);
|
||
|
void log_backend_syslog_write(LOG_LEVEL level, const char *format, va_list args) GNU_PRINTF(2, 0);
|
||
|
|
||
|
#endif // C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_LOG_BACKEND_SYSLOG_H
|