<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>unbound: pythonmod/pythonmod.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.5.9 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</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> <li><a href="dirs.html"><span>Directories</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="dir_c174c9fff4b3cb93696db8ab0b7b74e5.html">pythonmod</a> </div> </div> <div class="contents"> <h1>pythonmod.h File Reference</h1>Python module for unbound. <a href="#_details">More...</a> <p> <code>#include "<a class="el" href="module_8h.html">util/module.h</a>"</code><br> <code>#include "<a class="el" href="outbound__list_8h.html">services/outbound_list.h</a>"</code><br> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct <a class="el" href="structmodule__func__block.html">module_func_block</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="pythonmod_8h.html#6eecfde26216b66862c501d00ebad87b">pythonmod_get_funcblock</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the module function block. <a href="#6eecfde26216b66862c501d00ebad87b"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b52370917fd4361577dfccee53448560"></a><!-- doxytag: member="pythonmod.h::pythonmod_init" ref="b52370917fd4361577dfccee53448560" args="(struct module_env *env, int id)" --> int </td><td class="memItemRight" valign="bottom"><a class="el" href="pythonmod_8h.html#b52370917fd4361577dfccee53448560">pythonmod_init</a> (struct <a class="el" href="structmodule__env.html">module_env</a> *env, int id)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">python module init <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="daf954b9df30ef777cdd8c03cd1f8c60"></a><!-- doxytag: member="pythonmod.h::pythonmod_deinit" ref="daf954b9df30ef777cdd8c03cd1f8c60" args="(struct module_env *env, int id)" --> void </td><td class="memItemRight" valign="bottom"><a class="el" href="pythonmod_8h.html#daf954b9df30ef777cdd8c03cd1f8c60">pythonmod_deinit</a> (struct <a class="el" href="structmodule__env.html">module_env</a> *env, int id)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">python module deinit <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6b79493eecfe3c315fe0975c4160c62b"></a><!-- doxytag: member="pythonmod.h::pythonmod_operate" ref="6b79493eecfe3c315fe0975c4160c62b" args="(struct module_qstate *qstate, enum module_ev event, int id, struct outbound_entry *outbound)" --> void </td><td class="memItemRight" valign="bottom"><a class="el" href="pythonmod_8h.html#6b79493eecfe3c315fe0975c4160c62b">pythonmod_operate</a> (struct <a class="el" href="structmodule__qstate.html">module_qstate</a> *qstate, enum <a class="el" href="module_8h.html#3d7416154a3bc44d78e8a6e99efc4376">module_ev</a> event, int id, struct <a class="el" href="structoutbound__entry.html">outbound_entry</a> *outbound)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">python module operate on a query <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b4f9f00c7644cd159c213b6603e21406"></a><!-- doxytag: member="pythonmod.h::pythonmod_inform_super" ref="b4f9f00c7644cd159c213b6603e21406" args="(struct module_qstate *qstate, int id, struct module_qstate *super)" --> void </td><td class="memItemRight" valign="bottom"><a class="el" href="pythonmod_8h.html#b4f9f00c7644cd159c213b6603e21406">pythonmod_inform_super</a> (struct <a class="el" href="structmodule__qstate.html">module_qstate</a> *qstate, int id, struct <a class="el" href="structmodule__qstate.html">module_qstate</a> *super)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">python module <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0fc911081c16ab14892de21f2211deb0"></a><!-- doxytag: member="pythonmod.h::pythonmod_clear" ref="0fc911081c16ab14892de21f2211deb0" args="(struct module_qstate *qstate, int id)" --> void </td><td class="memItemRight" valign="bottom"><a class="el" href="pythonmod_8h.html#0fc911081c16ab14892de21f2211deb0">pythonmod_clear</a> (struct <a class="el" href="structmodule__qstate.html">module_qstate</a> *qstate, int id)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">python module cleanup query state <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a29381544be88702f5435aabc59b43df"></a><!-- doxytag: member="pythonmod.h::pythonmod_get_mem" ref="a29381544be88702f5435aabc59b43df" args="(struct module_env *env, int id)" --> size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="pythonmod_8h.html#a29381544be88702f5435aabc59b43df">pythonmod_get_mem</a> (struct <a class="el" href="structmodule__env.html">module_env</a> *env, int id)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">python module alloc size routine <br></td></tr> </table> <hr><h2>Detailed Description</h2> Python module for unbound. <p> Calls python script. <hr><h2>Function Documentation</h2> <a class="anchor" name="6eecfde26216b66862c501d00ebad87b"></a><!-- doxytag: member="pythonmod.h::pythonmod_get_funcblock" ref="6eecfde26216b66862c501d00ebad87b" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">struct <a class="el" href="structmodule__func__block.html">module_func_block</a>* pythonmod_get_funcblock </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [read]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the module function block. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>: function block with function pointers to module methods. </dd></dl> <p>Referenced by <a class="el" href="unbound-checkconf_8c_source.html#l00547">checkconf()</a>, and <a class="el" href="modstack_8c_source.html#l00132">module_funcs_avail()</a>.</p> </div> </div><p> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Tue Oct 13 06:46:31 2009 for unbound by <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>