SELKIELogger
1.0.0
|
#include "Logger.h"
Go to the source code of this file.
Functions | |
device_callbacks | dmap_getCallbacks (const char *source) |
Return device_callbacks structure for specified data source. More... | |
dc_parser | dmap_getParser (const char *source) |
Get data source specific configuration handler. More... | |
Provide runtime access to device specific functions based on defined string IDs
Definition in file LoggerDMap.h.
device_callbacks dmap_getCallbacks | ( | const char * | source | ) |
Return device_callbacks structure for specified data source.
Iterate over the global device map, performing a case insensitive comparison between input string and the dmap.tag values.
If a match is found, call the associated device callback function and return the result.
[in] | source | Null terminated string to compare against dmap.tag values |
Definition at line 65 of file LoggerDMap.c.
dc_parser dmap_getParser | ( | const char * | source | ) |
Get data source specific configuration handler.
Iterate over the global device map, performing a case insensitive comparison between input string and the dmap.tag values.
If a match is found, return a pointer to the associated device configuration parser
[in] | source | Null terminated string to compare against dmap.tag values |
Definition at line 85 of file LoggerDMap.c.