Archived
1
0
Fork 0
This repository has been archived on 2026-05-10. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
archived/src/notify.h
2010-10-19 11:25:24 +02:00

30 lines
754 B
C

/* notify.h - filesystem notification API
*
* (C) Copyright 2010 Henrik Hautakoski <henrik@fiktivkod.org>
* (C) Copyright 2010 Fredric Nilsson <fredric@fiktivkod.org>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*/
#ifndef __NOTIFY_NOTIFY_H
#define __NOTIFY_NOTIFY_H
/* notify event def's and operations */
#include "event.h"
int notify_init();
void notify_exit();
int notify_add_watch(const char *path);
int notify_rm_watch(const char *path);
notify_event* notify_read();
void notify_stat();
#endif /* __NOTIFY_NOTIFY_H */