1 /* Header for module utility, generated by p2c 1.21alpha-07.Dec.93 */
2 #ifndef UTILITY_H
3 #define UTILITY_H
4 
5 
6 #ifdef UTILITY_G
7 # define vextern
8 #else
9 # define vextern extern
10 #endif
11 /* DPL 2004-03-22 */
12 
13 /* Utilities, mainly aids to parsing */
14 
15 
16 extern boolean equalsIgnoreCase PP((Char *s1, Char *s2));
17 extern boolean startsWithIgnoreCase PP((Char *s1, Char *s2));
18 extern boolean endsWith PP((Char *s1, Char *s2));
19 extern boolean startsWithBracedWord PP((Char *P));
20 extern Char *GetNextWord PP((Char *Result, Char *s, int Delim, int Term));
21 extern Char *NextWord PP((Char *Result, Char *s, int Delim, int Term));
22 extern short wordCount PP((Char *s));
23 extern Char *plural PP((Char *Result, int n));
24 extern short curtail PP((Char *s, int c));
25 /* Remove last character if it equals c and return its position;
26    otherwise return 0 */
27 extern Char *toString PP((Char *Result, int n));
28 extern Void trim PP((Char *s));
29 extern short digit PP((int c));
30 extern boolean match PP((Char *source, Char *pattern));
31 extern Char *translate PP((Char *Result, Char *source, Char *pattern,
32 			   Char *target));
33 extern Void grep PP((Char *source, Char *pattern, Char *target));
34 /* See Implementation for what this currently does. */
35 
36 
37 #undef vextern
38 
39 #endif /*UTILITY_H*/
40 
41 /* End. */
42