summaryrefslogtreecommitdiffstats
path: root/libutil/libutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'libutil/libutil.h')
-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_ */