1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3 <title>C-Pluff C API: cp_plugin_import_t Struct Reference</title>
4 <link href="doxygen.css" rel="stylesheet" type="text/css">
5 <link href="tabs.css" rel="stylesheet" type="text/css">
7 <!-- Generated by Doxygen 1.5.1 -->
10 <li><a href="index.html"><span>Main Page</span></a></li>
11 <li><a href="modules.html"><span>Modules</span></a></li>
12 <li id="current"><a href="annotated.html"><span>Data Structures</span></a></li>
13 <li><a href="files.html"><span>Files</span></a></li>
14 <li><a href="pages.html"><span>Related Pages</span></a></li>
18 <li><a href="annotated.html"><span>Data Structures</span></a></li>
19 <li><a href="functions.html"><span>Data Fields</span></a></li>
21 <h1>cp_plugin_import_t Struct Reference<br>
23 [<a class="el" href="group__cStructs.html">Data structures</a>]</small>
24 </h1><!-- doxytag: class="cp_plugin_import_t" --><hr><a name="_details"></a><h2>Detailed Description</h2>
25 Information about plug-in import.
27 Plug-in import structures are contained in <a class="el" href="structcp__plugin__info__t.html#e03a6d473f95a77ad6de9d43610f8d39">cp_plugin_info_t::imports</a>.
29 <table border="0" cellpadding="0" cellspacing="0">
31 <tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
32 <tr><td class="memItemLeft" nowrap align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structcp__plugin__import__t.html#29da905aeb4da90dae48b2aa19f5cc62">plugin_id</a></td></tr>
34 <tr><td class="mdescLeft"> </td><td class="mdescRight">The identifier of the imported plug-in. <a href="#29da905aeb4da90dae48b2aa19f5cc62"></a><br></td></tr>
35 <tr><td class="memItemLeft" nowrap align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structcp__plugin__import__t.html#56abfaab87c46691c1ef3ad0df23e864">version</a></td></tr>
37 <tr><td class="mdescLeft"> </td><td class="mdescRight">An optional version requirement. <a href="#56abfaab87c46691c1ef3ad0df23e864"></a><br></td></tr>
38 <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structcp__plugin__import__t.html#69b1249c974e922ecdd066c43dc91f88">optional</a></td></tr>
40 <tr><td class="mdescLeft"> </td><td class="mdescRight">Is this import optional. <a href="#69b1249c974e922ecdd066c43dc91f88"></a><br></td></tr>
42 <hr><h2>Field Documentation</h2>
43 <a class="anchor" name="29da905aeb4da90dae48b2aa19f5cc62"></a><!-- doxytag: member="cp_plugin_import_t::plugin_id" ref="29da905aeb4da90dae48b2aa19f5cc62" args="" -->
45 <div class="memproto">
46 <table class="memname">
48 <td class="memname">char* <a class="el" href="structcp__plugin__import__t.html#29da905aeb4da90dae48b2aa19f5cc62">plugin_id</a> </td>
55 The identifier of the imported plug-in.
57 This corresponds to the <em>plugin</em> attribute of the <em>import</em> element in a plug-in descriptor.
60 <a class="anchor" name="56abfaab87c46691c1ef3ad0df23e864"></a><!-- doxytag: member="cp_plugin_import_t::version" ref="56abfaab87c46691c1ef3ad0df23e864" args="" -->
62 <div class="memproto">
63 <table class="memname">
65 <td class="memname">char* <a class="el" href="structcp__plugin__import__t.html#56abfaab87c46691c1ef3ad0df23e864">version</a> </td>
72 An optional version requirement.
74 NULL if no version requirement. This is the version of the imported plug-in the importing plug-in was compiled against. Any version of the imported plug-in that is backwards compatible with this version fulfills the requirement. This corresponds to the <em>if-version</em> attribute of the <em>import</em> element in a plug-in descriptor.
77 <a class="anchor" name="69b1249c974e922ecdd066c43dc91f88"></a><!-- doxytag: member="cp_plugin_import_t::optional" ref="69b1249c974e922ecdd066c43dc91f88" args="" -->
79 <div class="memproto">
80 <table class="memname">
82 <td class="memname">int <a class="el" href="structcp__plugin__import__t.html#69b1249c974e922ecdd066c43dc91f88">optional</a> </td>
89 Is this import optional.
91 1 for optional and 0 for mandatory import. An optional import causes the imported plug-in to be started if it is available but does not stop the importing plug-in from starting if the imported plug-in is not available. If the imported plug-in is available but the API version conflicts with the API version requirement then the importing plug-in fails to start. This corresponds to the <em>optional</em> attribute of the <em>import</em> element in a plug-in descriptor.
94 <hr>The documentation for this struct was generated from the following file:<ul>
95 <li><a class="el" href="cpluff_8h-source.html">cpluff.h</a></ul>
98 <a href="http://www.c-pluff.org/">C-Pluff</a>, a plug-in framework for C<br>
99 Copyright 2007 <a href="http://www.jlehtinen.net/">Johannes Lehtinen</a>
101 <p class="generated-by">
102 Generated on Fri Apr 6 15:40:57 2007 for C-Pluff C API by <a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1