id_manager: Use array of bool instead of list
authorReto Buerki <reet@codelabs.ch>
Thu, 9 Aug 2012 10:47:58 +0000 (12:47 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 19 Mar 2013 14:23:45 +0000 (15:23 +0100)
commit7aa573a50e06fa02c78740abaa4911b35d635b18
tree9362872a8529651f5d954aca5e45f1df6d5ff8c6
parent49c513c1d9361e21836003ed851a0b829a0e2a33
id_manager: Use array of bool instead of list

Instead of storing the acquired context ids in a linked list, use an
array of booleans for the job. A boolean value of true in the array
designates an available context id.
src/charon-tkm/src/tkm/tkm_id_manager.c
src/charon-tkm/tests/id_manager_tests.c