From b373a5c0919c972f69d44785ad74aa37afe113de Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Sat, 30 Jul 2022 18:55:09 -0400 Subject: Rename cache{Prefix,Substr} to cache{Complete,Search} --- chat.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chat.h') diff --git a/chat.h b/chat.h index ea4ece3..1bc5f8f 100644 --- a/chat.h +++ b/chat.h @@ -404,8 +404,8 @@ void cacheInsert(bool touch, uint id, const char *key); void cacheInsertColor(bool touch, uint id, const char *key, enum Color color); void cacheReplace(bool touch, const char *old, const char *new); enum Color cacheColor(uint id, const char *key); -const char *cachePrefix(struct Cursor *curs, uint id, const char *prefix); -const char *cacheSubstr(struct Cursor *curs, uint id, const char *substr); +const char *cacheComplete(struct Cursor *curs, uint id, const char *prefix); +const char *cacheSearch(struct Cursor *curs, uint id, const char *substr); uint cacheID(struct Cursor *curs, const char *key); void cacheAccept(struct Cursor *curs); void cacheReject(struct Cursor *curs); -- cgit 1.4.1