2015-02-17 22:14:36 +08:00
|
|
|
/*
|
2016-05-18 02:24:46 +08:00
|
|
|
* Copyright 2015-2016 The OpenSSL Project Authors. All Rights Reserved.
|
2015-02-17 22:14:36 +08:00
|
|
|
*
|
2018-12-06 20:18:31 +08:00
|
|
|
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
2016-05-18 02:24:46 +08:00
|
|
|
* this file except in compliance with the License. You can obtain a copy
|
|
|
|
* in the file LICENSE in the source distribution or at
|
|
|
|
* https://www.openssl.org/source/license.html
|
2015-02-17 22:14:36 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include <openssl/async.h>
|
|
|
|
|
|
|
|
/*
|
|
|
|
* If we haven't managed to detect any other async architecture then we default
|
|
|
|
* to NULL.
|
|
|
|
*/
|
|
|
|
#ifndef ASYNC_ARCH
|
|
|
|
# define ASYNC_NULL
|
|
|
|
# define ASYNC_ARCH
|
|
|
|
|
|
|
|
typedef struct async_fibre_st {
|
|
|
|
int dummy;
|
2015-10-06 18:25:16 +08:00
|
|
|
} async_fibre;
|
2015-02-17 22:14:36 +08:00
|
|
|
|
|
|
|
|
2015-10-06 18:25:16 +08:00
|
|
|
# define async_fibre_swapcontext(o,n,r) 0
|
2015-12-12 22:26:22 +08:00
|
|
|
# define async_fibre_makecontext(c) 0
|
2015-10-06 18:25:16 +08:00
|
|
|
# define async_fibre_free(f)
|
|
|
|
# define async_fibre_init_dispatcher(f)
|
2015-10-06 05:58:01 +08:00
|
|
|
|
2015-02-17 22:14:36 +08:00
|
|
|
#endif
|