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