diff options
author | Moritz Schulte <mo@g10code.com> | 2003-07-02 15:50:04 +0000 |
---|---|---|
committer | Moritz Schulte <mo@g10code.com> | 2003-07-02 15:50:04 +0000 |
commit | cedaa7191259cf31e8e66903423a82a8a6757f71 (patch) | |
tree | f769db121fbde511c1dd6aa01d2a5aae394d17ac /src/g10lib.h | |
parent | 9ba9f6c3de6a47b25e0d2d3e58aa6cb831b529ac (diff) | |
download | libgcrypt-cedaa7191259cf31e8e66903423a82a8a6757f71.tar.gz |
2003-07-02 Moritz Schulte <moritz@g10code.com>
* gcrypt.h: Added all definitions and declarations necessary for
the new ac interface.
2003-06-30 Moritz Schulte <moritz@g10code.com>
* g10lib.h: Added declarations: _gcry_pk_module_lookup,
_gcry_pk_module_release.
Diffstat (limited to 'src/g10lib.h')
-rw-r--r-- | src/g10lib.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/g10lib.h b/src/g10lib.h index e0eb4ebe..8811864c 100644 --- a/src/g10lib.h +++ b/src/g10lib.h @@ -212,7 +212,7 @@ gpg_err_code_t _gcry_module_add (gcry_module_t **entries, void *spec, gcry_module_t **module); -typedef int (*gcry_module_tLookup) (void *spec, void *data); +typedef int (*gcry_module_lookup_t) (void *spec, void *data); /* Public function. Lookup a module specification by it's ID. After a successfull lookup, the module has it's resource counter @@ -222,7 +222,7 @@ gcry_module_t *_gcry_module_lookup_id (gcry_module_t *entries, /* Internal function. Lookup a module specification. */ gcry_module_t *_gcry_module_lookup (gcry_module_t *entries, void *data, - gcry_module_tLookup func); + gcry_module_lookup_t func); /* Public function. Release a module. In case the use-counter reaches zero, destroy the module. */ @@ -235,4 +235,7 @@ gpg_err_code_t _gcry_cipher_init (void); gpg_err_code_t _gcry_md_init (void); gpg_err_code_t _gcry_pk_init (void); +gpg_err_code_t _gcry_pk_module_lookup (int id, gcry_module_t **module); +void _gcry_pk_module_release (gcry_module_t *module); + #endif /* G10LIB_H */ |