diff options
author | Anna Arad <4895022+annagrram@users.noreply.github.com> | 2019-12-27 19:02:20 +0100 |
---|---|---|
committer | Mischievous Meerkat <engineerarun@gmail.com> | 2019-12-27 23:32:20 +0530 |
commit | fd9fcf741e6660a1344dafd33956fcdc64fdc643 (patch) | |
tree | 5d202c1d5691f54571def4edc285b7e9282942fa /misc/haiku/haiku_interop.h | |
parent | d3ddff6690aa27e02e4fb3504830137b2d7da5ef (diff) | |
download | nnn-fd9fcf741e6660a1344dafd33956fcdc64fdc643.tar.gz |
Get nnn compile and run on Haiku (#403)
* Add support for Haiku OS
* Adjust DISTFILES and dist rule in haiku
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 |