Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

defs.go 4.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  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 = 24
  9. // length of the uint64 array that represents the bitset:
  10. bitsetLen = 1
  11. )
  12. const (
  13. // Acc is the proposed IRCv3 capability named "draft/acc":
  14. // https://github.com/ircv3/ircv3-specifications/pull/276
  15. Acc Capability = iota
  16. // AccountNotify is the IRCv3 capability named "account-notify":
  17. // https://ircv3.net/specs/extensions/account-notify-3.1.html
  18. AccountNotify Capability = iota
  19. // AccountTag is the IRCv3 capability named "account-tag":
  20. // https://ircv3.net/specs/extensions/account-tag-3.2.html
  21. AccountTag Capability = iota
  22. // AwayNotify is the IRCv3 capability named "away-notify":
  23. // https://ircv3.net/specs/extensions/away-notify-3.1.html
  24. AwayNotify Capability = iota
  25. // Batch is the IRCv3 capability named "batch":
  26. // https://ircv3.net/specs/extensions/batch-3.2.html
  27. Batch Capability = iota
  28. // CapNotify is the IRCv3 capability named "cap-notify":
  29. // https://ircv3.net/specs/extensions/cap-notify-3.2.html
  30. CapNotify Capability = iota
  31. // ChgHost is the IRCv3 capability named "chghost":
  32. // https://ircv3.net/specs/extensions/chghost-3.2.html
  33. ChgHost Capability = iota
  34. // EchoMessage is the IRCv3 capability named "echo-message":
  35. // https://ircv3.net/specs/extensions/echo-message-3.2.html
  36. EchoMessage Capability = iota
  37. // ExtendedJoin is the IRCv3 capability named "extended-join":
  38. // https://ircv3.net/specs/extensions/extended-join-3.1.html
  39. ExtendedJoin Capability = iota
  40. // InviteNotify is the IRCv3 capability named "invite-notify":
  41. // https://ircv3.net/specs/extensions/invite-notify-3.2.html
  42. InviteNotify Capability = iota
  43. // LabeledResponse is the draft IRCv3 capability named "draft/labeled-response":
  44. // https://ircv3.net/specs/extensions/labeled-response.html
  45. LabeledResponse Capability = iota
  46. // Languages is the proposed IRCv3 capability named "draft/languages":
  47. // https://gist.github.com/DanielOaks/8126122f74b26012a3de37db80e4e0c6
  48. Languages Capability = iota
  49. // MaxLine is the Oragono-specific capability named "oragono.io/maxline-2":
  50. // https://oragono.io/maxline-2
  51. MaxLine Capability = iota
  52. // MessageTags is the IRCv3 capability named "message-tags":
  53. // https://ircv3.net/specs/extensions/message-tags.html
  54. MessageTags Capability = iota
  55. // MultiPrefix is the IRCv3 capability named "multi-prefix":
  56. // https://ircv3.net/specs/extensions/multi-prefix-3.1.html
  57. MultiPrefix Capability = iota
  58. // Rename is the proposed IRCv3 capability named "draft/rename":
  59. // https://github.com/SaberUK/ircv3-specifications/blob/rename/extensions/rename.md
  60. Rename Capability = iota
  61. // Resume is the proposed IRCv3 capability named "draft/resume-0.3":
  62. // https://github.com/DanielOaks/ircv3-specifications/blob/master+resume/extensions/resume.md
  63. Resume Capability = iota
  64. // SASL is the IRCv3 capability named "sasl":
  65. // https://ircv3.net/specs/extensions/sasl-3.2.html
  66. SASL Capability = iota
  67. // ServerTime is the IRCv3 capability named "server-time":
  68. // https://ircv3.net/specs/extensions/server-time-3.2.html
  69. ServerTime Capability = iota
  70. // SetName is the proposed IRCv3 capability named "draft/setname":
  71. // https://github.com/ircv3/ircv3-specifications/pull/361
  72. SetName Capability = iota
  73. // STS is the IRCv3 capability named "sts":
  74. // https://ircv3.net/specs/extensions/sts.html
  75. STS Capability = iota
  76. // UserhostInNames is the IRCv3 capability named "userhost-in-names":
  77. // https://ircv3.net/specs/extensions/userhost-in-names-3.2.html
  78. UserhostInNames Capability = iota
  79. // Bouncer is the Oragono-specific capability named "oragono.io/bnc":
  80. // https://oragono.io/bnc
  81. Bouncer Capability = iota
  82. // ZNCSelfMessage is the ZNC vendor capability named "znc.in/self-message":
  83. // https://wiki.znc.in/Query_buffers
  84. ZNCSelfMessage Capability = iota
  85. )
  86. // `capabilityNames[capab]` is the string name of the capability `capab`
  87. var (
  88. capabilityNames = [numCapabs]string{
  89. "draft/acc",
  90. "account-notify",
  91. "account-tag",
  92. "away-notify",
  93. "batch",
  94. "cap-notify",
  95. "chghost",
  96. "echo-message",
  97. "extended-join",
  98. "invite-notify",
  99. "draft/labeled-response",
  100. "draft/languages",
  101. "oragono.io/maxline-2",
  102. "message-tags",
  103. "multi-prefix",
  104. "draft/rename",
  105. "draft/resume-0.3",
  106. "sasl",
  107. "server-time",
  108. "draft/setname",
  109. "sts",
  110. "userhost-in-names",
  111. "oragono.io/bnc",
  112. "znc.in/self-message",
  113. }
  114. )