Declare pv_open_controlfile so it can be used for the query action (#101).

This commit is contained in:
Andrew Wood
2025-10-21 22:10:38 +01:00
parent 36d82e313a
commit d27672b7a3
+9
View File
@@ -13,6 +13,7 @@
#include "config.h"
#endif
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <signal.h>
@@ -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.
*/