Pantheios UNIX Win32-SysLog Stock Back-end
[Pantheios Stock Back-ends]


Detailed Description

Back-end library that provides a custom implementation of the SysLog-protocol for Win32.


Modules

 Pantheios Win32 syslog Stock Back-end Flags
 Flags for the Pantheios UNIX Win32-SysLog Stock Back-end.

Classes

struct  pan_be_Win32syslog_init_t
 Structure used for specifying initialisation information to the be.Win32syslog library. More...

Functions

void pantheios_be_Win32syslog_getAppInit (int backEndId, pan_be_Win32syslog_init_t *init)
 Callback function defined by the application, invoked when the API is initialised with a NULL init parameter.
void pantheios_be_Win32syslog_getDefaultAppInit (pan_be_Win32syslog_init_t *init)
 Fills out a copy of the initialisation structure with default values (representative of the default behaviour of the library), ready to be customised and passed to the API initialiser function pantheios_be_Win32syslog_init().
int pantheios_be_Win32syslog_init (char const *processIdentity, int id, pan_be_Win32syslog_init_t const *init, void *reserved, void **ptoken)
 Implements the functionality for pantheios_be_init() over the UNIX Win32-SysLog API.
void pantheios_be_Win32syslog_uninit (void *token)
 Implements the functionality for pantheios_be_uninit() over the UNIX Win32-SysLog API.
int pantheios_be_Win32syslog_logEntry (void *feToken, void *beToken, int severity, char const *entry, size_t cchEntry)
 Implements the functionality for pantheios_be_logEntry() over the UNIX Win32-SysLog API.


Function Documentation

void pantheios_be_Win32syslog_getAppInit int  backEndId,
pan_be_Win32syslog_init_t init
 

Callback function defined by the application, invoked when the API is initialised with a NULL init parameter.

Note:
This function is only required when the callback version of the library is used.

void pantheios_be_Win32syslog_getDefaultAppInit pan_be_Win32syslog_init_t init  ) 
 

Fills out a copy of the initialisation structure with default values (representative of the default behaviour of the library), ready to be customised and passed to the API initialiser function pantheios_be_Win32syslog_init().

Note:
This function should not be called on an already-initialised instance, as is the case in the implementation of the pantheios_be_Win32syslog_getAppInit() function, as it will already have been called by pantheios_be_Win32syslog_init() prior to the callback.

int pantheios_be_Win32syslog_init char const *  processIdentity,
int  id,
pan_be_Win32syslog_init_t const *  init,
void *  reserved,
void **  ptoken
 

Implements the functionality for pantheios_be_init() over the UNIX Win32-SysLog API.

int pantheios_be_Win32syslog_logEntry void *  feToken,
void *  beToken,
int  severity,
char const *  entry,
size_t  cchEntry
 

Implements the functionality for pantheios_be_logEntry() over the UNIX Win32-SysLog API.

void pantheios_be_Win32syslog_uninit void *  token  ) 
 

Implements the functionality for pantheios_be_uninit() over the UNIX Win32-SysLog API.


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