aboutsummaryrefslogtreecommitdiff
path: root/src/librc/rc.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/librc/rc.h.in')
-rw-r--r--src/librc/rc.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/librc/rc.h.in b/src/librc/rc.h.in
index 2a7c054a..350f518e 100644
--- a/src/librc/rc.h.in
+++ b/src/librc/rc.h.in
@@ -544,6 +544,9 @@ typedef LIST_HEAD(rc_pidlist, rc_pid) RC_PIDLIST;
* @return NULL terminated list of pids */
RC_PIDLIST *rc_find_pids(const char *, const char *const *, uid_t, pid_t);
+/* Basically the same as rc_getline() below, it just returns multiple lines */
+bool rc_getfile(const char *, char **, size_t *);
+
/* getline is a handy glibc function that not all libcs have, so
* we have our own */
ssize_t rc_getline(char **, size_t *, FILE *);