0fcec5c7fa46edc16c5b76ad07e28f2e8c1d487b
[apps/madmutt.git] / ascii.h
1 /*
2  * Copyright notice from original mutt:
3  * Copyright (C) 2001 Thomas Roessler <roessler@does-not-exist.org>
4  *
5  * This file is part of mutt-ng, see http://www.muttng.org/.
6  * It's licensed under the GNU General Public License,
7  * please see the file GPL in the top level source directory.
8  */
9
10 /* 
11  * Versions of the string comparison functions which are
12  * locale-insensitive.
13  */
14
15 #ifndef _ASCII_H
16 # define _ASCII_H
17
18 int ascii_isupper (int c);
19 int ascii_islower (int c);
20 int ascii_toupper (int c);
21 int ascii_tolower (int c);
22 int ascii_strcasecmp (const char *a, const char *b);
23 int ascii_strncasecmp (const char *a, const char *b, int n);
24
25 #define ascii_strcmp(a,b) mutt_strcmp(a,b)
26 #define ascii_strncmp(a,b,c) safe_strncmp(a,b,c)
27
28 #endif