Sync usage with man page.
[netbsd-mini2440.git] / sbin / ifconfig / env.h
blobb3a685a4a99f10c0464401f84c77fe6b23cdd1a8
1 #ifndef _IFCONFIG_ENV_H
2 #define _IFCONFIG_ENV_H
4 #include <prop/proplib.h>
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);
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.
19 #ifdef RUMP_ACTION
20 #include <rump/rump.h>
21 #include <rump/rump_syscalls.h>
22 #endif /* RUMP_ACTION */
24 #endif /* _IFCONFIG_ENV_H */