2
0

ui_null.c 760 B

1234567891011121314151617181920212223242526
  1. /*
  2. * Copyright 2017 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. #include "ui_locl.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. }