]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD/MAJOR:updated 51d Trie implementation to incorperate latest update to 51Degrees.c
authorben51degrees <ben@51degrees.com>
Wed, 6 Jul 2016 11:07:21 +0000 (12:07 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 24 Aug 2016 18:29:31 +0000 (20:29 +0200)
commit1f077ebff2cfb2d12cf2e8437ffa9ccb4d8ef96b
tree8347b7d499a50cc9958bd163501e25594562edce
parent17494bc6959905ec351ad60942a73121561a8b1c
BUILD/MAJOR:updated 51d Trie implementation to incorperate latest update to 51Degrees.c

Trie now uses a dataset structure just like Pattern, so this has been
defined in includes/types/global.h for both Pattern and Trie where it
was just Pattern.
In src/51d.c all functions used by the Trie implementation which need a
dataset as an argument now use the global dataset. The
fiftyoneDegreesDestroy method has now been replaced with
fiftyoneDegreesDataSetFree which is common to Pattern and Trie. In
addition, two extra dataset init status' have been added to the switch
statement in init_51degrees.
include/types/global.h
src/51d.c