xref: /netbsd-src/sys/arch/hpc/stand/libsa/libsa_string.h (revision ce099b40997c43048fb78bd578195f81d2456523)
1*ce099b40Smartin /*	$NetBSD: libsa_string.h,v 1.3 2008/04/28 20:23:21 martin Exp $	*/
2a9e6c59dSuch 
3a9e6c59dSuch /*-
4a9e6c59dSuch  * Copyright (c) 2004 The NetBSD Foundation, Inc.
5a9e6c59dSuch  * All rights reserved.
6a9e6c59dSuch  *
7a9e6c59dSuch  * This code is derived from software contributed to The NetBSD Foundation
8a9e6c59dSuch  * by UCHIYAMA Yasushi.
9a9e6c59dSuch  *
10a9e6c59dSuch  * Redistribution and use in source and binary forms, with or without
11a9e6c59dSuch  * modification, are permitted provided that the following conditions
12a9e6c59dSuch  * are met:
13a9e6c59dSuch  * 1. Redistributions of source code must retain the above copyright
14a9e6c59dSuch  *    notice, this list of conditions and the following disclaimer.
15a9e6c59dSuch  * 2. Redistributions in binary form must reproduce the above copyright
16a9e6c59dSuch  *    notice, this list of conditions and the following disclaimer in the
17a9e6c59dSuch  *    documentation and/or other materials provided with the distribution.
18a9e6c59dSuch  *
19a9e6c59dSuch  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
20a9e6c59dSuch  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
21a9e6c59dSuch  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22a9e6c59dSuch  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
23a9e6c59dSuch  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24a9e6c59dSuch  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25a9e6c59dSuch  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26a9e6c59dSuch  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27a9e6c59dSuch  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28a9e6c59dSuch  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29a9e6c59dSuch  * POSSIBILITY OF SUCH DAMAGE.
30a9e6c59dSuch  */
31a9e6c59dSuch 
32a9e6c59dSuch #define	LIBSA_NAMESPACE_BEGIN		namespace libsa {
33a9e6c59dSuch #define	LIBSA_NAMESPACE_END		}
34a9e6c59dSuch 
35a9e6c59dSuch LIBSA_NAMESPACE_BEGIN
36a9e6c59dSuch __BEGIN_DECLS
37a9e6c59dSuch char tolower(char);
38a9e6c59dSuch char *strtok(char *, const char *);
39a9e6c59dSuch int stricmp(const char *, const char *);
40a9e6c59dSuch __END_DECLS
41a9e6c59dSuch LIBSA_NAMESPACE_END
42a9e6c59dSuch 
43