charon-tkm: Add acquire_ref method to ID manager
authorAdrian-Ken Rueegsegger <ken@codelabs.ch>
Fri, 1 Sep 2017 15:15:41 +0000 (17:15 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 15 Sep 2017 10:16:57 +0000 (12:16 +0200)
commit1b2a8d963a1503456fb5af47cae82536076a2880
tree771445ee5c16cb31562b1a6506f5d081ade828be
parentfcde9686f67f5724f7de47ed27737bc2457310dc
charon-tkm: Add acquire_ref method to ID manager

The function acquires a reference to the given context reference id for
a specific context kind.
src/charon-tkm/src/tkm/tkm_id_manager.c
src/charon-tkm/src/tkm/tkm_id_manager.h
src/charon-tkm/tests/id_manager_tests.c