summaryrefslogtreecommitdiff
path: root/lib/libutil/libutil.h
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1999-12-29 17:50:34 +0000
committerPeter Wemm <peter@FreeBSD.org>1999-12-29 17:50:34 +0000
commit2705d66b49502c9683631b0254013c9f8b42ca38 (patch)
tree6ecdc66d1eae47afaa63d281968cef71bfde78ed /lib/libutil/libutil.h
parenta82111c306239e1ad8e73de85631a5693f30da3b (diff)
Notes
Diffstat (limited to 'lib/libutil/libutil.h')
-rw-r--r--lib/libutil/libutil.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/libutil/libutil.h b/lib/libutil/libutil.h
index f41c66590cd20..492370043f7a4 100644
--- a/lib/libutil/libutil.h
+++ b/lib/libutil/libutil.h
@@ -60,6 +60,9 @@ void properties_free __P((properties list));
char *property_find __P((properties list, const char *name));
char *auth_getval __P((const char *name));
int realhostname __P((char *host, size_t hsize, const struct in_addr *ip));
+#ifdef _STDIO_H_ /* avoid adding new includes */
+char *fparseln __P((FILE *, size_t *, size_t *, const char[3], int));
+#endif
__END_DECLS
#define UU_LOCK_INUSE (1)
@@ -78,4 +81,11 @@ __END_DECLS
#define HOSTNAME_INVALIDADDR (2)
#define HOSTNAME_INVALIDNAME (3)
+/* fparseln(3) */
+#define FPARSELN_UNESCESC 0x01
+#define FPARSELN_UNESCCONT 0x02
+#define FPARSELN_UNESCCOMM 0x04
+#define FPARSELN_UNESCREST 0x08
+#define FPARSELN_UNESCALL 0x0f
+
#endif /* !_LIBUTIL_H_ */