diff options
author | Steve Lawrence <slawrence@tresys.com> | 2010-06-21 17:04:39 -0400 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-06-22 11:12:43 +0300 |
commit | 04bdec775ac56c7673f87257306b23536a954474 (patch) | |
tree | 9b3209bfd02f9bee5311a7d9952e8122ed4be1e0 /system.h | |
parent | 2fd0913a6abd91389a3f1498ef9c4b2c6c72bff1 (diff) | |
download | rpm-04bdec775ac56c7673f87257306b23536a954474.tar.gz rpm-04bdec775ac56c7673f87257306b23536a954474.tar.bz2 rpm-04bdec775ac56c7673f87257306b23536a954474.zip |
Add plugin calling support
This patch adds a simple plugin system that makes simple problems easy to
solve, and difficult problems, such as SELinux, possible.
When the transaction gets to the point where a collection action should occur,
it expands a macro of the form %__collection_<collection name> to get the path
to a plugin and any additional options. The plugin is dlopen'ed, and the
appropriate function is called in the plugin, with the additional arguments
passed in.
This also adds a --nocollections option to disable performing Collection
actions.
Diffstat (limited to 'system.h')
-rw-r--r-- | system.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -144,4 +144,6 @@ extern const char *__progname; #include "misc/fnmatch.h" #endif +#include <dlfcn.h> + #endif /* H_SYSTEM */ |