[331] | 1 | /*
|
---|
| 2 | * Copyright 2011-2016 The OpenSSL Project Authors. All Rights Reserved.
|
---|
| 3 | *
|
---|
| 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
|
---|
| 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) fab.fab$l_dna = (__char_ptr32) -1; \
|
---|
| 27 | fab.fab$l_fna = (__char_ptr32) -1;
|
---|
| 28 | # else /* __INITIAL_POINTER_SIZE == 64 */
|
---|
| 29 | # define NAMX_DNA_FNA_SET(fab) fab.fab$l_dna = (char *) -1; \
|
---|
| 30 | fab.fab$l_fna = (char *) -1;
|
---|
| 31 | # endif /* __INITIAL_POINTER_SIZE == 64 [else] */
|
---|
| 32 |
|
---|
| 33 | # define NAMX_MAXRSS NAML$C_MAXRSS
|
---|
| 34 | # define NAMX_STRUCT NAML
|
---|
| 35 |
|
---|
| 36 | #else /* def NAML$C_MAXRSS */
|
---|
| 37 |
|
---|
| 38 | # define CC_RMS_NAMX cc$rms_nam
|
---|
| 39 | # define FAB_NAMX fab$l_nam
|
---|
| 40 | # define FAB_OR_NAML( fab, naml) fab
|
---|
| 41 | # define FAB_OR_NAML_DNA fab$l_dna
|
---|
| 42 | # define FAB_OR_NAML_DNS fab$b_dns
|
---|
| 43 | # define FAB_OR_NAML_FNA fab$l_fna
|
---|
| 44 | # define FAB_OR_NAML_FNS fab$b_fns
|
---|
| 45 | # define NAMX_ESA nam$l_esa
|
---|
| 46 | # define NAMX_ESL nam$b_esl
|
---|
| 47 | # define NAMX_ESS nam$b_ess
|
---|
| 48 | # define NAMX_NOP nam$b_nop
|
---|
| 49 | # define NAMX_DNA_FNA_SET(fab)
|
---|
| 50 | # define NAMX_MAXRSS NAM$C_MAXRSS
|
---|
| 51 | # define NAMX_STRUCT NAM
|
---|
| 52 | # ifdef NAM$M_NO_SHORT_UPCASE
|
---|
| 53 | # define SET_NAMX_NO_SHORT_UPCASE( nam) naml.naml$v_no_short_upcase = 1
|
---|
| 54 | # else /* def NAM$M_NO_SHORT_UPCASE */
|
---|
| 55 | # define SET_NAMX_NO_SHORT_UPCASE( nam)
|
---|
| 56 | # endif /* def NAM$M_NO_SHORT_UPCASE [else] */
|
---|
| 57 |
|
---|
| 58 | #endif /* def NAML$C_MAXRSS [else] */
|
---|