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)
commit721fc9b99696f8953e1a314d616a46f7fe060e76
tree3f154b1008a9647a30bd0594c72ee5f12a072bbb
parent33e3a1b6cea2d0c617bce2a09cac6c2e0058e042
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.
trunk/gpgme/ChangeLog
trunk/gpgme/Makefile.am
trunk/gpgme/key-cache.c [new file with mode: 0644]
trunk/gpgme/key.c
trunk/gpgme/key.h
trunk/gpgme/ops.h
trunk/gpgme/version.c