]> Pileus Git - ~andy/lamechat/blobdiff - util.h
Make logfile optional.
[~andy/lamechat] / util.h
diff --git a/util.h b/util.h
index 3bffe784998eb1efeeb62bb018daa45345d1b6c9..9ce35943d0e8f7d2b942c269a66e6633b5bbe8e4 100644 (file)
--- a/util.h
+++ b/util.h
@@ -65,6 +65,8 @@ typedef struct {
 
 /* Debug functions */
 void util_init(void);
+void util_exit(void);
+void util_config(const char *group, const char *name, const char *key, const char *value);
 
 /* String functions */
 void strsub(char *str, char find, char repl);
@@ -108,6 +110,10 @@ void reg_clr(reg_t *reg);
 int reg_match(reg_t *reg, const char *text);
 int reg_check(reg_t *reg, int pos);
 
+/* Spell functions */
+int spell_check(const char *word, const char **fixes);
+
 /* Debug functions */
+void notice(char *fmt, ...);
 void debug(char *fmt, ...);
 void error(char *fmt, ...);