2
0

conf_def.h 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. /*
  2. * WARNING: do not edit!
  3. * Generated by crypto/conf/keysets.pl
  4. *
  5. * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
  6. * Licensed under the OpenSSL license (the "License"). You may not use
  7. * this file except in compliance with the License. You can obtain a copy
  8. * in the file LICENSE in the source distribution or at
  9. * https://www.openssl.org/source/license.html
  10. */
  11. #define CONF_NUMBER 1
  12. #define CONF_UPPER 2
  13. #define CONF_LOWER 4
  14. #define CONF_UNDER 256
  15. #define CONF_PUNCT 512
  16. #define CONF_WS 16
  17. #define CONF_ESC 32
  18. #define CONF_QUOTE 64
  19. #define CONF_DQUOTE 1024
  20. #define CONF_COMMENT 128
  21. #define CONF_FCOMMENT 2048
  22. #define CONF_EOF 8
  23. #define CONF_ALPHA (CONF_UPPER|CONF_LOWER)
  24. #define CONF_ALNUM (CONF_ALPHA|CONF_NUMBER|CONF_UNDER)
  25. #define CONF_ALNUM_PUNCT (CONF_ALPHA|CONF_NUMBER|CONF_UNDER|CONF_PUNCT)
  26. #define IS_COMMENT(conf,c) is_keytype(conf, c, CONF_COMMENT)
  27. #define IS_FCOMMENT(conf,c) is_keytype(conf, c, CONF_FCOMMENT)
  28. #define IS_EOF(conf,c) is_keytype(conf, c, CONF_EOF)
  29. #define IS_ESC(conf,c) is_keytype(conf, c, CONF_ESC)
  30. #define IS_NUMBER(conf,c) is_keytype(conf, c, CONF_NUMBER)
  31. #define IS_WS(conf,c) is_keytype(conf, c, CONF_WS)
  32. #define IS_ALNUM(conf,c) is_keytype(conf, c, CONF_ALNUM)
  33. #define IS_ALNUM_PUNCT(conf,c) is_keytype(conf, c, CONF_ALNUM_PUNCT)
  34. #define IS_QUOTE(conf,c) is_keytype(conf, c, CONF_QUOTE)
  35. #define IS_DQUOTE(conf,c) is_keytype(conf, c, CONF_DQUOTE)
  36. static const unsigned short CONF_type_default[128] = {
  37. 0x0008, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  38. 0x0000, 0x0010, 0x0010, 0x0000, 0x0000, 0x0010, 0x0000, 0x0000,
  39. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  40. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  41. 0x0010, 0x0200, 0x0040, 0x0080, 0x0000, 0x0200, 0x0200, 0x0040,
  42. 0x0000, 0x0000, 0x0200, 0x0200, 0x0200, 0x0200, 0x0200, 0x0200,
  43. 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001,
  44. 0x0001, 0x0001, 0x0000, 0x0200, 0x0000, 0x0000, 0x0000, 0x0200,
  45. 0x0200, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002,
  46. 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002,
  47. 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002,
  48. 0x0002, 0x0002, 0x0002, 0x0000, 0x0020, 0x0000, 0x0200, 0x0100,
  49. 0x0040, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004,
  50. 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004,
  51. 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004,
  52. 0x0004, 0x0004, 0x0004, 0x0000, 0x0200, 0x0000, 0x0200, 0x0000,
  53. };
  54. static const unsigned short CONF_type_win32[128] = {
  55. 0x0008, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  56. 0x0000, 0x0010, 0x0010, 0x0000, 0x0000, 0x0010, 0x0000, 0x0000,
  57. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  58. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  59. 0x0010, 0x0200, 0x0400, 0x0000, 0x0000, 0x0200, 0x0200, 0x0000,
  60. 0x0000, 0x0000, 0x0200, 0x0200, 0x0200, 0x0200, 0x0200, 0x0200,
  61. 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001,
  62. 0x0001, 0x0001, 0x0000, 0x0A00, 0x0000, 0x0000, 0x0000, 0x0200,
  63. 0x0200, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002,
  64. 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002,
  65. 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002,
  66. 0x0002, 0x0002, 0x0002, 0x0000, 0x0000, 0x0000, 0x0200, 0x0100,
  67. 0x0000, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004,
  68. 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004,
  69. 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004,
  70. 0x0004, 0x0004, 0x0004, 0x0000, 0x0200, 0x0000, 0x0200, 0x0000,
  71. };