dictre.h
changeset 15 17a66ceb774a
parent 14 a961bb8806b9
child 16 b4e251400e36
--- a/dictre.h	Wed Aug 29 00:19:14 2007 +0200
+++ b/dictre.h	Sat Sep 01 00:50:11 2007 +0200
@@ -3,6 +3,12 @@
     MAXDEF=10000
 };
 
+enum Case
+{
+    LCASE = 0,
+    UCASE = 1
+};
+
 struct Words
 {
     struct Word *first;
@@ -69,6 +75,9 @@
 int until_noword(const char *str, int *index);
 int skip_newline(const char *str, int *index);
 int is_ASCII(unsigned char c);
+int get_case(enum Case *vcase, const char *str);
+void get_lowcase_str(char *inout, const char *str);
+void reapply_case(char *out, const char *in, const enum Case *vcase);
 
 /* find.c */
 void find_def(const char *word, char * def);