summary refs log tree commit diff
path: root/chat.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-12-16 16:57:43 -0500
committerJune McEnroe <june@causal.agency>2018-12-16 16:57:43 -0500
commitef916ddaff2c651c41e4737cdb50abb06365f8b3 (patch)
tree9b52bcfbd48276c65091d0d40c2c7aaa148f3b75 /chat.h
parentMove base64 to string.c (diff)
downloadcatgirl-ef916ddaff2c651c41e4737cdb50abb06365f8b3.tar.gz
catgirl-ef916ddaff2c651c41e4737cdb50abb06365f8b3.zip
Move base64 back to pls.c
Diffstat (limited to '')
-rw-r--r--chat.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/chat.h b/chat.h
index 9bce7a0..441056c 100644
--- a/chat.h
+++ b/chat.h
@@ -190,9 +190,6 @@ void logFmt(
 ) __attribute__((format(printf, 3, 4)));
 void logReplay(struct Tag tag);
 
-size_t base64Size(size_t len);
-void base64(char *dst, const byte *src, size_t len);
-
 wchar_t *wcsnchr(const wchar_t *wcs, size_t len, wchar_t chr);
 wchar_t *wcsnrchr(const wchar_t *wcs, size_t len, wchar_t chr);
 wchar_t *ambstowcs(const char *src);
@@ -201,6 +198,9 @@ char *awcsntombs(const wchar_t *src, size_t nwc);
 int vaswprintf(wchar_t **ret, const wchar_t *format, va_list ap);
 int aswprintf(wchar_t **ret, const wchar_t *format, ...);
 
+size_t base64Size(size_t len);
+void base64(char *dst, const byte *src, size_t len);
+
 // HACK: clang won't check wchar_t *format strings.
 #ifdef NDEBUG
 #define uiFmt(tag, heat, format, ...) uiFmt(tag, heat, L##format, __VA_ARGS__)