env.h revision 256281
1262569Simp/*
2262569Simp * Automated Testing Framework (atf)
3262569Simp *
4262569Simp * Copyright (c) 2008 The NetBSD Foundation, Inc.
5262569Simp * All rights reserved.
6262569Simp *
7262569Simp * Redistribution and use in source and binary forms, with or without
8262569Simp * modification, are permitted provided that the following conditions
9262569Simp * are met:
10262569Simp * 1. Redistributions of source code must retain the above copyright
11262569Simp *    notice, this list of conditions and the following disclaimer.
12262569Simp * 2. Redistributions in binary form must reproduce the above copyright
13262569Simp *    notice, this list of conditions and the following disclaimer in the
14262569Simp *    documentation and/or other materials provided with the distribution.
15262569Simp *
16262569Simp * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND
17262569Simp * CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
18262569Simp * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
19262569Simp * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20262569Simp * IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS BE LIABLE FOR ANY
21262569Simp * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22262569Simp * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
23262569Simp * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24262569Simp * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
25262569Simp * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
26262569Simp * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
27262569Simp * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28262569Simp */
29262569Simp
30262569Simp#if !defined(ATF_C_ENV_H)
31262569Simp#define ATF_C_ENV_H
32262569Simp
33262569Simp#include <stdbool.h>
34262569Simp
35262569Simp#include <atf-c/error_fwd.h>
36262569Simp
37262569Simpconst char *atf_env_get(const char *);
38262569Simpbool atf_env_has(const char *);
39262569Simpatf_error_t atf_env_set(const char *, const char *);
40262569Simpatf_error_t atf_env_unset(const char *);
41262569Simp
42262569Simp#endif /* !defined(ATF_C_ENV_H) */
43262569Simp