servers: deduplicate storerequest() across two servers

Closes #22041
This commit is contained in:
Viktor Szakats 2026-06-16 11:44:18 +02:00
parent e0c6f4d4d6
commit c2b050e4e4
No known key found for this signature in database
4 changed files with 67 additions and 118 deletions

View file

@ -141,6 +141,8 @@ extern int write_pidfile(const char *filename);
extern int write_portfile(const char *filename, int port);
extern void set_advisor_read_lock(const char *filename);
extern void clear_advisor_read_lock(const char *filename);
extern void storerequest(const char *reqbuf, size_t totalsize,
const char *filename);
static volatile int got_exit_signal = 0;
static volatile int exit_signal = 0;
#ifdef _WIN32