diff options
| author | Riccardo Spagni <ric@spagni.net> | 2017-06-24 12:42:28 +0200 |
|---|---|---|
| committer | Riccardo Spagni <ric@spagni.net> | 2017-06-24 12:42:29 +0200 |
| commit | 389cd6c466486e670e6f9cd74d2cfdf46f392340 (patch) | |
| tree | c4b10fac237c407badc8300b2d6116fe6a1ce7cb /external/unbound/pythonmod/pythonmod.h | |
| parent | f31b89012d5299e08ea897bf1061a5b3def8d96a (diff) | |
| parent | a85b5759f34c0c4110a479a8b5fa606f15ed9b23 (diff) | |
| download | monzero-core-389cd6c466486e670e6f9cd74d2cfdf46f392340.tar.gz monzero-core-389cd6c466486e670e6f9cd74d2cfdf46f392340.tar.xz monzero-core-389cd6c466486e670e6f9cd74d2cfdf46f392340.zip | |
Merge pull request #2089
a85b5759 Upgrade unbound library (Erik de Castro Lopo)
Diffstat (limited to 'external/unbound/pythonmod/pythonmod.h')
| -rw-r--r-- | external/unbound/pythonmod/pythonmod.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/external/unbound/pythonmod/pythonmod.h b/external/unbound/pythonmod/pythonmod.h index b108cf923..7c7c0e751 100644 --- a/external/unbound/pythonmod/pythonmod.h +++ b/external/unbound/pythonmod/pythonmod.h @@ -55,14 +55,22 @@ int pythonmod_init(struct module_env* env, int id); void pythonmod_deinit(struct module_env* env, int id); /** python module operate on a query */ -void pythonmod_operate(struct module_qstate* qstate, enum module_ev event, int id, struct outbound_entry* outbound); +void pythonmod_operate(struct module_qstate* qstate, enum module_ev event, + int id, struct outbound_entry* outbound); /** python module */ -void pythonmod_inform_super(struct module_qstate* qstate, int id, struct module_qstate* super); +void pythonmod_inform_super(struct module_qstate* qstate, int id, + struct module_qstate* super); /** python module cleanup query state */ void pythonmod_clear(struct module_qstate* qstate, int id); /** python module alloc size routine */ size_t pythonmod_get_mem(struct module_env* env, int id); + +/** Declared here for fptr_wlist access. The definition is in interface.i. */ +int python_inplace_cb_reply_generic(struct query_info* qinfo, + struct module_qstate* qstate, struct reply_info* rep, int rcode, + struct edns_data* edns, struct edns_option** opt_list_out, + struct regional* region, int id, void* python_callback); #endif /* PYTHONMOD_H */ |
