automotive-dlt
|
#include <pthread.h>
#include <unistd.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <strings.h>
#include <errno.h>
#include "dlt-system.h"
Go to the source code of this file.
Macros | |
#define | RECV_BUF_SZ 1024 |
Functions | |
DLT_IMPORT_CONTEXT (dltsystem) | |
int | read_socket (int sock) |
void | syslog_thread (void *v_conf) |
void | start_syslog (DltSystemConfiguration *conf) |
Variables | |
DltSystemThreads | threads |
Definition in file dlt-system-syslog.c.
#define RECV_BUF_SZ 1024 |
Referenced by read_socket().
DLT_IMPORT_CONTEXT | ( | dltsystem | ) |
Definition at line 60 of file dlt-system-syslog.c.
References DLT_INT, DLT_LOG, DLT_LOG_DEBUG, DLT_LOG_FATAL, DLT_STRING, and SyslogOptions::Port.
int read_socket | ( | int | sock | ) |
Definition at line 106 of file dlt-system-syslog.c.
References DLT_LOG, DLT_LOG_DEBUG, DLT_LOG_FATAL, DLT_LOG_INFO, DLT_STRING, and RECV_BUF_SZ.
Referenced by syslog_thread().
void start_syslog | ( | DltSystemConfiguration * | conf | ) |
Definition at line 162 of file dlt-system-syslog.c.
References DltSystemThreads::count, DLT_LOG, DLT_LOG_DEBUG, DLT_STRING, syslog_thread(), and DltSystemThreads::threads.
Referenced by start_threads().
void syslog_thread | ( | void * | v_conf | ) |
Definition at line 139 of file dlt-system-syslog.c.
References SyslogOptions::ContextId, DLT_LOG, DLT_LOG_DEBUG, DLT_REGISTER_CONTEXT, DLT_STRING, read_socket(), DltSystemThreads::shutdown, and DltSystemConfiguration::Syslog.
Referenced by start_syslog().
DltSystemThreads threads |
Definition at line 58 of file dlt-system-process-handling.c.