summary refs log tree commit diff
path: root/chat.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-08 00:58:17 -0500
committerJune McEnroe <june@causal.agency>2020-02-08 00:58:17 -0500
commitb5707af4b842f521104c5fba07e5685612ff91f2 (patch)
treeaa599074d2fa08fc12cdf005e867a1c030b13526 /chat.h
parentHandle QUIT (diff)
downloadcatgirl-b5707af4b842f521104c5fba07e5685612ff91f2.tar.gz
catgirl-b5707af4b842f521104c5fba07e5685612ff91f2.zip
Handle KICK
See I knew the color cache in complete would be useful in at least one
place!
Diffstat (limited to '')
-rw-r--r--chat.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/chat.h b/chat.h
index 413cee4..bd36d27 100644
--- a/chat.h
+++ b/chat.h
@@ -151,12 +151,13 @@ char *editTail(void);
 const char *complete(size_t id, const char *prefix);
 void completeAccept(void);
 void completeReject(void);
-size_t completeID(const char *str);
 void completeAdd(size_t id, const char *str, enum Color color);
 void completeTouch(size_t id, const char *str, enum Color color);
 void completeReplace(size_t id, const char *old, const char *new);
 void completeRemove(size_t id, const char *str);
 void completeClear(size_t id);
+size_t completeID(const char *str);
+enum Color completeColor(size_t id, const char *str);
 
 FILE *configOpen(const char *path, const char *mode);
 int getopt_config(