Elektra
0.8.22
|
Elektra-Notification structures and declarations for developing notification plugins. More...
Typedefs | |
typedef int(* | ElektraNotificationPluginRegisterInt) (Plugin *handle, Key *key, int *variable) |
Subscribe for automatic updates to a given integer variable when the given key value is changed. More... | |
typedef int(* | ElektraNotificationPluginRegisterCallback) (Plugin *handle, Key *key, ElektraNotificationChangeCallback callback) |
Subscribe for updates via callback when a given key value is changed. More... | |
Elektra-Notification structures and declarations for developing notification plugins.
Only used by elektra-notification library and notification plugins (e.g. internalnotification).
typedef int(* ElektraNotificationPluginRegisterCallback) (Plugin *handle, Key *key, ElektraNotificationChangeCallback callback) |
Subscribe for updates via callback when a given key value is changed.
handle | plugin handle |
key | key to watch for changes |
callback | callback function |
1 | on success |
0 | on failure |
typedef int(* ElektraNotificationPluginRegisterInt) (Plugin *handle, Key *key, int *variable) |
Subscribe for automatic updates to a given integer variable when the given key value is changed.
handle | plugin handle |
key | key to watch for changes |
variable | integer variable |
1 | on success |
0 | on failure |