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

Pantheios Windows EventLog Stock Back-end
[Pantheios Stock Back-ends]


Detailed Description

Back-end library that writes to the Windows event log.


Functions

unsigned pantheios_be_WindowsEventLog_calcCategory (int backEndId, int severity)
 Converts a Pantheios severity level to a Windows Event Log event type.
int pantheios_be_WindowsEventLog_init (char const *processIdentity, int id, void *unused, void *reserved, void **ptoken)
 Implements the functionality for pantheios_be_init() over the Windows EventLog API.
void pantheios_be_WindowsEventLog_uninit (void *token)
 Implements the functionality for pantheios_be_uninit() over the Windows EventLog API.
int pantheios_be_WindowsEventLog_logEntry (void *feToken, void *beToken, int severity, char const *entry, size_t cchEntry)
 Implements the functionality for pantheios_be_logEntry() over the Windows EventLog API.

Variables

unsigned BE_WINDOWSEVENTLOG_EVENTID
 The event identifier of the entry in the message file associated with the event source.


Function Documentation

unsigned pantheios_be_WindowsEventLog_calcCategory ( int  backEndId,
int  severity 
)

Converts a Pantheios severity level to a Windows Event Log event type.

Note:
This is an application-specified function.

int pantheios_be_WindowsEventLog_init ( char const *  processIdentity,
int  id,
void *  unused,
void *  reserved,
void **  ptoken 
)

Implements the functionality for pantheios_be_init() over the Windows EventLog API.

int pantheios_be_WindowsEventLog_logEntry ( void *  feToken,
void *  beToken,
int  severity,
char const *  entry,
size_t  cchEntry 
)

Implements the functionality for pantheios_be_logEntry() over the Windows EventLog API.

void pantheios_be_WindowsEventLog_uninit ( void *  token  ) 

Implements the functionality for pantheios_be_uninit() over the Windows EventLog API.


Variable Documentation

unsigned BE_WINDOWSEVENTLOG_EVENTID

The event identifier of the entry in the message file associated with the event source.

Note:
This is an application-specified variable.


pantheios Library documentation © Matthew Wilson, 2006-2008 SourceForge.net Logo