diff options
author | C. McEnroe | 2020-02-10 19:40:13 -0500 |
---|---|---|
committer | C. McEnroe | 2020-02-10 19:40:13 -0500 |
commit | b59431bb15ec74f05119a7c710a1f6a21e702bad (patch) | |
tree | aa80af87cf2af090dc8d243a80577d8bd5b2106c /chat.h | |
parent | 65603d5138b54efc53c04e756631ab8eeddee7fb (diff) |
Add -s to save and load buffers
Diffstat (limited to 'chat.h')
-rw-r--r-- | chat.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chat.h b/chat.h index 13319da..47a6163 100644 --- a/chat.h +++ b/chat.h @@ -26,6 +26,8 @@ #define ARRAY_LEN(a) (sizeof(a) / sizeof(a[0])) #define BIT(x) x##Bit, x = 1 << x##Bit, x##Bit_ = x##Bit +#define XDG_SUBDIR "catgirl" + typedef unsigned char byte; int procPipe[2]; @@ -144,6 +146,8 @@ void uiWrite(size_t id, enum Heat heat, const time_t *time, const char *str); void uiFormat( size_t id, enum Heat heat, const time_t *time, const char *format, ... ) __attribute__((format(printf, 4, 5))); +void uiLoad(const char *name); +int uiSave(const char *name); enum Edit { EditHead, |