1e1051a39Sopenharmony_ci/*
2e1051a39Sopenharmony_ci * Copyright 2019 The OpenSSL Project Authors. All Rights Reserved.
3e1051a39Sopenharmony_ci *
4e1051a39Sopenharmony_ci * Licensed under the Apache License 2.0 (the "License").  You may not use
5e1051a39Sopenharmony_ci * this file except in compliance with the License.  You can obtain a copy
6e1051a39Sopenharmony_ci * in the file LICENSE in the source distribution or at
7e1051a39Sopenharmony_ci * https://www.openssl.org/source/license.html
8e1051a39Sopenharmony_ci */
9e1051a39Sopenharmony_ci
10e1051a39Sopenharmony_ci#ifndef OSSL_APPS_PLATFORM_H
11e1051a39Sopenharmony_ci# define OSSL_APPS_PLATFORM_H
12e1051a39Sopenharmony_ci
13e1051a39Sopenharmony_ci# include <openssl/e_os2.h>
14e1051a39Sopenharmony_ci
15e1051a39Sopenharmony_ci# if defined(OPENSSL_SYS_VMS) && defined(__DECC)
16e1051a39Sopenharmony_ci/*
17e1051a39Sopenharmony_ci * VMS C only for now, implemented in vms_decc_init.c
18e1051a39Sopenharmony_ci * If other C compilers forget to terminate argv with NULL, this function
19e1051a39Sopenharmony_ci * can be re-used.
20e1051a39Sopenharmony_ci */
21e1051a39Sopenharmony_cichar **copy_argv(int *argc, char *argv[]);
22e1051a39Sopenharmony_ci# endif
23e1051a39Sopenharmony_ci
24e1051a39Sopenharmony_ci# ifdef _WIN32
25e1051a39Sopenharmony_ci/*
26e1051a39Sopenharmony_ci * Win32-specific argv initialization that splits OS-supplied UNICODE
27e1051a39Sopenharmony_ci * command line string to array of UTF8-encoded strings.
28e1051a39Sopenharmony_ci */
29e1051a39Sopenharmony_civoid win32_utf8argv(int *argc, char **argv[]);
30e1051a39Sopenharmony_ci# endif
31e1051a39Sopenharmony_ci
32e1051a39Sopenharmony_ci#endif
33