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