]>
Commit | Line | Data |
---|---|---|
0f113f3e | 1 | /* |
aa6bb135 | 2 | * Copyright 2004-2016 The OpenSSL Project Authors. All Rights Reserved. |
a2400fca | 3 | * |
aa6bb135 RS |
4 | * Licensed under the OpenSSL license (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 | |
a2400fca RL |
8 | */ |
9 | ||
bef7a815 | 10 | #include "e_os.h" |
07016a8a | 11 | #include <errno.h> |
a2400fca | 12 | |
0f113f3e MC |
13 | /* |
14 | * The routines really come from the Levitte Programming, so to make life | |
15 | * simple, let's just use the raw files and hack the symbols to fit our | |
16 | * namespace. | |
17 | */ | |
a2400fca RL |
18 | #define LP_DIR_CTX OPENSSL_DIR_CTX |
19 | #define LP_dir_context_st OPENSSL_dir_context_st | |
20 | #define LP_find_file OPENSSL_DIR_read | |
21 | #define LP_find_file_end OPENSSL_DIR_end | |
22 | ||
68570797 | 23 | #include "internal/o_dir.h" |
a2400fca RL |
24 | |
25 | #define LPDIR_H | |
d8eaaf15 | 26 | #if defined OPENSSL_SYS_UNIX || defined DJGPP \ |
6eb83758 | 27 | || (defined __VMS_VER && __VMS_VER >= 70000000) |
0f113f3e | 28 | # include "LPdir_unix.c" |
a2400fca | 29 | #elif defined OPENSSL_SYS_VMS |
0f113f3e | 30 | # include "LPdir_vms.c" |
a2400fca | 31 | #elif defined OPENSSL_SYS_WIN32 |
0f113f3e | 32 | # include "LPdir_win32.c" |
a2400fca | 33 | #elif defined OPENSSL_SYS_WINCE |
0f113f3e | 34 | # include "LPdir_wince.c" |
a2400fca | 35 | #else |
0f113f3e | 36 | # include "LPdir_nyi.c" |
a2400fca | 37 | #endif |