diff options
author | June McEnroe <june@causal.agency> | 2021-01-11 18:05:22 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-01-11 18:05:22 -0500 |
commit | 51c92f94ff2728a6db539a82fb4c501f45118062 (patch) | |
tree | a4267a63286a986c071cae823f678e332e76e6da /chat.h | |
parent | Don't pass nick to urlScan for MOTD and help (diff) | |
download | test-51c92f94ff2728a6db539a82fb4c501f45118062.tar.gz test-51c92f94ff2728a6db539a82fb4c501f45118062.zip |
Save and load the URL ring in the save file
Diffstat (limited to '')
-rw-r--r-- | chat.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chat.h b/chat.h index 41a3683..b5e546a 100644 --- a/chat.h +++ b/chat.h @@ -356,6 +356,8 @@ void urlScan(uint id, const char *nick, const char *mesg); void urlOpenCount(uint id, uint count); void urlOpenMatch(uint id, const char *str); void urlCopyMatch(uint id, const char *str); +int urlSave(FILE *file); +void urlLoad(FILE *file, size_t version); enum { IgnoreCap = 64 }; extern struct Ignore { |