xref: /freebsd-src/cddl/contrib/opensolaris/lib/libdtrace/common/dt_string.h (revision e477abf734cc777a55286bfbd6b80a6760c96acf)
16ff6d951SJohn Birrell /*
26ff6d951SJohn Birrell  * CDDL HEADER START
36ff6d951SJohn Birrell  *
46ff6d951SJohn Birrell  * The contents of this file are subject to the terms of the
5*ba737742SPedro F. Giffuni  * Common Development and Distribution License (the "License").
6*ba737742SPedro F. Giffuni  * You may not use this file except in compliance with the License.
76ff6d951SJohn Birrell  *
86ff6d951SJohn Birrell  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
96ff6d951SJohn Birrell  * or http://www.opensolaris.org/os/licensing.
106ff6d951SJohn Birrell  * See the License for the specific language governing permissions
116ff6d951SJohn Birrell  * and limitations under the License.
126ff6d951SJohn Birrell  *
136ff6d951SJohn Birrell  * When distributing Covered Code, include this CDDL HEADER in each
146ff6d951SJohn Birrell  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
156ff6d951SJohn Birrell  * If applicable, add the following below this CDDL HEADER, with the
166ff6d951SJohn Birrell  * fields enclosed by brackets "[]" replaced with your own identifying
176ff6d951SJohn Birrell  * information: Portions Copyright [yyyy] [name of copyright owner]
186ff6d951SJohn Birrell  *
196ff6d951SJohn Birrell  * CDDL HEADER END
206ff6d951SJohn Birrell  */
216ff6d951SJohn Birrell /*
22*ba737742SPedro F. Giffuni  * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
236ff6d951SJohn Birrell  */
246ff6d951SJohn Birrell 
256ff6d951SJohn Birrell #ifndef	_DT_STRING_H
266ff6d951SJohn Birrell #define	_DT_STRING_H
276ff6d951SJohn Birrell 
286ff6d951SJohn Birrell 
296ff6d951SJohn Birrell #include <sys/types.h>
306ff6d951SJohn Birrell #include <strings.h>
316ff6d951SJohn Birrell 
326ff6d951SJohn Birrell #ifdef	__cplusplus
336ff6d951SJohn Birrell extern "C" {
346ff6d951SJohn Birrell #endif
356ff6d951SJohn Birrell 
366ff6d951SJohn Birrell extern size_t stresc2chr(char *);
376ff6d951SJohn Birrell extern char *strchr2esc(const char *, size_t);
386ff6d951SJohn Birrell extern const char *strbasename(const char *);
396ff6d951SJohn Birrell extern const char *strbadidnum(const char *);
406ff6d951SJohn Birrell extern int strisglob(const char *);
416ff6d951SJohn Birrell extern char *strhyphenate(char *);
426ff6d951SJohn Birrell 
436ff6d951SJohn Birrell #ifdef	__cplusplus
446ff6d951SJohn Birrell }
456ff6d951SJohn Birrell #endif
466ff6d951SJohn Birrell 
476ff6d951SJohn Birrell #endif	/* _DT_STRING_H */
48