Debian Codegraph @

src/utils/file_watch.h

raw symbols SCIP
1 // SPDX-License-Identifier: MPL-2.0
2 // Copyright (c) Yuxuan Shui <[email protected]>
3
4 #pragma once
5 #include <stdbool.h>
6
7 #include <ev.h>
8
9 typedef void (*file_watch_cb_t)(void *);
10
11 void *file_watch_init(EV_P);
12 bool file_watch_add(void *, const char *, file_watch_cb_t, void *);
13 void file_watch_destroy(EV_P_ void *);