Moved backends from src/backend/ to src/plugins/backend/.
time: Renamed PRIscTIME to PRIsdbTIME. Another remnant of the “syscollector” days ;-)
plugin: The replaced SDB_PLUGIN_INFO_NAME with the actual plugin name. There's no need for any duplication.
plugin: Automatically prepend callback names with the plugin name.
core: Automatically determine config callback names. The plugin name (as stored in the plugin context) is used for that purpose, thus, ensuring that Plugin/Backend blocks will always belong to the respective LoadPlugin/LoadBackend options of the same name.
backends: Destroy dbi/unixsock clients on shutdown. This would also be cleaned up when destroying the registered user data objects but doing so on shutdown in much cleaner.
Make all plugins ready for reconfiguration support. That is, handle NULL arguments passed to the config and module init functions during reconfiguration.
Include config.h in source files. Else, we don't get any definitions required for enforcing standard compliance.
Moved core/error to utils/error. Later, we'll use the module from the daemon and client.
store: Let sdb_store_service() accept const arguments. There's no need in letting the caller construct a service object. All passed in strings are treated as constant values anyway.
store: Simplified sdb_store_host(). Let the function accept constant arguments describing the hostname and last update timestamp rather than a host object. This is more flexible for the caller.
Let objects be named. This allows to move common code into helper functions. The objects module now provides a function to compare two objects by name and linked-lists support to lookup objects by name now. This removes the need for various custom and somewhat ugly helper functions and data-types.
Moved error / time from utils to core. This is more appropriate.
Simplified inherited attribute naming in store objects. This way, we avoid name clashes with other variables that would also be replaced by the preprocessor.
Removed newline at the end of sdb_log()'ed strings. The actual logging callback should take care of handling that appropriately.
mk-livestatus backend: Use '::' to separate instance in callback names. This is just to be consistent with the other plugins.
Moved sdb_strerror() from utils/string.h to utils/error.h.
Renamed error recording / logging functions. sdb_error_set() now is sdb_log(); the sdb_error_start(), _append(), _finish() triple is now called sdb_error_set(), _append(), _log(). These names better describe what's actually going on.
Use the sdb_error* function throughout the project.
backends, daemon: Don't shadow global 'socket' and 'daemon' symbols.