text.h revision a747113422afaa29ce72d2c5ba7f0b7ea9ec2054
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * Automated Testing Framework (atf)
3e14f97f673e8a630f076077de35afdd43dc1587Roger A. Faulkner * Copyright (c) 2008 The NetBSD Foundation, Inc.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * All rights reserved.
7c2fbfb345896881c631598ee3852ce9ce33fb07April Chin * Redistribution and use in source and binary forms, with or without
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * modification, are permitted provided that the following conditions
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * are met:
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * 1. Redistributions of source code must retain the above copyright
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * notice, this list of conditions and the following disclaimer.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * 2. Redistributions in binary form must reproduce the above copyright
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * notice, this list of conditions and the following disclaimer in the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * documentation and/or other materials provided with the distribution.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS BE LIABLE FOR ANY
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
3e14f97f673e8a630f076077de35afdd43dc1587Roger A. Faulkner * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#if !defined(ATF_C_TEXT_H)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinatf_error_t atf_text_for_each_word(const char *, const char *,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin atf_error_t (*)(const char *, void *),
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinatf_error_t atf_text_format(char **, const char *, ...);
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinatf_error_t atf_text_format_ap(char **, const char *, va_list);
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinatf_error_t atf_text_split(const char *, const char *, atf_list_t *);
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#endif /* ATF_C_TEXT_H */