mirror of
https://github.com/drakmor/ShadowMountPlus.git
synced 2026-10-21 06:10:01 -05:00
18 lines
536 B
C
18 lines
536 B
C
#ifndef SM_SCANNER_H
|
|
#define SM_SCANNER_H
|
|
|
|
#include <stdbool.h>
|
|
|
|
// Initialize scanner service resources such as wake pipe and file watches.
|
|
bool sm_scanner_init(void);
|
|
// Wake a blocked scanner wait. Safe to call from signal context.
|
|
void sm_scanner_wake(void);
|
|
// Run the initial full synchronization cycle.
|
|
bool sm_scanner_run_startup_sync(void);
|
|
// Run the steady-state scanner wait/scan loop until shutdown is requested.
|
|
void sm_scanner_run_loop(void);
|
|
// Release scanner service resources.
|
|
void sm_scanner_shutdown(void);
|
|
|
|
#endif
|