summaryrefslogtreecommitdiffstats
path: root/libutil
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
commitbdbbd98e10c1f84d7bdfc718f167d54c0996522c (patch)
treebac5588df2ed5c8e0e607d726c09859b5e7232df /libutil
parentfe59ae51c2311842d026285c29da34c51734f499 (diff)
downloadpw-darwin-bdbbd98e10c1f84d7bdfc718f167d54c0996522c.tar.gz
pw-darwin-bdbbd98e10c1f84d7bdfc718f167d54c0996522c.tar.zst
pw-darwin-bdbbd98e10c1f84d7bdfc718f167d54c0996522c.zip
Connect fparseln(3) for mailwrapper(8)
Diffstat (limited to 'libutil')
-rw-r--r--libutil/libutil.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libutil/libutil.h b/libutil/libutil.h
index f41c665..4923700 100644
--- a/libutil/libutil.h
+++ b/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_ */