2
0

vms_rms.h 2.1 KB

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