Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 874255f3b26b44feb57fbe38a7384518 > files > 269

gmerlin-0.4.1-2mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>gmerlin: bg_plugin_handle_s Struct 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.5.9 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li><a href="functions.html"><span>Data&nbsp;Fields</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>bg_plugin_handle_s Struct Reference<br>
<small>
[<a class="el" href="group__plugin__registry.html">Plugin registry</a>]</small>
</h1><!-- doxytag: class="bg_plugin_handle_s" -->Handle of a loaded plugin.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="pluginregistry_8h_source.html">pluginregistry.h</a>&gt;</code>
<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbg__plugin__handle__s.html#578f891d2f34c741b4290797e57ffe47">dll_handle</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">dll_handle (don't touch)  <a href="#578f891d2f34c741b4290797e57ffe47"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">pthread_mutex_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbg__plugin__handle__s.html#0cfd40be3179f22e4df7dd317cc27874">mutex</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">dll_handle (don't touch, use <a class="el" href="group__plugin__registry.html#geba20629fb5282b1663ca41e75675286">bg_plugin_lock</a> and <a class="el" href="group__plugin__registry.html#gf4d02d10d55fb439026fe91342eac853">bg_plugin_unlock</a>)  <a href="#0cfd40be3179f22e4df7dd317cc27874"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbg__plugin__handle__s.html#8b346361ca0f3dda84dc77e68f096ebf">refcount</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Reference counter (don't touch, use <a class="el" href="group__plugin__registry.html#g8812ac1b2877ba12eb061d86a106a483">bg_plugin_ref</a> and <a class="el" href="group__plugin__registry.html#g33492a23c46df0c9e8b9de865964f4b8">bg_plugin_unref</a>).  <a href="#8b346361ca0f3dda84dc77e68f096ebf"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__plugin__registry.html#g7470a35f2437f3fbc9762587d3fe7142">bg_plugin_registry_t</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbg__plugin__handle__s.html#fbe600294cdb685169453d02534a91b9">plugin_reg</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The plugin registry, from which the plugin was loaded.  <a href="#fbe600294cdb685169453d02534a91b9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="structbg__plugin__common__s.html">bg_plugin_common_t</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbg__plugin__handle__s.html#534a17427449477bfe6838079438326c">plugin</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Common structure, cast this to the derived type (e.g. <a class="el" href="group__plugin__i.html#g6ccb967304e1b6df47b40cd5831fa3c5">bg_input_plugin_t</a>).  <a href="#534a17427449477bfe6838079438326c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structbg__plugin__common__s.html">bg_plugin_common_t</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbg__plugin__handle__s.html#d99e062b42b51aa5c3aee67296ff3b84">plugin_nc</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Used for dynamic allocation. Never touch this.  <a href="#d99e062b42b51aa5c3aee67296ff3b84"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="structbg__plugin__info__s.html">bg_plugin_info_t</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbg__plugin__handle__s.html#281235871e73011626bda9edeb75a7f2">info</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Info about this plugin.  <a href="#281235871e73011626bda9edeb75a7f2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbg__plugin__handle__s.html#7b5811a9d6b0e20e15fd7375d24189ff">priv</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Private handle, passed as the first argument to most plugin functions.  <a href="#7b5811a9d6b0e20e15fd7375d24189ff"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbg__plugin__handle__s.html#8fc08c3d41eb38b621c21cdde29aa382">location</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Applications can save the argument of an open call here.  <a href="#8fc08c3d41eb38b621c21cdde29aa382"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structbg__edl__s.html">bg_edl_t</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbg__plugin__handle__s.html#3d0ec8369660828449971c799861785b">edl</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">EDL.  <a href="#3d0ec8369660828449971c799861785b"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Handle of a loaded plugin. 
<p>
When you load a plugin, the shared module will be loaded. Then, the create method of the plugin is called. The pointer obtained from the create method is stored in the priv member of the returned handle. <hr><h2>Field Documentation</h2>
<a class="anchor" name="578f891d2f34c741b4290797e57ffe47"></a><!-- doxytag: member="bg_plugin_handle_s::dll_handle" ref="578f891d2f34c741b4290797e57ffe47" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* <a class="el" href="structbg__plugin__handle__s.html#578f891d2f34c741b4290797e57ffe47">bg_plugin_handle_s::dll_handle</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
dll_handle (don't touch) 
<p>

</div>
</div><p>
<a class="anchor" name="0cfd40be3179f22e4df7dd317cc27874"></a><!-- doxytag: member="bg_plugin_handle_s::mutex" ref="0cfd40be3179f22e4df7dd317cc27874" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">pthread_mutex_t <a class="el" href="structbg__plugin__handle__s.html#0cfd40be3179f22e4df7dd317cc27874">bg_plugin_handle_s::mutex</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
dll_handle (don't touch, use <a class="el" href="group__plugin__registry.html#geba20629fb5282b1663ca41e75675286">bg_plugin_lock</a> and <a class="el" href="group__plugin__registry.html#gf4d02d10d55fb439026fe91342eac853">bg_plugin_unlock</a>) 
<p>

</div>
</div><p>
<a class="anchor" name="8b346361ca0f3dda84dc77e68f096ebf"></a><!-- doxytag: member="bg_plugin_handle_s::refcount" ref="8b346361ca0f3dda84dc77e68f096ebf" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="structbg__plugin__handle__s.html#8b346361ca0f3dda84dc77e68f096ebf">bg_plugin_handle_s::refcount</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Reference counter (don't touch, use <a class="el" href="group__plugin__registry.html#g8812ac1b2877ba12eb061d86a106a483">bg_plugin_ref</a> and <a class="el" href="group__plugin__registry.html#g33492a23c46df0c9e8b9de865964f4b8">bg_plugin_unref</a>). 
<p>

</div>
</div><p>
<a class="anchor" name="fbe600294cdb685169453d02534a91b9"></a><!-- doxytag: member="bg_plugin_handle_s::plugin_reg" ref="fbe600294cdb685169453d02534a91b9" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__plugin__registry.html#g7470a35f2437f3fbc9762587d3fe7142">bg_plugin_registry_t</a>* <a class="el" href="structbg__plugin__handle__s.html#fbe600294cdb685169453d02534a91b9">bg_plugin_handle_s::plugin_reg</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The plugin registry, from which the plugin was loaded. 
<p>

</div>
</div><p>
<a class="anchor" name="534a17427449477bfe6838079438326c"></a><!-- doxytag: member="bg_plugin_handle_s::plugin" ref="534a17427449477bfe6838079438326c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="structbg__plugin__common__s.html">bg_plugin_common_t</a>* <a class="el" href="structbg__plugin__handle__s.html#534a17427449477bfe6838079438326c">bg_plugin_handle_s::plugin</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Common structure, cast this to the derived type (e.g. <a class="el" href="group__plugin__i.html#g6ccb967304e1b6df47b40cd5831fa3c5">bg_input_plugin_t</a>). 
<p>

</div>
</div><p>
<a class="anchor" name="d99e062b42b51aa5c3aee67296ff3b84"></a><!-- doxytag: member="bg_plugin_handle_s::plugin_nc" ref="d99e062b42b51aa5c3aee67296ff3b84" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structbg__plugin__common__s.html">bg_plugin_common_t</a>* <a class="el" href="structbg__plugin__handle__s.html#d99e062b42b51aa5c3aee67296ff3b84">bg_plugin_handle_s::plugin_nc</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Used for dynamic allocation. Never touch this. 
<p>

</div>
</div><p>
<a class="anchor" name="281235871e73011626bda9edeb75a7f2"></a><!-- doxytag: member="bg_plugin_handle_s::info" ref="281235871e73011626bda9edeb75a7f2" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="structbg__plugin__info__s.html">bg_plugin_info_t</a>* <a class="el" href="structbg__plugin__handle__s.html#281235871e73011626bda9edeb75a7f2">bg_plugin_handle_s::info</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Info about this plugin. 
<p>

</div>
</div><p>
<a class="anchor" name="7b5811a9d6b0e20e15fd7375d24189ff"></a><!-- doxytag: member="bg_plugin_handle_s::priv" ref="7b5811a9d6b0e20e15fd7375d24189ff" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* <a class="el" href="structbg__plugin__handle__s.html#7b5811a9d6b0e20e15fd7375d24189ff">bg_plugin_handle_s::priv</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Private handle, passed as the first argument to most plugin functions. 
<p>

</div>
</div><p>
<a class="anchor" name="8fc08c3d41eb38b621c21cdde29aa382"></a><!-- doxytag: member="bg_plugin_handle_s::location" ref="8fc08c3d41eb38b621c21cdde29aa382" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char* <a class="el" href="structbg__plugin__handle__s.html#8fc08c3d41eb38b621c21cdde29aa382">bg_plugin_handle_s::location</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Applications can save the argument of an open call here. 
<p>

</div>
</div><p>
<a class="anchor" name="3d0ec8369660828449971c799861785b"></a><!-- doxytag: member="bg_plugin_handle_s::edl" ref="3d0ec8369660828449971c799861785b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structbg__edl__s.html">bg_edl_t</a>* <a class="el" href="structbg__plugin__handle__s.html#3d0ec8369660828449971c799861785b">bg_plugin_handle_s::edl</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
EDL. 
<p>

</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li>/home/mandrake/rpm/BUILD/gmerlin-0.4.1/include/gmerlin/<a class="el" href="pluginregistry_8h_source.html">pluginregistry.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sat Aug 22 01:28:05 2009 for gmerlin by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>