VirtualBox

Ignore:
Timestamp:
Mar 3, 2022 7:17:34 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
150325
Message:

libs/openssl-3.0.1: started applying and adjusting our OpenSSL changes to 3.0.1. bugref:10128

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  
        1212/vendor/openssl/1.1.1c:131722-131725
        1313/vendor/openssl/1.1.1k:145841-145843
         14/vendor/openssl/3.0.1:150323-150324
         15/vendor/openssl/current:147554-150322
  • trunk/src/libs/openssl-3.0.1/include/openssl/async.h

    r91772 r94082  
    22 * Copyright 2015-2018 The OpenSSL Project Authors. All Rights Reserved.
    33 *
    4  * Licensed under the OpenSSL license (the "License").  You may not use
     4 * Licensed under the Apache License 2.0 (the "License").  You may not use
    55 * this file except in compliance with the License.  You can obtain a copy
    66 * in the file LICENSE in the source distribution or at
     
    1010#include <stdlib.h>
    1111
    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
    1420
    1521#if defined(_WIN32)
     
    3238typedef struct async_job_st ASYNC_JOB;
    3339typedef struct async_wait_ctx_st ASYNC_WAIT_CTX;
     40typedef int (*ASYNC_callback_fn)(void *arg);
    3441
    3542#define ASYNC_ERR      0
     
    3744#define ASYNC_PAUSE    2
    3845#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
    3951
    4052int ASYNC_init_thread(size_t max_size, size_t init_size);
     
    5365int ASYNC_WAIT_CTX_get_all_fds(ASYNC_WAIT_CTX *ctx, OSSL_ASYNC_FD *fd,
    5466                               size_t *numfds);
     67int ASYNC_WAIT_CTX_get_callback(ASYNC_WAIT_CTX *ctx,
     68                                ASYNC_callback_fn *callback,
     69                                void **callback_arg);
     70int ASYNC_WAIT_CTX_set_callback(ASYNC_WAIT_CTX *ctx,
     71                                ASYNC_callback_fn callback,
     72                                void *callback_arg);
     73int ASYNC_WAIT_CTX_set_status(ASYNC_WAIT_CTX *ctx, int status);
     74int ASYNC_WAIT_CTX_get_status(ASYNC_WAIT_CTX *ctx);
    5575int ASYNC_WAIT_CTX_get_changed_fds(ASYNC_WAIT_CTX *ctx, OSSL_ASYNC_FD *addfd,
    5676                                   size_t *numaddfds, OSSL_ASYNC_FD *delfd,
Note: See TracChangeset for help on using the changeset viewer.

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