author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sat, 22 Nov 2008 18:19:12 +0000 (19:19 +0100) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sat, 22 Nov 2008 18:19:12 +0000 (19:19 +0100) | ||
commit | 2c63edbfbafad776dfd504c375920e899ef23b82 | |
tree | 2453c84487294dd71d4bf9f5ac73afaf6d899e9f | tree | snapshot |
parent | 35f04ea1440d42e31c421babc5cda8d3a33df888 | commit | diff |
src/meta_data.[ch]: Added a framework for meta data.
This framework is planned to be used in at least three places:
- Extend the global cache to allow attaching a meta-data object to each
entry. The meta-data can then be used by other plugins to attach
miscellaneous information to an entry. Possibly uses include
calculation of floating averages or storing the state for a hysteresis
threshold.
- Add a meta-data object to every `value_list_t' in
`plugin_dispatch_values'. The meta-data object can then be used by
matches and targets to pass information about a value-list to one
another.
- Replace the notification meta-data stuff in src/plugin.[ch] with such
an object.
This framework is planned to be used in at least three places:
- Extend the global cache to allow attaching a meta-data object to each
entry. The meta-data can then be used by other plugins to attach
miscellaneous information to an entry. Possibly uses include
calculation of floating averages or storing the state for a hysteresis
threshold.
- Add a meta-data object to every `value_list_t' in
`plugin_dispatch_values'. The meta-data object can then be used by
matches and targets to pass information about a value-list to one
another.
- Replace the notification meta-data stuff in src/plugin.[ch] with such
an object.
src/Makefile.am | diff | blob | history | |
src/meta_data.c | [new file with mode: 0644] | blob |
src/meta_data.h | [new file with mode: 0644] | blob |