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. */