async_null.h 762 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Copyright 2015-2016 The OpenSSL Project Authors. All Rights Reserved.
  3. *
  4. * Licensed under the OpenSSL license (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. #include <openssl/async.h>
  10. /*
  11. * If we haven't managed to detect any other async architecture then we default
  12. * to NULL.
  13. */
  14. #ifndef ASYNC_ARCH
  15. # define ASYNC_NULL
  16. # define ASYNC_ARCH
  17. typedef struct async_fibre_st {
  18. int dummy;
  19. } async_fibre;
  20. # define async_fibre_swapcontext(o,n,r) 0
  21. # define async_fibre_makecontext(c) 0
  22. # define async_fibre_free(f)
  23. # define async_fibre_init_dispatcher(f)
  24. #endif