netatalk  4.5.0
Free and Open Source Apple Filing Protocol (AFP) Server
Loading...
Searching...
No Matches
idle_worker.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2026 Andy Lemin (@andylemin)
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13*/
14
15#ifndef IDLE_WORKER_H
16#define IDLE_WORKER_H
17
18extern int idle_worker_init(void);
19extern void idle_worker_start(void);
20extern void idle_worker_stop(void);
21extern void idle_worker_stop_signal_safe(void);
22extern void idle_worker_shutdown(void);
23extern int idle_worker_is_active(void);
24extern void idle_worker_log_stats(void);
25
26#endif /* IDLE_WORKER_H */
int idle_worker_init(void)
Definition idle_worker.c:159
void idle_worker_log_stats(void)
Definition idle_worker.c:175
void idle_worker_stop(void)
Definition idle_worker.c:168
void idle_worker_shutdown(void)
Definition idle_worker.c:170
void idle_worker_start(void)
Definition idle_worker.c:167
int idle_worker_is_active(void)
Definition idle_worker.c:171
void idle_worker_stop_signal_safe(void)
Definition idle_worker.c:169