You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. package caps
  2. /*
  3. WARNING: this file is autogenerated by `make capdefs`
  4. DO NOT EDIT MANUALLY.
  5. */
  6. const (
  7. // number of recognized capabilities:
  8. numCapabs = 21
  9. // length of the uint64 array that represents the bitset:
  10. bitsetLen = 1
  11. )
  12. const (
  13. // AccountNotify is the IRCv3 capability named "account-notify":
  14. // https://ircv3.net/specs/extensions/account-notify-3.1.html
  15. AccountNotify Capability = iota
  16. // AccountTag is the IRCv3 capability named "account-tag":
  17. // https://ircv3.net/specs/extensions/account-tag-3.2.html
  18. AccountTag Capability = iota
  19. // AwayNotify is the IRCv3 capability named "away-notify":
  20. // https://ircv3.net/specs/extensions/away-notify-3.1.html
  21. AwayNotify Capability = iota
  22. // Batch is the IRCv3 capability named "batch":
  23. // https://ircv3.net/specs/extensions/batch-3.2.html
  24. Batch Capability = iota
  25. // CapNotify is the IRCv3 capability named "cap-notify":
  26. // https://ircv3.net/specs/extensions/cap-notify-3.2.html
  27. CapNotify Capability = iota
  28. // ChgHost is the IRCv3 capability named "chghost":
  29. // https://ircv3.net/specs/extensions/chghost-3.2.html
  30. ChgHost Capability = iota
  31. // EchoMessage is the IRCv3 capability named "echo-message":
  32. // https://ircv3.net/specs/extensions/echo-message-3.2.html
  33. EchoMessage Capability = iota
  34. // ExtendedJoin is the IRCv3 capability named "extended-join":
  35. // https://ircv3.net/specs/extensions/extended-join-3.1.html
  36. ExtendedJoin Capability = iota
  37. // InviteNotify is the IRCv3 capability named "invite-notify":
  38. // https://ircv3.net/specs/extensions/invite-notify-3.2.html
  39. InviteNotify Capability = iota
  40. // LabeledResponse is the draft IRCv3 capability named "draft/labeled-response":
  41. // https://ircv3.net/specs/extensions/labeled-response.html
  42. LabeledResponse Capability = iota
  43. // Languages is the proposed IRCv3 capability named "draft/languages":
  44. // https://gist.github.com/DanielOaks/8126122f74b26012a3de37db80e4e0c6
  45. Languages Capability = iota
  46. // MaxLine is the Oragono-specific capability named "oragono.io/maxline":
  47. // https://oragono.io/maxline
  48. MaxLine Capability = iota
  49. // MessageTags is the draft IRCv3 capability named "draft/message-tags-0.2":
  50. // https://ircv3.net/specs/core/message-tags-3.3.html
  51. MessageTags Capability = iota
  52. // MultiPrefix is the IRCv3 capability named "multi-prefix":
  53. // https://ircv3.net/specs/extensions/multi-prefix-3.1.html
  54. MultiPrefix Capability = iota
  55. // Rename is the proposed IRCv3 capability named "draft/rename":
  56. // https://github.com/SaberUK/ircv3-specifications/blob/rename/extensions/rename.md
  57. Rename Capability = iota
  58. // Resume is the proposed IRCv3 capability named "draft/resume-0.3":
  59. // https://github.com/DanielOaks/ircv3-specifications/blob/master+resume/extensions/resume.md
  60. Resume Capability = iota
  61. // SASL is the IRCv3 capability named "sasl":
  62. // https://ircv3.net/specs/extensions/sasl-3.2.html
  63. SASL Capability = iota
  64. // ServerTime is the IRCv3 capability named "server-time":
  65. // https://ircv3.net/specs/extensions/server-time-3.2.html
  66. ServerTime Capability = iota
  67. // SetName is the proposed IRCv3 capability named "draft/setname":
  68. // https://github.com/ircv3/ircv3-specifications/pull/361
  69. SetName Capability = iota
  70. // STS is the IRCv3 capability named "sts":
  71. // https://ircv3.net/specs/extensions/sts.html
  72. STS Capability = iota
  73. // UserhostInNames is the IRCv3 capability named "userhost-in-names":
  74. // https://ircv3.net/specs/extensions/userhost-in-names-3.2.html
  75. UserhostInNames Capability = iota
  76. )
  77. // `capabilityNames[capab]` is the string name of the capability `capab`
  78. var (
  79. capabilityNames = [numCapabs]string{
  80. "account-notify",
  81. "account-tag",
  82. "away-notify",
  83. "batch",
  84. "cap-notify",
  85. "chghost",
  86. "echo-message",
  87. "extended-join",
  88. "invite-notify",
  89. "draft/labeled-response",
  90. "draft/languages",
  91. "oragono.io/maxline",
  92. "draft/message-tags-0.2",
  93. "multi-prefix",
  94. "draft/rename",
  95. "draft/resume-0.3",
  96. "sasl",
  97. "server-time",
  98. "draft/setname",
  99. "sts",
  100. "userhost-in-names",
  101. }
  102. )