diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2016-01-11 15:11:13 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2016-01-11 18:50:27 +0100 |
commit | e6b5c341b94d357b0158ad74b12edd51399a4b87 (patch) | |
tree | 0957d4adb18236b4f70e0edf836023d7b39a0d23 /crypto/include | |
parent | GH540: add casts to safestack.h (diff) | |
download | openssl-e6b5c341b94d357b0158ad74b12edd51399a4b87.tar.xz openssl-e6b5c341b94d357b0158ad74b12edd51399a4b87.zip |
Inline LHASH_OF
Make LHASH_OF use static inline functions.
Add new lh_get_down_load and lh_set_down_load functions and their
typesafe inline equivalents.
Make lh_error a function instead of a macro.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/include')
-rw-r--r-- | crypto/include/internal/cryptlib.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/include/internal/cryptlib.h b/crypto/include/internal/cryptlib.h index 1265a042f2..041ab7ebe2 100644 --- a/crypto/include/internal/cryptlib.h +++ b/crypto/include/internal/cryptlib.h @@ -85,6 +85,10 @@ DEFINE_STACK_OF(EX_CALLBACK) DEFINE_STACK_OF(CRYPTO_dynlock) +typedef struct app_mem_info_st APP_INFO; +DECLARE_LHASH_OF(APP_INFO); +typedef struct mem_st MEM; +DECLARE_LHASH_OF(MEM); # ifndef OPENSSL_SYS_VMS # define X509_CERT_AREA OPENSSLDIR |