VirtualBox

source: vbox/trunk/src/libs/openssl-3.0.7/include/crypto/cryptlib.h@ 98133

最後變更 在這個檔案從98133是 97984,由 vboxsync 提交於 2 年 前

libs/openssl-3.0.7: Shut up pragma once warnings for internal headers. Added sed script for doing that. bugref:10317

檔案大小: 1.5 KB
 
1/*
2 * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
3 *
4 * Licensed under the Apache License 2.0 (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 OSSL_CRYPTO_CRYPTLIB_H
11# define OSSL_CRYPTO_CRYPTLIB_H
12# ifndef RT_WITHOUT_PRAGMA_ONCE /* VBOX */
13# pragma once
14# endif /* VBOX */
15
16# include <openssl/core.h>
17# include "internal/cryptlib.h"
18
19/* This file is not scanned by mkdef.pl, whereas cryptlib.h is */
20
21int ossl_init_thread_start(const void *index, void *arg,
22 OSSL_thread_stop_handler_fn handfn);
23int ossl_init_thread_deregister(void *index);
24int ossl_init_thread(void);
25void ossl_cleanup_thread(void);
26void ossl_ctx_thread_stop(OSSL_LIB_CTX *ctx);
27
28/*
29 * OPENSSL_INIT flags. The primary list of these is in crypto.h. Flags below
30 * are those omitted from crypto.h because they are "reserved for internal
31 * use".
32 */
33# define OPENSSL_INIT_BASE_ONLY 0x00040000L
34
35void ossl_trace_cleanup(void);
36void ossl_malloc_setup_failures(void);
37
38int ossl_crypto_alloc_ex_data_intern(int class_index, void *obj,
39 CRYPTO_EX_DATA *ad, int idx);
40
41#endif /* OSSL_CRYPTO_CRYPTLIB_H */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette