New API, iwatch_add1() with no preset mask

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2022-12-18 22:21:15 +01:00
1 parent ff5e3219be
commit c586204fc1
2 files changed
+8 -2

No files matched your search

+1
View File
@@ -59,6 +59,7 @@ struct iwatch {
int iwatch_init (struct iwatch *iw);
void iwatch_exit (struct iwatch *iw);
int iwatch_add1 (struct iwatch *iw, char *file, uint32_t mask);
int iwatch_add (struct iwatch *iw, char *file, uint32_t mask);
int iwatch_del (struct iwatch *iw, struct iwatch_path *iwp);