]> git.ipfire.org Git - thirdparty/openssl.git/blob - crypto/async/arch/async_null.h
Update copyright year
[thirdparty/openssl.git] / crypto / async / arch / async_null.h
1 /*
2 * Copyright 2015-2022 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 #include <openssl/async.h>
11
12 /*
13 * If we haven't managed to detect any other async architecture then we default
14 * to NULL.
15 */
16 #ifndef ASYNC_ARCH
17 # define ASYNC_NULL
18 # define ASYNC_ARCH
19
20 typedef struct async_fibre_st {
21 int dummy;
22 } async_fibre;
23
24
25 # define async_fibre_swapcontext(o,n,r) 0
26 # define async_fibre_makecontext(c) 0
27 # define async_fibre_free(f)
28 # define async_fibre_init_dispatcher(f)
29 # define async_local_init() 1
30 # define async_local_deinit()
31
32 #endif