2018-06-26 00:08:15 +02:00
|
|
|
package caps
|
|
|
|
|
|
|
|
/*
|
|
|
|
WARNING: this file is autogenerated by `make capdefs`
|
|
|
|
DO NOT EDIT MANUALLY.
|
|
|
|
*/
|
|
|
|
|
|
|
|
const (
|
|
|
|
// number of recognized capabilities:
|
2021-06-02 03:43:42 +02:00
|
|
|
numCapabs = 28
|
2018-06-26 00:08:15 +02:00
|
|
|
// length of the uint64 array that represents the bitset:
|
|
|
|
bitsetLen = 1
|
|
|
|
)
|
|
|
|
|
|
|
|
const (
|
|
|
|
// AccountNotify is the IRCv3 capability named "account-notify":
|
|
|
|
// https://ircv3.net/specs/extensions/account-notify-3.1.html
|
|
|
|
AccountNotify Capability = iota
|
|
|
|
|
|
|
|
// AccountTag is the IRCv3 capability named "account-tag":
|
|
|
|
// https://ircv3.net/specs/extensions/account-tag-3.2.html
|
|
|
|
AccountTag Capability = iota
|
|
|
|
|
|
|
|
// AwayNotify is the IRCv3 capability named "away-notify":
|
|
|
|
// https://ircv3.net/specs/extensions/away-notify-3.1.html
|
|
|
|
AwayNotify Capability = iota
|
|
|
|
|
|
|
|
// Batch is the IRCv3 capability named "batch":
|
|
|
|
// https://ircv3.net/specs/extensions/batch-3.2.html
|
|
|
|
Batch Capability = iota
|
|
|
|
|
|
|
|
// CapNotify is the IRCv3 capability named "cap-notify":
|
|
|
|
// https://ircv3.net/specs/extensions/cap-notify-3.2.html
|
|
|
|
CapNotify Capability = iota
|
|
|
|
|
|
|
|
// ChgHost is the IRCv3 capability named "chghost":
|
|
|
|
// https://ircv3.net/specs/extensions/chghost-3.2.html
|
|
|
|
ChgHost Capability = iota
|
|
|
|
|
2020-09-09 17:46:05 +02:00
|
|
|
// ChannelRename is the draft IRCv3 capability named "draft/channel-rename":
|
|
|
|
// https://ircv3.net/specs/extensions/channel-rename
|
|
|
|
ChannelRename Capability = iota
|
|
|
|
|
2020-02-19 01:38:42 +01:00
|
|
|
// Chathistory is the proposed IRCv3 capability named "draft/chathistory":
|
|
|
|
// https://github.com/ircv3/ircv3-specifications/pull/393
|
|
|
|
Chathistory Capability = iota
|
|
|
|
|
2019-12-29 17:59:49 +01:00
|
|
|
// EventPlayback is the proposed IRCv3 capability named "draft/event-playback":
|
2019-11-10 02:31:39 +01:00
|
|
|
// https://github.com/ircv3/ircv3-specifications/pull/362
|
|
|
|
EventPlayback Capability = iota
|
|
|
|
|
|
|
|
// Languages is the proposed IRCv3 capability named "draft/languages":
|
|
|
|
// https://gist.github.com/DanielOaks/8126122f74b26012a3de37db80e4e0c6
|
|
|
|
Languages Capability = iota
|
|
|
|
|
2019-12-29 17:59:49 +01:00
|
|
|
// Multiline is the proposed IRCv3 capability named "draft/multiline":
|
2019-12-23 21:26:37 +01:00
|
|
|
// https://github.com/ircv3/ircv3-specifications/pull/398
|
|
|
|
Multiline Capability = iota
|
|
|
|
|
2020-10-07 00:04:29 +02:00
|
|
|
// Register is the proposed IRCv3 capability named "draft/register":
|
|
|
|
// https://gist.github.com/edk0/bf3b50fc219fd1bed1aa15d98bfb6495
|
|
|
|
Register Capability = iota
|
|
|
|
|
2020-06-08 02:19:28 +02:00
|
|
|
// Relaymsg is the proposed IRCv3 capability named "draft/relaymsg":
|
|
|
|
// https://github.com/ircv3/ircv3-specifications/pull/417
|
|
|
|
Relaymsg Capability = iota
|
|
|
|
|
2021-06-02 03:43:42 +02:00
|
|
|
// Resume is the proposed IRCv3 capability named "draft/resume-0.5":
|
|
|
|
// https://github.com/DanielOaks/ircv3-specifications/blob/master+resume/extensions/resume.md
|
|
|
|
Resume Capability = iota
|
|
|
|
|
2018-06-26 00:08:15 +02:00
|
|
|
// EchoMessage is the IRCv3 capability named "echo-message":
|
|
|
|
// https://ircv3.net/specs/extensions/echo-message-3.2.html
|
|
|
|
EchoMessage Capability = iota
|
|
|
|
|
|
|
|
// ExtendedJoin is the IRCv3 capability named "extended-join":
|
|
|
|
// https://ircv3.net/specs/extensions/extended-join-3.1.html
|
|
|
|
ExtendedJoin Capability = iota
|
|
|
|
|
|
|
|
// InviteNotify is the IRCv3 capability named "invite-notify":
|
|
|
|
// https://ircv3.net/specs/extensions/invite-notify-3.2.html
|
|
|
|
InviteNotify Capability = iota
|
|
|
|
|
2020-01-28 03:10:16 +01:00
|
|
|
// LabeledResponse is the IRCv3 capability named "labeled-response":
|
|
|
|
// https://ircv3.net/specs/extensions/labeled-response.html
|
|
|
|
LabeledResponse Capability = iota
|
|
|
|
|
2019-03-07 08:31:46 +01:00
|
|
|
// MessageTags is the IRCv3 capability named "message-tags":
|
|
|
|
// https://ircv3.net/specs/extensions/message-tags.html
|
2018-06-26 00:08:15 +02:00
|
|
|
MessageTags Capability = iota
|
|
|
|
|
|
|
|
// MultiPrefix is the IRCv3 capability named "multi-prefix":
|
|
|
|
// https://ircv3.net/specs/extensions/multi-prefix-3.1.html
|
|
|
|
MultiPrefix Capability = iota
|
|
|
|
|
2019-11-10 02:31:39 +01:00
|
|
|
// Nope is the Oragono vendor capability named "oragono.io/nope":
|
|
|
|
// https://oragono.io/nope
|
|
|
|
Nope Capability = iota
|
2018-06-26 00:08:15 +02:00
|
|
|
|
|
|
|
// SASL is the IRCv3 capability named "sasl":
|
|
|
|
// https://ircv3.net/specs/extensions/sasl-3.2.html
|
|
|
|
SASL Capability = iota
|
|
|
|
|
|
|
|
// ServerTime is the IRCv3 capability named "server-time":
|
|
|
|
// https://ircv3.net/specs/extensions/server-time-3.2.html
|
|
|
|
ServerTime Capability = iota
|
|
|
|
|
2020-05-12 00:11:09 +02:00
|
|
|
// SetName is the IRCv3 capability named "setname":
|
|
|
|
// https://ircv3.net/specs/extensions/setname.html
|
|
|
|
SetName Capability = iota
|
|
|
|
|
2018-06-26 00:08:15 +02:00
|
|
|
// STS is the IRCv3 capability named "sts":
|
|
|
|
// https://ircv3.net/specs/extensions/sts.html
|
|
|
|
STS Capability = iota
|
|
|
|
|
|
|
|
// UserhostInNames is the IRCv3 capability named "userhost-in-names":
|
|
|
|
// https://ircv3.net/specs/extensions/userhost-in-names-3.2.html
|
|
|
|
UserhostInNames Capability = iota
|
2019-04-12 06:08:46 +02:00
|
|
|
|
2019-05-21 01:08:57 +02:00
|
|
|
// ZNCPlayback is the ZNC vendor capability named "znc.in/playback":
|
|
|
|
// https://wiki.znc.in/Playback
|
|
|
|
ZNCPlayback Capability = iota
|
2019-05-23 04:16:01 +02:00
|
|
|
|
2019-11-10 02:31:39 +01:00
|
|
|
// ZNCSelfMessage is the ZNC vendor capability named "znc.in/self-message":
|
|
|
|
// https://wiki.znc.in/Query_buffers
|
|
|
|
ZNCSelfMessage Capability = iota
|
2018-06-26 00:08:15 +02:00
|
|
|
)
|
|
|
|
|
2018-06-26 04:50:57 +02:00
|
|
|
// `capabilityNames[capab]` is the string name of the capability `capab`
|
2018-06-26 00:08:15 +02:00
|
|
|
var (
|
|
|
|
capabilityNames = [numCapabs]string{
|
|
|
|
"account-notify",
|
|
|
|
"account-tag",
|
|
|
|
"away-notify",
|
|
|
|
"batch",
|
|
|
|
"cap-notify",
|
|
|
|
"chghost",
|
2020-09-09 17:46:05 +02:00
|
|
|
"draft/channel-rename",
|
2020-02-19 01:38:42 +01:00
|
|
|
"draft/chathistory",
|
2019-11-10 02:31:39 +01:00
|
|
|
"draft/event-playback",
|
|
|
|
"draft/languages",
|
2019-12-23 21:26:37 +01:00
|
|
|
"draft/multiline",
|
2020-10-07 00:04:29 +02:00
|
|
|
"draft/register",
|
2020-06-08 02:19:28 +02:00
|
|
|
"draft/relaymsg",
|
2021-06-02 03:43:42 +02:00
|
|
|
"draft/resume-0.5",
|
2018-06-26 00:08:15 +02:00
|
|
|
"echo-message",
|
|
|
|
"extended-join",
|
|
|
|
"invite-notify",
|
2020-01-28 03:10:16 +01:00
|
|
|
"labeled-response",
|
2019-03-07 08:31:46 +01:00
|
|
|
"message-tags",
|
2018-06-26 00:08:15 +02:00
|
|
|
"multi-prefix",
|
2019-11-10 02:31:39 +01:00
|
|
|
"oragono.io/nope",
|
2018-06-26 00:08:15 +02:00
|
|
|
"sasl",
|
|
|
|
"server-time",
|
2020-05-12 00:11:09 +02:00
|
|
|
"setname",
|
2018-06-26 00:08:15 +02:00
|
|
|
"sts",
|
|
|
|
"userhost-in-names",
|
2019-05-21 01:08:57 +02:00
|
|
|
"znc.in/playback",
|
2019-11-10 02:31:39 +01:00
|
|
|
"znc.in/self-message",
|
2018-06-26 00:08:15 +02:00
|
|
|
}
|
|
|
|
)
|