summaryrefslogtreecommitdiff
path: root/flexdef.h
diff options
context:
space:
mode:
authorJohn Millaway <john43@users.sourceforge.net>2002-08-14 00:46:59 +0000
committerJohn Millaway <john43@users.sourceforge.net>2002-08-14 00:46:59 +0000
commit318787eade383c5b8ed3a65ff7adb212a88d3aa9 (patch)
tree66331dfcafc8a11e85665d0d6e4df4519e062baa /flexdef.h
parent2de61eb3df07519dfa02fbc44ab244603d1a901e (diff)
Start condition prefixes attempts to adjust to user preferences.
Diffstat (limited to 'flexdef.h')
-rw-r--r--flexdef.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/flexdef.h b/flexdef.h
index 0fb12e2..a7effb5 100644
--- a/flexdef.h
+++ b/flexdef.h
@@ -1078,4 +1078,16 @@ extern jmp_buf flex_main_jmp_buf;
/* Removes all \n and \r chars from tail of str. returns str. */
extern char* chomp(char* str);
+/* converts str to lowercase. returns str. */
+extern char * strlower (char *str);
+
+/* converts str to lowercase. returns str. */
+extern char * strupper (char *str);
+
+/* guess case preference for str */
+extern int case_preference (const char* str);
+
+/* creates a name-space safe copy of start cond name in buf. returns buf */
+extern char * fix_scname (char * buf, const char * name);
+
#endif /* not defined FLEXDEF_H */