Changeset View
Changeset View
Standalone View
Standalone View
lib/libnetbsd/util.h
| Show All 31 Lines | |||||
| #ifndef _LIBNETBSD_UTIL_H_ | #ifndef _LIBNETBSD_UTIL_H_ | ||||
| #define _LIBNETBSD_UTIL_H_ | #define _LIBNETBSD_UTIL_H_ | ||||
| #include <sys/types.h> | #include <sys/types.h> | ||||
| #include <libutil.h> | #include <libutil.h> | ||||
| char *flags_to_string(u_long flags, const char *def); | char *flags_to_string(u_long flags, const char *def); | ||||
| int sockaddr_snprintf(char *, size_t, const char *, | |||||
| const struct sockaddr *); | |||||
| int string_to_flags(char **stringp, u_long *setp, u_long *clrp); | int string_to_flags(char **stringp, u_long *setp, u_long *clrp); | ||||
| #endif | #endif | ||||