diff options
Diffstat (limited to 'misc/haiku/haiku_interop.h')
-rw-r--r-- | misc/haiku/haiku_interop.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/misc/haiku/haiku_interop.h b/misc/haiku/haiku_interop.h new file mode 100644 index 0000000..b422412 --- /dev/null +++ b/misc/haiku/haiku_interop.h @@ -0,0 +1,14 @@ +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct haiku_nm_t *haiku_nm_h; +haiku_nm_h haiku_init_nm(); +void haiku_close_nm(haiku_nm_h hnd); +int haiku_watch_dir(haiku_nm_h hnd, const char *path); +int haiku_stop_watch(haiku_nm_h hnd); +int haiku_is_update_needed(haiku_nm_h hnd); + +#ifdef __cplusplus +} +#endif |