author | Sebastian Harl <sh@tokkee.org> | |
Wed, 24 Mar 2010 22:31:59 +0000 (23:31 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Wed, 24 Mar 2010 22:31:59 +0000 (23:31 +0100) | ||
commit | 48972087d132bca8221e01e0a556bcc39768dde4 | |
tree | 3a3f85c5cbfd1a74c2fa4e3122e5343e3be1db5d | tree | snapshot |
parent | e3a2581365e2a1bd98a0e5419644f8919a080b5d | commit | diff |
plugin: Introduced a concept of ``read groups''.
Using a new parameter added to plugin_register_complex_read(), it's now
possible to specify a group name for the registered callback. This name may
later be used to unregister *all* callbacks belonging to that group using the
newly added function plugin_unregister_read_group().
This might come in handy for plugins that register multiple read callbacks but
do not want to keep track of all of them in order to be able to unregister
them.
Using a new parameter added to plugin_register_complex_read(), it's now
possible to specify a group name for the registered callback. This name may
later be used to unregister *all* callbacks belonging to that group using the
newly added function plugin_unregister_read_group().
This might come in handy for plugins that register multiple read callbacks but
do not want to keep track of all of them in order to be able to unregister
them.
12 files changed:
src/apache.c | diff | blob | history | |
src/curl_json.c | diff | blob | history | |
src/curl_xml.c | diff | blob | history | |
src/java.c | diff | blob | history | |
src/mysql.c | diff | blob | history | |
src/netapp.c | diff | blob | history | |
src/onewire.c | diff | blob | history | |
src/plugin.c | diff | blob | history | |
src/plugin.h | diff | blob | history | |
src/python.c | diff | blob | history | |
src/routeros.c | diff | blob | history | |
src/snmp.c | diff | blob | history |