Changeset 94082 in vbox for trunk/src/libs/openssl-3.0.1/include/openssl/async.h
- Timestamp:
- Mar 3, 2022 7:17:34 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 150325
- Location:
- trunk/src/libs/openssl-3.0.1
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/openssl-3.0.1
- Property svn:mergeinfo
-
old new 12 12 /vendor/openssl/1.1.1c:131722-131725 13 13 /vendor/openssl/1.1.1k:145841-145843 14 /vendor/openssl/3.0.1:150323-150324 15 /vendor/openssl/current:147554-150322
-
- Property svn:mergeinfo
-
trunk/src/libs/openssl-3.0.1/include/openssl/async.h
r91772 r94082 2 2 * Copyright 2015-2018 The OpenSSL Project Authors. All Rights Reserved. 3 3 * 4 * Licensed under the OpenSSL license(the "License"). You may not use4 * Licensed under the Apache License 2.0 (the "License"). You may not use 5 5 * this file except in compliance with the License. You can obtain a copy 6 6 * in the file LICENSE in the source distribution or at … … 10 10 #include <stdlib.h> 11 11 12 #ifndef HEADER_ASYNC_H 13 # define HEADER_ASYNC_H 12 #ifndef OPENSSL_ASYNC_H 13 # define OPENSSL_ASYNC_H 14 # pragma once 15 16 # include <openssl/macros.h> 17 # ifndef OPENSSL_NO_DEPRECATED_3_0 18 # define HEADER_ASYNC_H 19 # endif 14 20 15 21 #if defined(_WIN32) … … 32 38 typedef struct async_job_st ASYNC_JOB; 33 39 typedef struct async_wait_ctx_st ASYNC_WAIT_CTX; 40 typedef int (*ASYNC_callback_fn)(void *arg); 34 41 35 42 #define ASYNC_ERR 0 … … 37 44 #define ASYNC_PAUSE 2 38 45 #define ASYNC_FINISH 3 46 47 #define ASYNC_STATUS_UNSUPPORTED 0 48 #define ASYNC_STATUS_ERR 1 49 #define ASYNC_STATUS_OK 2 50 #define ASYNC_STATUS_EAGAIN 3 39 51 40 52 int ASYNC_init_thread(size_t max_size, size_t init_size); … … 53 65 int ASYNC_WAIT_CTX_get_all_fds(ASYNC_WAIT_CTX *ctx, OSSL_ASYNC_FD *fd, 54 66 size_t *numfds); 67 int ASYNC_WAIT_CTX_get_callback(ASYNC_WAIT_CTX *ctx, 68 ASYNC_callback_fn *callback, 69 void **callback_arg); 70 int ASYNC_WAIT_CTX_set_callback(ASYNC_WAIT_CTX *ctx, 71 ASYNC_callback_fn callback, 72 void *callback_arg); 73 int ASYNC_WAIT_CTX_set_status(ASYNC_WAIT_CTX *ctx, int status); 74 int ASYNC_WAIT_CTX_get_status(ASYNC_WAIT_CTX *ctx); 55 75 int ASYNC_WAIT_CTX_get_changed_fds(ASYNC_WAIT_CTX *ctx, OSSL_ASYNC_FD *addfd, 56 76 size_t *numaddfds, OSSL_ASYNC_FD *delfd,
Note:
See TracChangeset
for help on using the changeset viewer.