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