-/*
- * Copyright 1997, 1998, 1999 Computing Research Labs,
+/* $OpenLDAP$ */
+/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
+ *
+ * Copyright 1998-2008 The OpenLDAP Foundation.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted only as authorized by the OpenLDAP
+ * Public License.
+ *
+ * A copy of this license is available in file LICENSE in the
+ * top-level directory of the distribution or, alternatively, at
+ * <http://www.OpenLDAP.org/license.html>.
+ */
+/* Copyright 1997, 1998, 1999 Computing Research Labs,
* New Mexico State University
*
* Permission is hereby granted, free of charge, to any person obtaining a
* OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
* THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-#ifndef lint
-static char rcsid[] = "$Id: utbmstub.c,v 1.1 1999/09/21 15:45:18 mleisher Exp $";
-#endif
+/* $Id: utbmstub.c,v 1.1 1999/09/21 15:45:18 mleisher Exp $ */
#include "utbm.h"
* of a space character. Return zero otherwise.
*/
int
-#ifdef __STDC__
_utbm_isspace(ucs4_t c, int compress)
-#else
-_utbm_isspace(c, compress)
-ucs4_t c;
-int compress;
-#endif
{
if (compress)
return (c == 0x09 || c == 0x0a || c == 0x0d ||
* Return non-zero if the character is a control character, or zero otherwise.
*/
int
-#ifdef __STDC__
_utbm_iscntrl(ucs4_t c)
-#else
-_utbm_iscntrl(c)
-ucs4_t c;
-#endif
{
return 0;
}
* otherwise.
*/
int
-#ifdef __STDC__
_utbm_nonspacing(ucs4_t c)
-#else
-_utbm_nonspacing(c)
-ucs4_t c;
-#endif
{
return 0;
}
* Convert a character to lower case.
*/
ucs4_t
-#ifdef __STDC__
_utbm_tolower(ucs4_t c)
-#else
-_utbm_tolower(c)
-ucs4_t c;
-#endif
{
return c;
}
* Convert a character to upper case.
*/
ucs4_t
-#ifdef __STDC__
_utbm_toupper(ucs4_t c)
-#else
-_utbm_toupper(c)
-ucs4_t c;
-#endif
{
return c;
}
* Convert a character to title case.
*/
ucs4_t
-#ifdef __STDC__
_utbm_totitle(ucs4_t c)
-#else
-_utbm_totitle(c)
-ucs4_t c;
-#endif
{
return c;
}