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

pantheios/backends/bec.WindowsConsole.h File Reference


Detailed Description

[C, C++] Pantheios Windows Console Back-end Common API

#include <pantheios/pantheios.h>
#include <pantheios/backend.h>

Go to the source code of this file.

Classes

struct  pan_be_WindowsConsole_init_t
 Structure used for specifying initialisation information to the be.WindowsConsole library. More...

Defines

#define PANTHEIOS_BE_WINDOWSCONSOLE_F_NO_COLOURS   (0x00100000)
 Causes the Pantheios Windows Console Stock Back-end to emit log statements without colouring based on severity.

Functions

void pantheios_be_WindowsConsole_getAppInit (int backEndId, pan_be_WindowsConsole_init_t *init)
 Callback function defined by the application, invoked when the API is initialised with a NULL init parameter.
void pantheios_be_WindowsConsole_getDefaultAppInit (pan_be_WindowsConsole_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_WindowsConsole_init().
int pantheios_be_WindowsConsole_init (PAN_CHAR_T const *processIdentity, int id, pan_be_WindowsConsole_init_t const *init, void *param, void **ptoken)
 Implements the functionality for pantheios_be_init() over the Windows Console API.
void pantheios_be_WindowsConsole_uninit (void *token)
 Implements the functionality for pantheios_be_uninit() over the Windows Console API.
int pantheios_be_WindowsConsole_logEntry (void *feToken, void *beToken, int severity, PAN_CHAR_T const *entry, size_t cchEntry)
 Implements the functionality for pantheios_be_logEntry() over the Windows Console API.
int pantheios_be_WindowsConsole_parseArgs (size_t numArgs, pantheios::pan_slice_t *const args, pan_be_WindowsConsole_init_t *init)
 Parses the be.WindowsConsole back-end flags.

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