notifications: Updated README.md
- infos/needs =
- infos/provides =
- infos/recommends =
-- infos/placements = postgetstorage precommit
-- infos/status = global nodep libc experimental unfinished nodoc concept unittest
+- infos/placements = postgetstorage postcommit
+- infos/status = global libc unittest concept unfinished experimental nodoc
- infos/metadata =
- infos/description = Plugin for internal notification
## Usage ##
-Allows users of the plugin to register integer variables that get automatically
-updated when the value of the key changes.
+Allows programs to register integer variables that get automatically updated
+when the value of the key changes.
Use as global plugin:
$ sudo kdb global-mount internalnotification
@@ -25,13 +25,13 @@ converted from string to integer and the registered variable is updated with the
This also works if the registered key is a cascading key.
The function address is exported as `system/elektra/modules/internalnotification/exports/elektraInternalnotificationRegisterInt`.
The plugin handle required for this plugin is exported as `system/elektra/modules/internalnotification/exports/handle`.
+Please note that the plugin API may change as this plugin is experimental.
## Todo/Issues ##
-- Correct storage for registered keys? elektraPlugin(Set|Get)Data?
-- Why did "postcommit" placement not work?
- - are global hooks working correctly? (i.e. is plugin installed on postcommit hook position?)
- - eventually bypass global hooks by placing plugin into globalPlugins-array on elektraInternalnotificationOpen
-- integer: Before conversion check if key is string, if key is binary, use value
-- string: Update string value (semantics: before changing the string, make copy!)
-- callback: Accept any callback (refactor plugin to use callbacks internally for integer and strings)
+- Correct data storage for registered keys? elektraPlugin(Set|Get)Data?
+- Can we get rid of exporting the plugin handle?
+- Different data types for values:
+ - integer: Before conversion: check if key is string, if key is binary, just use the value
+ - string: Update string value
+ - callback: Accept any callback (+ refactor plugin to use callbacks internally for integer and strings)
