2 * Copyright (C) 2012 Reto Buerki
3 * Copyright (C) 2012 Adrian-Ken Rueegsegger
4 * Hochschule fuer Technik Rapperswil
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2 of the License, or (at your
9 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
20 #include "tkm_id_manager.h"
21 #include "tkm_chunk_map.h"
23 typedef struct tkm_t tkm_t
;
26 * Trusted key manager context, contains tkm related globals.
33 tkm_id_manager_t
*idmgr
;
36 * Chunk-to-ID mappings.
38 tkm_chunk_map_t
*chunk_map
;
43 * Initialize trusted key manager, creates "tkm" instance.
45 * @return FALSE if initialization error occured
50 * Deinitialize trusted key manager, destroys "tkm" instance.
55 * Trusted key manager instance, set after tkm_init() and before tkm_deinit()