FreeRDP
JournaldAppender.c File Reference
#include <winpr/config.h>
#include "JournaldAppender.h"
#include <unistd.h>
#include <syslog.h>
#include <systemd/sd-journal.h>
#include <winpr/crt.h>
#include <winpr/environment.h>

Functions

static BOOL WLog_JournaldAppender_Open (wLog *log, wLogAppender *appender)
 
static BOOL WLog_JournaldAppender_Close (wLog *log, wLogAppender *appender)
 
static BOOL WLog_JournaldAppender_WriteMessage (wLog *log, wLogAppender *appender, wLogMessage *message)
 
static BOOL WLog_JournaldAppender_WriteDataMessage (wLog *log, wLogAppender *appender, wLogMessage *message)
 
static BOOL WLog_JournaldAppender_WriteImageMessage (wLog *log, wLogAppender *appender, wLogMessage *message)
 
static BOOL WLog_JournaldAppender_Set (wLogAppender *appender, const char *setting, void *value)
 
static void WLog_JournaldAppender_Free (wLogAppender *appender)
 
wLogAppender * WLog_JournaldAppender_New (wLog *log)
 

Function Documentation

◆ WLog_JournaldAppender_Close()

static BOOL WLog_JournaldAppender_Close ( wLog *  log,
wLogAppender *  appender 
)
static
Here is the caller graph for this function:

◆ WLog_JournaldAppender_Free()

static void WLog_JournaldAppender_Free ( wLogAppender *  appender)
static
Here is the caller graph for this function:

◆ WLog_JournaldAppender_New()

wLogAppender* WLog_JournaldAppender_New ( wLog *  log)

Copyright © 2015 Thincast Technologies GmbH Copyright © 2015 David FORT conta.nosp@m.ct@h.nosp@m.arden.nosp@m.ing-.nosp@m.consu.nosp@m.ltin.nosp@m.g.com

Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of the copyright holders not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. The copyright holders make no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.

THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ WLog_JournaldAppender_Open()

static BOOL WLog_JournaldAppender_Open ( wLog *  log,
wLogAppender *  appender 
)
static
Here is the caller graph for this function:

◆ WLog_JournaldAppender_Set()

static BOOL WLog_JournaldAppender_Set ( wLogAppender *  appender,
const char *  setting,
void *  value 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ WLog_JournaldAppender_WriteDataMessage()

static BOOL WLog_JournaldAppender_WriteDataMessage ( wLog *  log,
wLogAppender *  appender,
wLogMessage message 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ WLog_JournaldAppender_WriteImageMessage()

static BOOL WLog_JournaldAppender_WriteImageMessage ( wLog *  log,
wLogAppender *  appender,
wLogMessage message 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ WLog_JournaldAppender_WriteMessage()

static BOOL WLog_JournaldAppender_WriteMessage ( wLog *  log,
wLogAppender *  appender,
wLogMessage message 
)
static
Here is the call graph for this function:
Here is the caller graph for this function: