2003-04-24 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Thu, 24 Apr 2003 15:40:49 +0000 (15:40 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Thu, 24 Apr 2003 15:40:49 +0000 (15:40 +0000)
commit5375105fadf033a71e0d2fdf324cc44e417b4202
treeaf0069d9f590c2e494c552b9a71f15b1653ce48f
parent5b88552e74818acb08241834af02a8169ddc6fa6
2003-04-24  Marcus Brinkmann  <marcus@g10code.de>

* Makefile.am (libgpgme_la_SOURCES): Add key-cache.c.
* key.c (key_cache_initialized, key_cache_size,
key_cache_max_chain_length, ): Removed.
(struct key_cache_item_s, key_cache_lock, key_cache,
key_cache_unused_items, hash_key, _gpgme_key_cache_add,
_gpgme_key_cache_get, gpgme_get_key): Moved to ...
* key-cache.c: ... here.  New file.
* key.h (_gpgme_key_cache_init): Remove prototypes.
(_gpgme_key_cache_add,_gpgme_key_cache_get): Move to ...
* ops.h: ... here.
* version.c: Do not include "key.h".
(do_subsystem_inits): Do not call _gpgme_key_cache_init.
gpgme/ChangeLog
gpgme/Makefile.am
gpgme/key-cache.c [new file with mode: 0644]
gpgme/key.c
gpgme/key.h
gpgme/ops.h
gpgme/version.c