| 1 |
/* |
| 2 |
* Copyright 2011-2016 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 |
#ifdef NAML$C_MAXRSS |
| 11 |
|
| 12 |
#define CC_RMS_NAMX cc$rms_naml |
| 13 |
#define FAB_NAMX fab$l_naml |
| 14 |
#define FAB_OR_NAML(fab, naml) naml |
| 15 |
#define FAB_OR_NAML_DNA naml$l_long_defname |
| 16 |
#define FAB_OR_NAML_DNS naml$l_long_defname_size |
| 17 |
#define FAB_OR_NAML_FNA naml$l_long_filename |
| 18 |
#define FAB_OR_NAML_FNS naml$l_long_filename_size |
| 19 |
#define NAMX_ESA naml$l_long_expand |
| 20 |
#define NAMX_ESL naml$l_long_expand_size |
| 21 |
#define NAMX_ESS naml$l_long_expand_alloc |
| 22 |
#define NAMX_NOP naml$b_nop |
| 23 |
#define SET_NAMX_NO_SHORT_UPCASE(nam) nam.naml$v_no_short_upcase = 1 |
| 24 |
|
| 25 |
#if __INITIAL_POINTER_SIZE == 64 |
| 26 |
#define NAMX_DNA_FNA_SET(fab) \ |
| 27 |
fab.fab$l_dna = (__char_ptr32) - 1; \ |
| 28 |
fab.fab$l_fna = (__char_ptr32) - 1; |
| 29 |
#else /* __INITIAL_POINTER_SIZE == 64 */ |
| 30 |
#define NAMX_DNA_FNA_SET(fab) \ |
| 31 |
fab.fab$l_dna = (char *)-1; \ |
| 32 |
fab.fab$l_fna = (char *)-1; |
| 33 |
#endif /* __INITIAL_POINTER_SIZE == 64 [else] */ |
| 34 |
|
| 35 |
#define NAMX_MAXRSS NAML$C_MAXRSS |
| 36 |
#define NAMX_STRUCT NAML |
| 37 |
|
| 38 |
#else /* def NAML$C_MAXRSS */ |
| 39 |
|
| 40 |
#define CC_RMS_NAMX cc$rms_nam |
| 41 |
#define FAB_NAMX fab$l_nam |
| 42 |
#define FAB_OR_NAML(fab, naml) fab |
| 43 |
#define FAB_OR_NAML_DNA fab$l_dna |
| 44 |
#define FAB_OR_NAML_DNS fab$b_dns |
| 45 |
#define FAB_OR_NAML_FNA fab$l_fna |
| 46 |
#define FAB_OR_NAML_FNS fab$b_fns |
| 47 |
#define NAMX_ESA nam$l_esa |
| 48 |
#define NAMX_ESL nam$b_esl |
| 49 |
#define NAMX_ESS nam$b_ess |
| 50 |
#define NAMX_NOP nam$b_nop |
| 51 |
#define NAMX_DNA_FNA_SET(fab) |
| 52 |
#define NAMX_MAXRSS NAM$C_MAXRSS |
| 53 |
#define NAMX_STRUCT NAM |
| 54 |
#ifdef NAM$M_NO_SHORT_UPCASE |
| 55 |
#define SET_NAMX_NO_SHORT_UPCASE(nam) naml.naml$v_no_short_upcase = 1 |
| 56 |
#else /* def NAM$M_NO_SHORT_UPCASE */ |
| 57 |
#define SET_NAMX_NO_SHORT_UPCASE(nam) |
| 58 |
#endif /* def NAM$M_NO_SHORT_UPCASE [else] */ |
| 59 |
|
| 60 |
#endif /* def NAML$C_MAXRSS [else] */ |