ReactOS
0.4.15-dev-2359-g0dedb9b
|
#include <stdio.h>
#include <string.h>
#include <winsock2.h>
#include <ws2tcpip.h>
#include "syslog.h"
Go to the source code of this file.
Macros | |
#define | SYSLOG_DGRAM_SIZE 1024 |
Functions | |
const char * | set_syslog_conf_dir (const char *dir) |
static void | init_logger_addr () |
void | closelog () |
void | openlog (char *ident, int option, int facility) |
int | setlogmask (int mask) |
void | syslog (int pri, char *fmt,...) |
void | vsyslog (int pri, char *fmt, va_list ap) |
Variables | |
static const char * | syslog_conf_dir = "." |
static BOOL | initialized = FALSE |
static int | log_mask = 0xFF |
static char * | syslog_ident |
static int | syslog_facility |
static char | str_pid [40] |
static SOCKADDR_IN | sa_logger |
static SOCKET | sock |
static char | local_hostname [MAX_COMPUTERNAME_LENGTH+1] |
static char | datagramm [SYSLOG_DGRAM_SIZE] |
static int | datagramm_size |
|
static |
Definition at line 70 of file syslog.c.
Referenced by openlog().
Definition at line 167 of file syslog.c.
Referenced by vsyslog().
Definition at line 261 of file syslog.c.
Definition at line 275 of file syslog.c.
Referenced by syslog().
|
static |
|
static |
Definition at line 39 of file syslog.c.
Referenced by _RTC_InitBase(), closelog(), FD31_Init(), gl_init_math(), IDirectSound8_test(), IDirectSound_test(), IDirectSoundCapture_test(), IDirectSoundFullDuplex_test(), msvcrt_mlock_set_entry_initialized(), openlog(), test_external(), and vsyslog().
|
static |
|
static |
Definition at line 40 of file syslog.c.
Referenced by setlogmask(), and vsyslog().
|
static |
Definition at line 44 of file syslog.c.
Referenced by init_logger_addr(), and vsyslog().
Definition at line 45 of file syslog.c.
Referenced by __rpc_get_local_uid(), __rpcbind_is_up(), __xprt_do_unregister(), AcceptConnections(), local_rpcb(), open_tcp_connect(), read_vc(), rendezvous_request(), rpcrt4_ncacn_ip_tcp_open(), rpcrt4_protseq_ncacn_ip_tcp_open_endpoint(), SetUpListener(), START_TEST(), svc_getreqset(), Test_CloseWhileSelectDuplicatedSocket(), Test_CloseWhileSelectSameSocket(), test_communication(), test_errors(), test_extendedSocketOptions(), test_getpeername(), test_getsockname(), test_ioctlsocket(), test_send(), test_sendto(), test_sioAddressListChange(), test_sioRoutingInterfaceQuery(), test_tcp(), test_udp(), test_WithWSAStartup(), test_WSASendMsg(), and xprt_register().
|
static |
Definition at line 22 of file syslog.c.
Referenced by init_logger_addr(), and set_syslog_conf_dir().
|
static |