diff options
author | June McEnroe | 2022-07-30 18:47:26 -0400 |
---|---|---|
committer | June McEnroe | 2022-07-30 18:47:26 -0400 |
commit | 14a6486b9b2b9522982cde12c05b20931fe34999 (patch) | |
tree | 672349f06f9e998e6859a937230cc32787af2d9f /chat.h | |
parent | c0be6fe4b207fe8f57e8a9a97734302b15733831 (diff) |
Switch to cache interfaces
Diffstat (limited to 'chat.h')
-rw-r--r-- | chat.h | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/chat.h b/chat.h index b7de9ac..ea4ece3 100644 --- a/chat.h +++ b/chat.h @@ -292,7 +292,7 @@ const char *commandIsPrivmsg(uint id, const char *input); const char *commandIsNotice(uint id, const char *input); const char *commandIsAction(uint id, const char *input); size_t commandWillSplit(uint id, const char *input); -void commandCompleteAdd(void); +void commandCache(void); enum Heat { Ice, @@ -334,7 +334,7 @@ void inputWait(void); void inputUpdate(void); bool inputPending(uint id); void inputRead(void); -void inputCompleteAdd(void); +void inputCache(void); int inputSave(FILE *file); void inputLoad(FILE *file, size_t version); @@ -412,18 +412,6 @@ void cacheReject(struct Cursor *curs); void cacheRemove(uint id, const char *key); void cacheClear(uint id); -const char *complete(uint id, const char *prefix); -const char *completeSubstr(uint id, const char *substr); -void completeAccept(void); -void completeReject(void); -void completeAdd(uint id, const char *str, enum Color color); -void completeTouch(uint id, const char *str, enum Color color); -void completeReplace(uint id, const char *old, const char *new); -void completeRemove(uint id, const char *str); -void completeClear(uint id); -uint completeID(const char *str); -enum Color completeColor(uint id, const char *str); - extern struct Util urlOpenUtil; extern struct Util urlCopyUtil; void urlScan(uint id, const char *nick, const char *mesg); |