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