platform.h 882 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * Copyright 2019 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. #ifndef HEADER_PLATFORM_H
  10. # define HEADER_PLATFORM_H
  11. # include <openssl/e_os2.h>
  12. # if defined(OPENSSL_SYS_VMS) && defined(__DECC)
  13. /*
  14. * VMS C only for now, implemented in vms_decc_init.c
  15. * If other C compilers forget to terminate argv with NULL, this function
  16. * can be re-used.
  17. */
  18. char **copy_argv(int *argc, char *argv[]);
  19. # endif
  20. # ifdef _WIN32
  21. /*
  22. * Win32-specific argv initialization that splits OS-supplied UNICODE
  23. * command line string to array of UTF8-encoded strings.
  24. */
  25. void win32_utf8argv(int *argc, char **argv[]);
  26. # endif
  27. #endif