summaryrefslogtreecommitdiff
path: root/pythonmod/pythonmod.h
AgeCommit message (Collapse)AuthorLines
2023-07-21Merge branch 'python_add_missing_callbacks' of ↵George Thessalonikefs-0/+8
https://github.com/fhriley/unbound into fhriley-python_add_missing_callbacks
2021-01-08- For #391: fix indentation.W.C.A. Wijngaards-1/+1
2021-01-08- For #391: use struct timeval* start_time for callback information.W.C.A. Wijngaards-1/+1
2021-01-01Add start_time to reply callbacks so modules can compute the response time.Frank Riley-2/+2
2021-01-01Add missing callbacks to the python moduleFrank Riley-0/+8
2018-11-20- Add patch from Jan Vcelak for pythonmod,Wouter Wijngaards-0/+8
add sockaddr_storage getters, add support for query callbacks, allow raw address access via comm_reply and update API documentation. git-svn-id: file:///svn/unbound/trunk@4962 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-08-22- #4140: Expose repinfo (comm_reply) to the inplace_callbacks. ThisGeorge Thessalonikefs-1/+2
gives access to reply information for the client's communication point when the callback is called before the mesh state (modules). Changes to C and Python's inplace_callback signatures were also necessary. git-svn-id: file:///svn/unbound/trunk@4870 be551aaa-1e26-0410-a405-d3ace91eadb9
2017-04-06- Fix pythonmod for cb changes.Wouter Wijngaards-1/+1
git-svn-id: file:///svn/unbound/trunk@4097 be551aaa-1e26-0410-a405-d3ace91eadb9
2016-12-06- Added generic EDNS code for registering known EDNS option codes,George Thessalonikefs-2/+10
bypassing the cache response stage and uniquifying mesh states. Four EDNS option lists were added to module_qstate (module_qstate.edns_opts_*) to store EDNS options from/to front/back side. - Added two flags to module_qstate (no_cache_lookup, no_cache_store) that control the modules' cache interactions. - Added code for registering inplace callback functions. The registered functions can be called just before replying with local data or Chaos, replying from cache, replying with SERVFAIL, replying with a resolved query, sending a query to a nameserver. The functions can inspect the available data and maybe change response/query related data (i.e. append EDNS options). - Updated Python module for the above. - Updated Python documentation. git-svn-id: file:///svn/unbound/trunk@3947 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-07-07- Neat function prototypes, unshadowed local declarations.Wouter Wijngaards-1/+1
git-svn-id: file:///svn/unbound/trunk@2188 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-06-18python warning suppress.Wouter Wijngaards-45/+0
git-svn-id: file:///svn/unbound/trunk@1672 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-04-01new libunbound calls documented.Wouter Wijngaards-1/+8
git-svn-id: file:///svn/unbound/trunk@1571 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-03-25python module compiles.Wouter Wijngaards-0/+3
git-svn-id: file:///svn/unbound/trunk@1557 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-03-25python contribution from Zdenek Vasicek and Marek Vavrusa (BSD licensed).Wouter Wijngaards-0/+103
git-svn-id: file:///svn/unbound/trunk@1556 be551aaa-1e26-0410-a405-d3ace91eadb9