ui_null.c 758 B

1234567891011121314151617181920212223242526
  1. /*
  2. * Copyright 2017 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 "ui_local.h"
  10. static const UI_METHOD ui_null = {
  11. "OpenSSL NULL UI",
  12. NULL, /* opener */
  13. NULL, /* writer */
  14. NULL, /* flusher */
  15. NULL, /* reader */
  16. NULL, /* closer */
  17. NULL
  18. };
  19. /* The method with all the built-in thingies */
  20. const UI_METHOD *UI_null(void)
  21. {
  22. return &ui_null;
  23. }