pythonmod.h File Reference

Python module for unbound. More...

#include "util/module.h"
#include "services/outbound_list.h"

Functions

struct module_func_blockpythonmod_get_funcblock ()
 Get the module function block.
int pythonmod_init (struct module_env *env, int id)
 python module init
void pythonmod_deinit (struct module_env *env, int id)
 python module deinit
void pythonmod_operate (struct module_qstate *qstate, enum module_ev event, int id, struct outbound_entry *outbound)
 python module operate on a query
void pythonmod_inform_super (struct module_qstate *qstate, int id, struct module_qstate *super)
 python module
void pythonmod_clear (struct module_qstate *qstate, int id)
 python module cleanup query state
size_t pythonmod_get_mem (struct module_env *env, int id)
 python module alloc size routine

Detailed Description

Python module for unbound.

Calls python script.


Function Documentation

struct module_func_block* pythonmod_get_funcblock (  )  [read]

Get the module function block.

Returns:
: function block with function pointers to module methods.

Referenced by checkconf(), and module_funcs_avail().

Generated on Thu Apr 22 00:30:16 2010 for unbound by  doxygen 1.6.3