summaryrefslogtreecommitdiffstats
path: root/lib/libutil/libutil.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-12-29 17:50:34 +0000
committerpeter <peter@FreeBSD.org>1999-12-29 17:50:34 +0000
commite8ea19d78e855d6d9e26a5314197cd14fddd16b2 (patch)
tree103f234fd4413c3904bda7cf7dec0159bf43995f /lib/libutil/libutil.h
parent506b57590bdf57e2248ebd3c429fe94984702ce2 (diff)
downloadFreeBSD-src-e8ea19d78e855d6d9e26a5314197cd14fddd16b2.zip
FreeBSD-src-e8ea19d78e855d6d9e26a5314197cd14fddd16b2.tar.gz
Connect fparseln(3) for mailwrapper(8)
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 f41c665..4923700 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_ */
OpenPOWER on IntegriCloud