diff options
author | Sergey Poznyakoff <gray@nxc.no> | 2018-02-04 10:11:07 +0100 |
---|---|---|
committer | Sergey Poznyakoff <gray@nxc.no> | 2018-02-04 12:52:11 +0100 |
commit | 7651936f80b1bc6f5b01477ee9e648843097d7b8 (patch) | |
tree | ec6232e179767283c557b6c1babf23bcb1bb455a /src/varnish-mib.8 | |
parent | 82822c0a336018e33658aebb166819c960e92140 (diff) | |
download | varnish-mib-7651936f80b1bc6f5b01477ee9e648843097d7b8.tar.gz varnish-mib-7651936f80b1bc6f5b01477ee9e648843097d7b8.tar.bz2 |
Rewrite hash table support.
* .gitignore: Update.
* Makefile.am (EXTRA_DIST): Add perl modules from lib/VarnishMib
* lib/VarnishMib/HashTable.pm: New file.
* lib/VarnishMib/MIBTable.pm: New file.
* src/Makefile.am (varnish_mib_la_SOURCES): Remove statdict.
(.mib2c.c): Set PERL5LIB
* src/betab.c (backend_dfn.vpt): Remove const qualifier.
(backend_register): Store in vpt cloned points.
(backend_clear): Destroy points in vpt.
* src/statdict.c: Remove.
* src/varnish_mib.mib2c: Use VarnishMib::MIBTable.
Set mib2c variable $varnish_hash_table to an instance of VarnishMib::MIBTable.
Use it to generate lookup table code section.
(varnish_var_lookup, varnish_get_oid)
(dict_clear, dict_install, dict_load): New functions.
(handle_$i): Use direct addressing to obtain a vpt.
Fix handling of ASN_TIMETICKS.
Diffstat (limited to 'src/varnish-mib.8')
0 files changed, 0 insertions, 0 deletions