conf_def.h 3.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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 Apache License 2.0 (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_DOLLAR 4096
  23. #define CONF_EOF 8
  24. #define CONF_ALPHA (CONF_UPPER|CONF_LOWER)
  25. #define CONF_ALNUM (CONF_ALPHA|CONF_NUMBER|CONF_UNDER)
  26. #define CONF_ALNUM_PUNCT (CONF_ALPHA|CONF_NUMBER|CONF_UNDER|CONF_PUNCT)
  27. #define IS_COMMENT(conf,c) is_keytype(conf, c, CONF_COMMENT)
  28. #define IS_FCOMMENT(conf,c) is_keytype(conf, c, CONF_FCOMMENT)
  29. #define IS_EOF(conf,c) is_keytype(conf, c, CONF_EOF)
  30. #define IS_ESC(conf,c) is_keytype(conf, c, CONF_ESC)
  31. #define IS_NUMBER(conf,c) is_keytype(conf, c, CONF_NUMBER)
  32. #define IS_WS(conf,c) is_keytype(conf, c, CONF_WS)
  33. #define IS_ALNUM(conf,c) is_keytype(conf, c, CONF_ALNUM)
  34. #define IS_ALNUM_PUNCT(conf,c) is_keytype(conf, c, CONF_ALNUM_PUNCT)
  35. #define IS_QUOTE(conf,c) is_keytype(conf, c, CONF_QUOTE)
  36. #define IS_DQUOTE(conf,c) is_keytype(conf, c, CONF_DQUOTE)
  37. #define IS_DOLLAR(conf,c) is_keytype(conf, c, CONF_DOLLAR)
  38. static const unsigned short CONF_type_default[128] = {
  39. 0x0008, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  40. 0x0000, 0x0010, 0x0010, 0x0000, 0x0000, 0x0010, 0x0000, 0x0000,
  41. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  42. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  43. 0x0010, 0x0200, 0x0040, 0x0080, 0x1000, 0x0200, 0x0200, 0x0040,
  44. 0x0000, 0x0000, 0x0200, 0x0200, 0x0200, 0x0200, 0x0200, 0x0200,
  45. 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001,
  46. 0x0001, 0x0001, 0x0000, 0x0200, 0x0000, 0x0000, 0x0000, 0x0200,
  47. 0x0200, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002,
  48. 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002,
  49. 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002,
  50. 0x0002, 0x0002, 0x0002, 0x0000, 0x0020, 0x0000, 0x0200, 0x0100,
  51. 0x0040, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004,
  52. 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004,
  53. 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004,
  54. 0x0004, 0x0004, 0x0004, 0x0000, 0x0200, 0x0000, 0x0200, 0x0000,
  55. };
  56. #ifndef OPENSSL_NO_DEPRECATED_3_0
  57. static const unsigned short CONF_type_win32[128] = {
  58. 0x0008, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  59. 0x0000, 0x0010, 0x0010, 0x0000, 0x0000, 0x0010, 0x0000, 0x0000,
  60. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  61. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  62. 0x0010, 0x0200, 0x0400, 0x0000, 0x1000, 0x0200, 0x0200, 0x0000,
  63. 0x0000, 0x0000, 0x0200, 0x0200, 0x0200, 0x0200, 0x0200, 0x0200,
  64. 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001,
  65. 0x0001, 0x0001, 0x0000, 0x0A00, 0x0000, 0x0000, 0x0000, 0x0200,
  66. 0x0200, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002,
  67. 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002,
  68. 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002,
  69. 0x0002, 0x0002, 0x0002, 0x0000, 0x0000, 0x0000, 0x0200, 0x0100,
  70. 0x0000, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004,
  71. 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004,
  72. 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004,
  73. 0x0004, 0x0004, 0x0004, 0x0000, 0x0200, 0x0000, 0x0200, 0x0000,
  74. };
  75. #endif