From d27672b7a3e3d35997dd73139ebbcfbd331f1f1c Mon Sep 17 00:00:00 2001 From: Andrew Wood Date: Tue, 21 Oct 2025 22:10:38 +0100 Subject: [PATCH] Declare pv_open_controlfile so it can be used for the query action (#101). --- src/include/pv.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/include/pv.h b/src/include/pv.h index a3e04d2..5554039 100644 --- a/src/include/pv.h +++ b/src/include/pv.h @@ -13,6 +13,7 @@ #include "config.h" #endif +#include #include #include #include @@ -268,6 +269,14 @@ extern void pv_sig_init(pvstate_t); extern bool pv_sigusr2_received(pvstate_t, pid_t *); #endif +/* + * Return a stream pointer for a control file associated with a particular + * process ID and signal. + */ +/*@null@ */ +/*@dependent@ */ +extern FILE *pv_open_controlfile(char *, size_t, pid_t, int, bool); + /* * Enter the main transfer loop, transferring all input files to the output. */