| 6 | // |
| 7 | // https://www.apache.org/licenses/LICENSE-2.0 |
| 8 | // |
| 9 | // Unless required by applicable law or agreed to in writing, software |
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | // See the License for the specific language governing permissions and |
| 13 | // limitations under the License. |
| 14 |
| 15 | #ifndef OPENSSL_HEADER_LHASH_H |
| 16 | #define OPENSSL_HEADER_LHASH_H |
| 17 |
| 18 | #include <openssl/base.h> // IWYU pragma: export |
| 19 |
| 20 | #if defined(__cplusplus) |
| 21 | extern "C" { |
| 22 | #endif |
| 23 |
| 24 |
| 25 | // lhash is an internal library and not exported for use outside BoringSSL. This |
| 26 | // header is provided for compatibility with code that expects OpenSSL. |
| 27 |
| 28 |
| 29 | // These two macros are exported for compatibility with existing callers of |
| 30 | // |X509V3_EXT_conf_nid|. Do not use these symbols outside BoringSSL. |
| 31 | #define LHASH_OF(type) struct lhash_st_##type |
| 32 | #define DECLARE_LHASH_OF(type) LHASH_OF(type); |
| 33 |
| 34 |
| 35 | #if defined(__cplusplus) |
| 36 | } // extern C |
| 37 | #endif |
| 38 |
| 39 | #endif // OPENSSL_HEADER_LHASH_H |
| 40 |