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