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