summaryrefslogtreecommitdiff
path: root/include/case.h
blob: f63747b83e0559b56e72278fd2d632e546572204 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef CASE_H
#define CASE_H

extern void case_lowers(char *);
extern void case_lowerb(char *, unsigned int);
extern void case_uppers(char *);
extern void case_upperb(char *, unsigned int);
extern int case_diffs(char *, char *);
extern int case_diffrs(char *, char *);
extern int case_diffb(char *, unsigned int, char *);
extern int case_starts(char *, char *);
extern int case_startb(char *, unsigned int, char *);

#define case_equals(s, t)  (!case_diffs((s), (t)))
#define case_equalrs(s, t) (!case_diffrs((s), (t)))

#endif