aboutsummaryrefslogtreecommitdiff
path: root/jdtalk.h
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2022-02-09 00:55:11 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2022-02-09 00:55:11 -0500
commit5010d17025ffbaa7f9f8b5fe9169b574040d2773 (patch)
tree1b3d5b355fdef598bc75e759397fd5c3cc421123 /jdtalk.h
parentcfd5fe53ddcfcf1d5f7434cf6f43425e4e940971 (diff)
downloadjdtalkc-5010d17025ffbaa7f9f8b5fe9169b574040d2773.tar.gz
Implements a basic candy heart mode
Diffstat (limited to 'jdtalk.h')
-rw-r--r--jdtalk.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/jdtalk.h b/jdtalk.h
index 8256041..ec629c6 100644
--- a/jdtalk.h
+++ b/jdtalk.h
@@ -55,6 +55,7 @@ char *str_reverse(char *s);
char *talkf(struct Dictionary *dict[], char *fmt, char **parts, size_t parts_max);
char *talk_salad(struct Dictionary *dict[], size_t limit, char **parts, size_t parts_max);
+char *talk_heart(struct Dictionary *dict[], size_t word_limit, size_t word_maxlen, char **parts, size_t parts_max);
char *talk_acronym(struct Dictionary *dict[], __attribute__((unused)) char *fmt, char *s, char **parts, size_t parts_max);
int acronym_safe(struct Dictionary *dict, const char *acronym, const char *pattern, const char *fmt);
int format_safe(char *s);