1 /* 2 * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. 3 * 4 * Licensed under the OpenSSL license (the "License"). You may not use 5 * this file except in compliance with the License. You can obtain a copy 6 * in the file LICENSE in the source distribution or at 7 * https://www.openssl.org/source/license.html 8 */ 9 10 #ifndef OPENSSL_HEADER_LHASH_H 11 #define OPENSSL_HEADER_LHASH_H 12 13 #include <openssl/base.h> 14 15 #if defined(__cplusplus) 16 extern "C" { 17 #endif 18 19 20 // lhash is an internal library and not exported for use outside BoringSSL. This 21 // header is provided for compatibility with code that expects OpenSSL. 22 23 24 // These two macros are exported for compatibility with existing callers of 25 // |X509V3_EXT_conf_nid|. Do not use these symbols outside BoringSSL. 26 #define LHASH_OF(type) struct lhash_st_##type 27 #define DECLARE_LHASH_OF(type) LHASH_OF(type); 28 29 30 #if defined(__cplusplus) 31 } // extern C 32 #endif 33 34 #endif // OPENSSL_HEADER_LHASH_H 35