#include "libiec61850_common_api.h"
Go to the source code of this file.
|
typedef bool(* | LogEntryCallback) (void *parameter, uint64_t timestamp, uint64_t entryID, bool moreFollow) |
| Will be called for each new LogEntry by the getEntries and getEntriesAfter functions. More...
|
|
typedef bool(* | LogEntryDataCallback) (void *parameter, const char *dataRef, uint8_t *data, int dataSize, uint8_t reasonCode, bool moreFollow) |
| Will be called for each new LogEntryData by the getEntries and getEntriesAfter functions. More...
|
|
|
LIB61850_API void | LogStorage_setMaxLogEntries (LogStorage self, int maxEntries) |
| Set the maximum number of log entries for this log. More...
|
|
LIB61850_API int | LogStorage_getMaxLogEntries (LogStorage self) |
| Get the maximum allowed number of log entries for this log. More...
|
|
LIB61850_API uint64_t | LogStorage_addEntry (LogStorage self, uint64_t timestamp) |
| Add an entry to the log. More...
|
|
LIB61850_API bool | LogStorage_addEntryData (LogStorage self, uint64_t entryID, const char *dataRef, uint8_t *data, int dataSize, uint8_t reasonCode) |
| Add new entry data to an existing log entry. More...
|
|
LIB61850_API bool | LogStorage_getEntries (LogStorage self, uint64_t startingTime, uint64_t endingTime, LogEntryCallback entryCallback, LogEntryDataCallback entryDataCallback, void *parameter) |
| Get log entries specified by a time range. More...
|
|
LIB61850_API bool | LogStorage_getEntriesAfter (LogStorage self, uint64_t startingTime, uint64_t entryID, LogEntryCallback entryCallback, LogEntryDataCallback entryDataCallback, void *parameter) |
| Get log entries specified by a start log entry. More...
|
|
LIB61850_API bool | LogStorage_getOldestAndNewestEntries (LogStorage self, uint64_t *newEntry, uint64_t *newEntryTime, uint64_t *oldEntry, uint64_t *oldEntryTime) |
| Get the entry time and entryID of the oldest and the newest log entries. More...
|
|
LIB61850_API void | LogStorage_destroy (LogStorage self) |
| Destroy the LogStorage instance and free all related resources. More...
|
|