aboutsummaryrefslogtreecommitdiff
path: root/weechat/net.h
diff options
context:
space:
mode:
authorTom Smeding <tom.smeding@gmail.com>2020-07-07 21:21:46 +0200
committerTom Smeding <tom.smeding@gmail.com>2020-07-07 21:21:46 +0200
commit34d7ffdf32a59019fc750bb3f365cb7b5f229fc6 (patch)
treeb25b9d9e27902b4bfd2a1a15e5835c2560767b0c /weechat/net.h
parentab3cb2e9c40c1c8623fb419743f32cb388610f15 (diff)
weechat: Update to latest protocol
Diffstat (limited to 'weechat/net.h')
-rw-r--r--weechat/net.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/weechat/net.h b/weechat/net.h
index 6348a89..7f4e9da 100644
--- a/weechat/net.h
+++ b/weechat/net.h
@@ -5,17 +5,17 @@
enum net_response_type{
- NET_OK,
- NET_NUMBER,
- NET_ERROR,
- NET_NAME,
- NET_LIST,
- NET_PONG,
- NET_MESSAGE,
- NET_HISTORY,
- NET_JOIN,
- NET_INVITE,
- NET_ONLINE,
+ NET_OK, // -
+ NET_NUMBER, // number
+ NET_ERROR, // error
+ NET_NAME, // name
+ NET_LIST, // nitems, items
+ NET_PONG, // -
+ NET_MESSAGE, // room, username, timestamp, message
+ NET_HISTORY, // room, username, timestamp, message
+ NET_JOIN, // room, username
+ NET_INVITE, // room, username
+ NET_ONLINE, // online.username, online.num
};
struct net_response{