X-Git-Url: https://deadsoftware.ru/gitweb?p=flatwaifu.git;a=blobdiff_plain;f=src%2Flibs%2Fcp866%2Fcp866.h;h=3caa80ad4eda30a55ca4521330ec801dec06c3a3;hp=57c3ee728e8a7d03f878d17c9baa66bbd5c8afb2;hb=ef16dea09f87b15fc6d58fae0aa0832e0648c00e;hpb=1958dd7b157ada64ba81c31fb89c26ee2e95dde4 diff --git a/src/libs/cp866/cp866.h b/src/libs/cp866/cp866.h index 57c3ee7..3caa80a 100644 --- a/src/libs/cp866/cp866.h +++ b/src/libs/cp866/cp866.h @@ -1,16 +1,31 @@ +/* Copyright (C) 2020 SovietPony + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, version 3 of the License ONLY. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #ifndef CP866_H_INCLUDED #define CP866_H_INCLUDED -int cp866_isalpha (char ch); -int cp866_isupper (char ch); -int cp866_islower (char ch); -char cp866_toupper (char ch); -char cp866_tolower (char ch); +int cp866_isalpha (int ch); +int cp866_isupper (int ch); +int cp866_islower (int ch); +int cp866_toupper (int ch); +int cp866_tolower (int ch); int cp866_strcasecmp (const char *a, const char *b); int cp866_strncasecmp (const char *a, const char *b, unsigned int n); -int cp866_ctou (char ch); -int cp866_ctoug (char ch); +int cp866_ctou (int ch); +int cp866_ctoug (int ch); int cp866_utoc (int ch); #endif /* CP866_H_INCLUDED */