summaryrefslogtreecommitdiffstats
path: root/src/util/sss_utf8.c
Commit message (Collapse)AuthorAgeFilesLines
* libipa_hbac: Ensure we always build with C90Lukas Slebodnik2016-03-121-0/+3
| | | | | | | | | | | libipa_hbac is also used by external projects such as pam_hbac: https://github.com/jhrozek/pam_hbac In order to make sure we don't use C99 features in the libipa_hbac code in the future, this patch adds an explicit -std=c89 flag to CFLAGS. Signed-off-by: Jakub Hrozek <jhrozek@redhat.com> Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
* Use pattern #elif defined(identifier)Lukas Slebodnik2014-03-141-4/+4
| | | | | | | | | | | | | | We had in source code following pattern #elif HAVE_<name> It worked because undefined identifier(in some cases) was evaluated to 0. But we do not care about value of HAVE_SOMETHING. We just need to know whether identifier was defined. There is not equivalent to #ifdef (short for of #if definded) We need to use long form: #elif defined HAVE_<name> It causes also compiler warning with enabled compiler flag -Wundef. Reviewed-by: Pavel Reichl <preichl@redhat.com>
* UTIL: Hide implementation details about unicode libraries.Lukas Slebodnik2014-03-141-1/+9
| | | | | | | Header files from glib or unistring are only necessary in implementation module sss_utf8.c Reviewed-by: Pavel Reichl <preichl@redhat.com>
* Make the string_equal() function publicJakub Hrozek2012-03-211-0/+9
|
* sss_utf8_tolower utility function+unit testsJakub Hrozek2011-12-161-0/+54
|
* Allow using Glib for UTF8 supportStephen Gallagher2011-12-051-0/+119