env.h revision 1.4
1/*	$NetBSD: env.h,v 1.4 2019/06/30 11:38:16 sevan Exp $	*/
2
3#ifndef _IFCONFIG_ENV_H
4#define _IFCONFIG_ENV_H
5
6#include <prop/proplib.h>
7
8const char *getifname(prop_dictionary_t);
9ssize_t getargstr(prop_dictionary_t, const char *, char *, size_t);
10ssize_t getargdata(prop_dictionary_t, const char *, uint8_t *, size_t);
11int getaf(prop_dictionary_t);
12int getifflags(prop_dictionary_t, prop_dictionary_t, unsigned short *);
13const char *getifinfo(prop_dictionary_t, prop_dictionary_t, unsigned short *);
14prop_dictionary_t prop_dictionary_augment(prop_dictionary_t, prop_dictionary_t);
15
16/*
17 * XXX: this really doesn't belong in here, but env.h is conveniently
18 * included from all source modules *after* system headers, so it
19 * allows us to be lazy.  See Makefile for more details.
20 */
21#ifdef RUMP_ACTION
22#include <rump/rump.h>
23#include <rump/rump_syscalls.h>
24#include <rump/rumpclient.h>
25#endif /* RUMP_ACTION */
26
27#endif /* _IFCONFIG_ENV_H */
28