Synesis Software STLSoft - ... Robust, Lightweight, Cross-platform, Template Software ...

pan_be_WindowsSyslog_init_t Struct Reference
[Pantheios Windows-SysLog Stock Back-end]

#include <pantheios/backends/bec.WindowsSyslog.h>

List of all members.


Detailed Description

Structure used for specifying initialisation information to the be.WindowsSyslog library.

Public Attributes

pan_uint32_t version
pan_uint32_t flags
size_t addrSize
pan_uint8_t bytes [16]
char const * hostName
pan_uint16_t port
pan_uint8_t facility
char hostNameBuff [101]

Member Data Documentation

pan_uint32_t version

Must be initialised to the value of PANTHEIOS_VER

pan_uint32_t flags

Flags that control the information displayed.

size_t addrSize

Number of elements in array. Must be 0, 4 or 16. 0 means hostName is used; 4 means IPv4; 16 means IPv6.

Note:
IPv6 is not currently supported.

pan_uint8_t bytes[16]

IPv4 or IPv6 address elements.

char const* hostName

Host name. Must be non-NULL when 0 == addrSize.

pan_uint16_t port

Port to be used for transmission.

pan_uint8_t facility

The facility used by the process. Must be <= 124. Defaults to PANTHEIOS_SYSLOG_FAC_USER

char hostNameBuff[101]

Buffer for use by client to write host name, to which hostName can be pointed.


The documentation for this struct was generated from the following file:

pantheios Library documentation © Matthew Wilson & Synesis Software, 2006-2011 SourceForge.net Logo