]>
jfr.im git - irc/quakenet/newserv.git/blob - helpmod2/hgen.h
1 /* new H general functions and procedures */
7 int ci_strcmp(const char*, const char*);
9 /* matches string (const char*) to the regular expression (? and *) (const char*) */
10 int strregexp(const char *, const char *);
12 /* prints the time in the common 1h 2m 3s format, has three internal buffers */
13 const char *helpmod_strtime(int);
14 /* reads a time string */
15 int helpmod_read_strtime(const char *);
17 int hword_count(const char*);
19 int helpmod_is_lame_line(const char*);
21 int strislower(const char*);
22 int strisupper(const char*);
24 int strisalpha(const char*);
25 int strnumcount(const char*);
27 float helpmod_percentage(int, int);
29 /* A select for strings, case insensitive
30 * String to match, strings, corresponding int values (enums) and amount of both
31 * In case of no match, -1 is returned */
32 int helpmod_select(const char*, const char**, int*, int);