NetBurner 3.5.0
PDF Version
syslog.h
1
/*NB_REVISION*/
2
3
/*NB_COPYRIGHT*/
4
5
/*-------------------------------------------------------------------
6
* The Syslog utility enables you to send logging information
7
* to a destination host computer using UDP.
8
* -----------------------------------------------------------------*/
9
#ifndef SYSLOG_H
10
#define SYSLOG_H
11
12
#include <
nettypes.h
>
13
14
/* The application assigns this address to the destination host where
15
* the syslog information should be sent. If not address is specified,
16
* the syslog information is sent to the UDP broadcast address
17
* of 255.255.255.255
18
*/
19
extern
IPADDR
SysLogAddress;
20
21
/* Call this function when you want to send data to the syslog host.
22
* The format is the same as printf(). Note that since it does
23
* floating point, it will increase the application size.
24
*/
25
int
SysLog(
const
char
*format, ...);
26
27
/* Call this function when you want to send data to the syslog host
28
* via a specific interface. Primarily useful when logging in network drivers.
29
* The format is the same as printf(). Note that since it does
30
* floating point, it will increase the application size.
31
*/
32
int
SysLogVia(
int
interfaceNum,
const
char
*format, ...);
33
34
#endif
// SYSLOG_H
IPADDR6
Used to hold and manipulate IPv4 and IPv6 addresses in dual stack mode.
Definition
ipv6_addr.h:41
nettypes.h
NetBurner IPADDR4 Class. See the IPADDR4 Class page for complete documentation.