<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>rpm: rpmplugins.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File List</span></a></li>
<li><a href="globals.html"><span>Globals</span></a></li>
</ul>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#define-members">Defines</a> |
<a href="#typedef-members">Typedefs</a> |
<a href="#enum-members">Enumerations</a> |
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<h1>rpmplugins.h File Reference</h1> </div>
</div>
<div class="contents">
<code>#include <rpm/rpmtypes.h></code><br/>
<div class="dynheader">
Include dependency graph for rpmplugins.h:</div>
<div class="dyncontent">
<div class="center"><img src="rpmplugins_8h__incl.png" border="0" usemap="#rpmplugins_8h" alt=""/></div>
<map name="rpmplugins_8h" id="rpmplugins_8h">
</map>
</div>
<p><a href="rpmplugins_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="define-members"></a>
Defines</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="rpmplugins_8h.html#a268226ef938c4c12b4323a10b30c4a4a">PLUGIN_HOOKS</a> plugin_hooks</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="rpmplugins_8h.html#aad92815ba95f864dbc171629f748ff1f">PLUGINHOOK_INIT_FUNC</a> pluginhook_init</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="rpmplugins_8h.html#abe1fa3d7e8a496f5940dd2885e5d2fff">PLUGINHOOK_CLEANUP_FUNC</a> pluginhook_cleanup</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="rpmplugins_8h.html#ae610a54f33ae8abcf316d90ef98d44f7">PLUGINHOOK_OPENTE_FUNC</a> pluginhook_opente</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="rpmplugins_8h.html#aff0e1f8476a0536c8fcd173e2a9f5c65">PLUGINHOOK_COLL_POST_ADD_FUNC</a> pluginhook_coll_post_add</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="rpmplugins_8h.html#aa1a9dfd5fca81cf60132c6ac99bc27bb">PLUGINHOOK_COLL_POST_ANY_FUNC</a> pluginhook_coll_post_any</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="rpmplugins_8h.html#ab93c3873682ecabbb1c1f67822002ac6">PLUGINHOOK_COLL_PRE_REMOVE_FUNC</a> pluginhook_coll_pre_remove</td></tr>
<tr><td colspan="2"><h2><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="group__rpmtypes.html#ga44316ffc2f14b8b54c8473f2977e8c81">rpmFlags</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="rpmplugins_8h.html#ad831701ad8f781d0e06c8ac082cf9ad3">rpmPluginHook</a></td></tr>
<tr><td colspan="2"><h2><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="rpmplugins_8h.html#a7f65e651ef96bf4eb8b1b57e4cc4cd9d">rpmPluginHook_e</a> { <br/>
<a class="el" href="rpmplugins_8h.html#a7f65e651ef96bf4eb8b1b57e4cc4cd9da79b38b06996f46e62ba5bcd446b19836">PLUGINHOOK_NONE</a> = 0,
<a class="el" href="rpmplugins_8h.html#a7f65e651ef96bf4eb8b1b57e4cc4cd9da365cc34928d901e37ca18a015f0c1e74">PLUGINHOOK_INIT</a> = 1 << 0,
<a class="el" href="rpmplugins_8h.html#a7f65e651ef96bf4eb8b1b57e4cc4cd9daf6280a89e118651accc3515c17ff75fc">PLUGINHOOK_CLEANUP</a> = 1 << 1,
<a class="el" href="rpmplugins_8h.html#a7f65e651ef96bf4eb8b1b57e4cc4cd9da577c0f57fa27cbc34c1892a2033f1ce4">PLUGINHOOK_OPENTE</a> = 1 << 2,
<br/>
<a class="el" href="rpmplugins_8h.html#a7f65e651ef96bf4eb8b1b57e4cc4cd9da937b81eedec859f622aa9cb88adbd3da">PLUGINHOOK_COLL_POST_ADD</a> = 1 << 3,
<a class="el" href="rpmplugins_8h.html#a7f65e651ef96bf4eb8b1b57e4cc4cd9daa09aa9195c04ad16c663053a8269137d">PLUGINHOOK_COLL_POST_ANY</a> = 1 << 4,
<a class="el" href="rpmplugins_8h.html#a7f65e651ef96bf4eb8b1b57e4cc4cd9daaa2eef5ca9f514d40ed844aa98506be1">PLUGINHOOK_COLL_PRE_REMOVE</a> = 1 << 5
<br/>
}</td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="rpmtypes_8h.html#a62f246cc316cbf9af71ac9ee8fce9422">rpmPlugins</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="rpmplugins_8h.html#ae7ec5380e64e59a4025f38e156c05a55">rpmpluginsNew</a> (<a class="el" href="group__rpmtypes.html#ga1a512138316a227059ca128597dbd464">rpmts</a> ts)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a new plugins structure. <a href="#ae7ec5380e64e59a4025f38e156c05a55"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="rpmtypes_8h.html#a62f246cc316cbf9af71ac9ee8fce9422">rpmPlugins</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="rpmplugins_8h.html#a0c43a68beefb12aaa09560cdee4d57d3">rpmpluginsFree</a> (<a class="el" href="rpmtypes_8h.html#a62f246cc316cbf9af71ac9ee8fce9422">rpmPlugins</a> plugins)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destroy a plugins structure. <a href="#a0c43a68beefb12aaa09560cdee4d57d3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__rpmtypes.html#ga06da857c39457bfb6ea9049643fdb706">rpmRC</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="rpmplugins_8h.html#a826e0017735f128653d5f96bba9a7342">rpmpluginsAdd</a> (<a class="el" href="rpmtypes_8h.html#a62f246cc316cbf9af71ac9ee8fce9422">rpmPlugins</a> plugins, const char *name, const char *path, const char *opts)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Add and open a plugin. <a href="#a826e0017735f128653d5f96bba9a7342"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__rpmtypes.html#ga06da857c39457bfb6ea9049643fdb706">rpmRC</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="rpmplugins_8h.html#afc7febdd98c604e5968b36bd420a74b4">rpmpluginsAddCollectionPlugin</a> (<a class="el" href="rpmtypes_8h.html#a62f246cc316cbf9af71ac9ee8fce9422">rpmPlugins</a> plugins, const char *name)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Add and open a collection plugin. <a href="#afc7febdd98c604e5968b36bd420a74b4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="rpmplugins_8h.html#a63465f536a598ed22b0d091a93e24b74">rpmpluginsPluginAdded</a> (<a class="el" href="rpmtypes_8h.html#a62f246cc316cbf9af71ac9ee8fce9422">rpmPlugins</a> plugins, const char *name)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Determine if a plugin has been added already. <a href="#a63465f536a598ed22b0d091a93e24b74"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__rpmtypes.html#ga06da857c39457bfb6ea9049643fdb706">rpmRC</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="rpmplugins_8h.html#a8c894bd70d16664bb8042f3df3e0fdbb">rpmpluginsCallInit</a> (<a class="el" href="rpmtypes_8h.html#a62f246cc316cbf9af71ac9ee8fce9422">rpmPlugins</a> plugins, const char *name, const char *opts)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Call the init plugin hook. <a href="#a8c894bd70d16664bb8042f3df3e0fdbb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__rpmtypes.html#ga06da857c39457bfb6ea9049643fdb706">rpmRC</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="rpmplugins_8h.html#afde5f4bbb4d014076a5a3c8ca6dff204">rpmpluginsCallCleanup</a> (<a class="el" href="rpmtypes_8h.html#a62f246cc316cbf9af71ac9ee8fce9422">rpmPlugins</a> plugins, const char *name)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Call the cleanup plugin hook. <a href="#afde5f4bbb4d014076a5a3c8ca6dff204"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__rpmtypes.html#ga06da857c39457bfb6ea9049643fdb706">rpmRC</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="rpmplugins_8h.html#a7b962f2d41383ffa8c64fcbec257ccc6">rpmpluginsCallOpenTE</a> (<a class="el" href="rpmtypes_8h.html#a62f246cc316cbf9af71ac9ee8fce9422">rpmPlugins</a> plugins, const char *name, <a class="el" href="group__rpmtypes.html#ga257d5c7d60e6ce00722ef73041b2c514">rpmte</a> te)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Call the open te plugin hook. <a href="#a7b962f2d41383ffa8c64fcbec257ccc6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__rpmtypes.html#ga06da857c39457bfb6ea9049643fdb706">rpmRC</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="rpmplugins_8h.html#aaf75b2fd8484edc6bbc92ab7f6fde738">rpmpluginsCallCollectionPostAdd</a> (<a class="el" href="rpmtypes_8h.html#a62f246cc316cbf9af71ac9ee8fce9422">rpmPlugins</a> plugins, const char *name)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Call the collection post add plugin hook. <a href="#aaf75b2fd8484edc6bbc92ab7f6fde738"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__rpmtypes.html#ga06da857c39457bfb6ea9049643fdb706">rpmRC</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="rpmplugins_8h.html#a7bfd8fc544812bd591e832b0d1bfa313">rpmpluginsCallCollectionPostAny</a> (<a class="el" href="rpmtypes_8h.html#a62f246cc316cbf9af71ac9ee8fce9422">rpmPlugins</a> plugins, const char *name)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Call the collection post any plugin hook. <a href="#a7bfd8fc544812bd591e832b0d1bfa313"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__rpmtypes.html#ga06da857c39457bfb6ea9049643fdb706">rpmRC</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="rpmplugins_8h.html#a71ac1a87dc3808670dd124cce95cba22">rpmpluginsCallCollectionPreRemove</a> (<a class="el" href="rpmtypes_8h.html#a62f246cc316cbf9af71ac9ee8fce9422">rpmPlugins</a> plugins, const char *name)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Call the collection pre remove plugin hook. <a href="#a71ac1a87dc3808670dd124cce95cba22"></a><br/></td></tr>
</table>
<hr/><h2>Define Documentation</h2>
<a class="anchor" id="a268226ef938c4c12b4323a10b30c4a4a"></a><!-- doxytag: member="rpmplugins.h::PLUGIN_HOOKS" ref="a268226ef938c4c12b4323a10b30c4a4a" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define PLUGIN_HOOKS plugin_hooks</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="rpmplugins_8h_source.html#l00010">10</a> of file <a class="el" href="rpmplugins_8h_source.html">rpmplugins.h</a>.</p>
</div>
</div>
<a class="anchor" id="abe1fa3d7e8a496f5940dd2885e5d2fff"></a><!-- doxytag: member="rpmplugins.h::PLUGINHOOK_CLEANUP_FUNC" ref="abe1fa3d7e8a496f5940dd2885e5d2fff" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define PLUGINHOOK_CLEANUP_FUNC pluginhook_cleanup</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="rpmplugins_8h_source.html#l00013">13</a> of file <a class="el" href="rpmplugins_8h_source.html">rpmplugins.h</a>.</p>
</div>
</div>
<a class="anchor" id="aff0e1f8476a0536c8fcd173e2a9f5c65"></a><!-- doxytag: member="rpmplugins.h::PLUGINHOOK_COLL_POST_ADD_FUNC" ref="aff0e1f8476a0536c8fcd173e2a9f5c65" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define PLUGINHOOK_COLL_POST_ADD_FUNC pluginhook_coll_post_add</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="rpmplugins_8h_source.html#l00015">15</a> of file <a class="el" href="rpmplugins_8h_source.html">rpmplugins.h</a>.</p>
</div>
</div>
<a class="anchor" id="aa1a9dfd5fca81cf60132c6ac99bc27bb"></a><!-- doxytag: member="rpmplugins.h::PLUGINHOOK_COLL_POST_ANY_FUNC" ref="aa1a9dfd5fca81cf60132c6ac99bc27bb" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define PLUGINHOOK_COLL_POST_ANY_FUNC pluginhook_coll_post_any</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="rpmplugins_8h_source.html#l00016">16</a> of file <a class="el" href="rpmplugins_8h_source.html">rpmplugins.h</a>.</p>
</div>
</div>
<a class="anchor" id="ab93c3873682ecabbb1c1f67822002ac6"></a><!-- doxytag: member="rpmplugins.h::PLUGINHOOK_COLL_PRE_REMOVE_FUNC" ref="ab93c3873682ecabbb1c1f67822002ac6" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define PLUGINHOOK_COLL_PRE_REMOVE_FUNC pluginhook_coll_pre_remove</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="rpmplugins_8h_source.html#l00017">17</a> of file <a class="el" href="rpmplugins_8h_source.html">rpmplugins.h</a>.</p>
</div>
</div>
<a class="anchor" id="aad92815ba95f864dbc171629f748ff1f"></a><!-- doxytag: member="rpmplugins.h::PLUGINHOOK_INIT_FUNC" ref="aad92815ba95f864dbc171629f748ff1f" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define PLUGINHOOK_INIT_FUNC pluginhook_init</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="rpmplugins_8h_source.html#l00012">12</a> of file <a class="el" href="rpmplugins_8h_source.html">rpmplugins.h</a>.</p>
</div>
</div>
<a class="anchor" id="ae610a54f33ae8abcf316d90ef98d44f7"></a><!-- doxytag: member="rpmplugins.h::PLUGINHOOK_OPENTE_FUNC" ref="ae610a54f33ae8abcf316d90ef98d44f7" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define PLUGINHOOK_OPENTE_FUNC pluginhook_opente</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="rpmplugins_8h_source.html#l00014">14</a> of file <a class="el" href="rpmplugins_8h_source.html">rpmplugins.h</a>.</p>
</div>
</div>
<hr/><h2>Typedef Documentation</h2>
<a class="anchor" id="ad831701ad8f781d0e06c8ac082cf9ad3"></a><!-- doxytag: member="rpmplugins.h::rpmPluginHook" ref="ad831701ad8f781d0e06c8ac082cf9ad3" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="group__rpmtypes.html#ga44316ffc2f14b8b54c8473f2977e8c81">rpmFlags</a> <a class="el" href="rpmplugins_8h.html#ad831701ad8f781d0e06c8ac082cf9ad3">rpmPluginHook</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="rpmplugins_8h_source.html#l00029">29</a> of file <a class="el" href="rpmplugins_8h_source.html">rpmplugins.h</a>.</p>
</div>
</div>
<hr/><h2>Enumeration Type Documentation</h2>
<a class="anchor" id="a7f65e651ef96bf4eb8b1b57e4cc4cd9d"></a><!-- doxytag: member="rpmplugins.h::rpmPluginHook_e" ref="a7f65e651ef96bf4eb8b1b57e4cc4cd9d" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="rpmplugins_8h.html#a7f65e651ef96bf4eb8b1b57e4cc4cd9d">rpmPluginHook_e</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a7f65e651ef96bf4eb8b1b57e4cc4cd9da79b38b06996f46e62ba5bcd446b19836"></a><!-- doxytag: member="PLUGINHOOK_NONE" ref="a7f65e651ef96bf4eb8b1b57e4cc4cd9da79b38b06996f46e62ba5bcd446b19836" args="" -->PLUGINHOOK_NONE</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a7f65e651ef96bf4eb8b1b57e4cc4cd9da365cc34928d901e37ca18a015f0c1e74"></a><!-- doxytag: member="PLUGINHOOK_INIT" ref="a7f65e651ef96bf4eb8b1b57e4cc4cd9da365cc34928d901e37ca18a015f0c1e74" args="" -->PLUGINHOOK_INIT</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a7f65e651ef96bf4eb8b1b57e4cc4cd9daf6280a89e118651accc3515c17ff75fc"></a><!-- doxytag: member="PLUGINHOOK_CLEANUP" ref="a7f65e651ef96bf4eb8b1b57e4cc4cd9daf6280a89e118651accc3515c17ff75fc" args="" -->PLUGINHOOK_CLEANUP</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a7f65e651ef96bf4eb8b1b57e4cc4cd9da577c0f57fa27cbc34c1892a2033f1ce4"></a><!-- doxytag: member="PLUGINHOOK_OPENTE" ref="a7f65e651ef96bf4eb8b1b57e4cc4cd9da577c0f57fa27cbc34c1892a2033f1ce4" args="" -->PLUGINHOOK_OPENTE</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a7f65e651ef96bf4eb8b1b57e4cc4cd9da937b81eedec859f622aa9cb88adbd3da"></a><!-- doxytag: member="PLUGINHOOK_COLL_POST_ADD" ref="a7f65e651ef96bf4eb8b1b57e4cc4cd9da937b81eedec859f622aa9cb88adbd3da" args="" -->PLUGINHOOK_COLL_POST_ADD</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a7f65e651ef96bf4eb8b1b57e4cc4cd9daa09aa9195c04ad16c663053a8269137d"></a><!-- doxytag: member="PLUGINHOOK_COLL_POST_ANY" ref="a7f65e651ef96bf4eb8b1b57e4cc4cd9daa09aa9195c04ad16c663053a8269137d" args="" -->PLUGINHOOK_COLL_POST_ANY</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a7f65e651ef96bf4eb8b1b57e4cc4cd9daaa2eef5ca9f514d40ed844aa98506be1"></a><!-- doxytag: member="PLUGINHOOK_COLL_PRE_REMOVE" ref="a7f65e651ef96bf4eb8b1b57e4cc4cd9daaa2eef5ca9f514d40ed844aa98506be1" args="" -->PLUGINHOOK_COLL_PRE_REMOVE</em> </td><td>
</td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="rpmplugins_8h_source.html#l00019">19</a> of file <a class="el" href="rpmplugins_8h_source.html">rpmplugins.h</a>.</p>
</div>
</div>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a826e0017735f128653d5f96bba9a7342"></a><!-- doxytag: member="rpmplugins.h::rpmpluginsAdd" ref="a826e0017735f128653d5f96bba9a7342" args="(rpmPlugins plugins, const char *name, const char *path, const char *opts)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__rpmtypes.html#ga06da857c39457bfb6ea9049643fdb706">rpmRC</a> rpmpluginsAdd </td>
<td>(</td>
<td class="paramtype"><a class="el" href="rpmtypes_8h.html#a62f246cc316cbf9af71ac9ee8fce9422">rpmPlugins</a> </td>
<td class="paramname"> <em>plugins</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"> <em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"> <em>path</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"> <em>opts</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Add and open a plugin. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>plugins</em> </td><td>plugins structure to add a plugin to </td></tr>
<tr><td valign="top"></td><td valign="top"><em>name</em> </td><td>name to access plugin </td></tr>
<tr><td valign="top"></td><td valign="top"><em>path</em> </td><td>path of plugin to open </td></tr>
<tr><td valign="top"></td><td valign="top"><em>opts</em> </td><td>options to pass to the plugin </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>RPMRC_OK on success, RPMRC_FAIL otherwise </dd></dl>
</div>
</div>
<a class="anchor" id="afc7febdd98c604e5968b36bd420a74b4"></a><!-- doxytag: member="rpmplugins.h::rpmpluginsAddCollectionPlugin" ref="afc7febdd98c604e5968b36bd420a74b4" args="(rpmPlugins plugins, const char *name)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__rpmtypes.html#ga06da857c39457bfb6ea9049643fdb706">rpmRC</a> rpmpluginsAddCollectionPlugin </td>
<td>(</td>
<td class="paramtype"><a class="el" href="rpmtypes_8h.html#a62f246cc316cbf9af71ac9ee8fce9422">rpmPlugins</a> </td>
<td class="paramname"> <em>plugins</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"> <em>name</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Add and open a collection plugin. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>plugins</em> </td><td>plugins structure to add a collection plugin to </td></tr>
<tr><td valign="top"></td><td valign="top"><em>name</em> </td><td>name of collection to open </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>RPMRC_OK on success, RPMRC_FAIL otherwise </dd></dl>
</div>
</div>
<a class="anchor" id="afde5f4bbb4d014076a5a3c8ca6dff204"></a><!-- doxytag: member="rpmplugins.h::rpmpluginsCallCleanup" ref="afde5f4bbb4d014076a5a3c8ca6dff204" args="(rpmPlugins plugins, const char *name)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__rpmtypes.html#ga06da857c39457bfb6ea9049643fdb706">rpmRC</a> rpmpluginsCallCleanup </td>
<td>(</td>
<td class="paramtype"><a class="el" href="rpmtypes_8h.html#a62f246cc316cbf9af71ac9ee8fce9422">rpmPlugins</a> </td>
<td class="paramname"> <em>plugins</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"> <em>name</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Call the cleanup plugin hook. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>plugins</em> </td><td>plugins structure </td></tr>
<tr><td valign="top"></td><td valign="top"><em>name</em> </td><td>name of plugin </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>RPMRC_OK on success, RPMRC_FAIL otherwise </dd></dl>
</div>
</div>
<a class="anchor" id="aaf75b2fd8484edc6bbc92ab7f6fde738"></a><!-- doxytag: member="rpmplugins.h::rpmpluginsCallCollectionPostAdd" ref="aaf75b2fd8484edc6bbc92ab7f6fde738" args="(rpmPlugins plugins, const char *name)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__rpmtypes.html#ga06da857c39457bfb6ea9049643fdb706">rpmRC</a> rpmpluginsCallCollectionPostAdd </td>
<td>(</td>
<td class="paramtype"><a class="el" href="rpmtypes_8h.html#a62f246cc316cbf9af71ac9ee8fce9422">rpmPlugins</a> </td>
<td class="paramname"> <em>plugins</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"> <em>name</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Call the collection post add plugin hook. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>plugins</em> </td><td>plugins structure </td></tr>
<tr><td valign="top"></td><td valign="top"><em>name</em> </td><td>name of plugin </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>RPMRC_OK on success, RPMRC_FAIL otherwise </dd></dl>
</div>
</div>
<a class="anchor" id="a7bfd8fc544812bd591e832b0d1bfa313"></a><!-- doxytag: member="rpmplugins.h::rpmpluginsCallCollectionPostAny" ref="a7bfd8fc544812bd591e832b0d1bfa313" args="(rpmPlugins plugins, const char *name)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__rpmtypes.html#ga06da857c39457bfb6ea9049643fdb706">rpmRC</a> rpmpluginsCallCollectionPostAny </td>
<td>(</td>
<td class="paramtype"><a class="el" href="rpmtypes_8h.html#a62f246cc316cbf9af71ac9ee8fce9422">rpmPlugins</a> </td>
<td class="paramname"> <em>plugins</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"> <em>name</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Call the collection post any plugin hook. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>plugins</em> </td><td>plugins structure </td></tr>
<tr><td valign="top"></td><td valign="top"><em>name</em> </td><td>name of plugin </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>RPMRC_OK on success, RPMRC_FAIL otherwise </dd></dl>
</div>
</div>
<a class="anchor" id="a71ac1a87dc3808670dd124cce95cba22"></a><!-- doxytag: member="rpmplugins.h::rpmpluginsCallCollectionPreRemove" ref="a71ac1a87dc3808670dd124cce95cba22" args="(rpmPlugins plugins, const char *name)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__rpmtypes.html#ga06da857c39457bfb6ea9049643fdb706">rpmRC</a> rpmpluginsCallCollectionPreRemove </td>
<td>(</td>
<td class="paramtype"><a class="el" href="rpmtypes_8h.html#a62f246cc316cbf9af71ac9ee8fce9422">rpmPlugins</a> </td>
<td class="paramname"> <em>plugins</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"> <em>name</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Call the collection pre remove plugin hook. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>plugins</em> </td><td>plugins structure </td></tr>
<tr><td valign="top"></td><td valign="top"><em>name</em> </td><td>name of plugin </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>RPMRC_OK on success, RPMRC_FAIL otherwise </dd></dl>
</div>
</div>
<a class="anchor" id="a8c894bd70d16664bb8042f3df3e0fdbb"></a><!-- doxytag: member="rpmplugins.h::rpmpluginsCallInit" ref="a8c894bd70d16664bb8042f3df3e0fdbb" args="(rpmPlugins plugins, const char *name, const char *opts)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__rpmtypes.html#ga06da857c39457bfb6ea9049643fdb706">rpmRC</a> rpmpluginsCallInit </td>
<td>(</td>
<td class="paramtype"><a class="el" href="rpmtypes_8h.html#a62f246cc316cbf9af71ac9ee8fce9422">rpmPlugins</a> </td>
<td class="paramname"> <em>plugins</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"> <em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"> <em>opts</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Call the init plugin hook. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>plugins</em> </td><td>plugins structure </td></tr>
<tr><td valign="top"></td><td valign="top"><em>name</em> </td><td>name of plugin </td></tr>
<tr><td valign="top"></td><td valign="top"><em>opts</em> </td><td>plugin options </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>RPMRC_OK on success, RPMRC_FAIL otherwise </dd></dl>
</div>
</div>
<a class="anchor" id="a7b962f2d41383ffa8c64fcbec257ccc6"></a><!-- doxytag: member="rpmplugins.h::rpmpluginsCallOpenTE" ref="a7b962f2d41383ffa8c64fcbec257ccc6" args="(rpmPlugins plugins, const char *name, rpmte te)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__rpmtypes.html#ga06da857c39457bfb6ea9049643fdb706">rpmRC</a> rpmpluginsCallOpenTE </td>
<td>(</td>
<td class="paramtype"><a class="el" href="rpmtypes_8h.html#a62f246cc316cbf9af71ac9ee8fce9422">rpmPlugins</a> </td>
<td class="paramname"> <em>plugins</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"> <em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__rpmtypes.html#ga257d5c7d60e6ce00722ef73041b2c514">rpmte</a> </td>
<td class="paramname"> <em>te</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Call the open te plugin hook. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>plugins</em> </td><td>plugins structure </td></tr>
<tr><td valign="top"></td><td valign="top"><em>name</em> </td><td>name of plugin </td></tr>
<tr><td valign="top"></td><td valign="top"><em>te</em> </td><td>transaction element opened </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>RPMRC_OK on success, RPMRC_FAIL otherwise </dd></dl>
</div>
</div>
<a class="anchor" id="a0c43a68beefb12aaa09560cdee4d57d3"></a><!-- doxytag: member="rpmplugins.h::rpmpluginsFree" ref="a0c43a68beefb12aaa09560cdee4d57d3" args="(rpmPlugins plugins)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="rpmtypes_8h.html#a62f246cc316cbf9af71ac9ee8fce9422">rpmPlugins</a> rpmpluginsFree </td>
<td>(</td>
<td class="paramtype"><a class="el" href="rpmtypes_8h.html#a62f246cc316cbf9af71ac9ee8fce9422">rpmPlugins</a> </td>
<td class="paramname"> <em>plugins</em></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Destroy a plugins structure. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>plugins</em> </td><td>plugins structure to destroy </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>NULL always </dd></dl>
</div>
</div>
<a class="anchor" id="ae7ec5380e64e59a4025f38e156c05a55"></a><!-- doxytag: member="rpmplugins.h::rpmpluginsNew" ref="ae7ec5380e64e59a4025f38e156c05a55" args="(rpmts ts)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="rpmtypes_8h.html#a62f246cc316cbf9af71ac9ee8fce9422">rpmPlugins</a> rpmpluginsNew </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__rpmtypes.html#ga1a512138316a227059ca128597dbd464">rpmts</a> </td>
<td class="paramname"> <em>ts</em></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Create a new plugins structure. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>ts</em> </td><td>transaction set </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>new plugin structure </dd></dl>
</div>
</div>
<a class="anchor" id="a63465f536a598ed22b0d091a93e24b74"></a><!-- doxytag: member="rpmplugins.h::rpmpluginsPluginAdded" ref="a63465f536a598ed22b0d091a93e24b74" args="(rpmPlugins plugins, const char *name)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int rpmpluginsPluginAdded </td>
<td>(</td>
<td class="paramtype"><a class="el" href="rpmtypes_8h.html#a62f246cc316cbf9af71ac9ee8fce9422">rpmPlugins</a> </td>
<td class="paramname"> <em>plugins</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"> <em>name</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Determine if a plugin has been added already. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>plugins</em> </td><td>plugins structure </td></tr>
<tr><td valign="top"></td><td valign="top"><em>name</em> </td><td>name of plugin to check </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>1 if plugin name has already been added, 0 otherwise </dd></dl>
</div>
</div>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Tue Dec 14 2010 for rpm by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
</body>
</html>