gkdbus: Fix underflow and unreachable code bug
[platform/upstream/glib.git] / gio / inotify / inotify-path.h
1 /*
2    Copyright (C) 2005 John McCutchan
3
4    This library is free software; you can redistribute it and/or
5    modify it under the terms of the GNU Lesser General Public
6    License as published by the Free Software Foundation; either
7    version 2.1 of the License, or (at your option) any later version.
8
9    This library is distributed in the hope that it will be useful,
10    but WITHOUT ANY WARRANTY; without even the implied warranty of
11    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12    Lesser General Public License for more details.
13
14    You should have received a copy of the GNU Lesser General Public License
15    along with this library; if not, see <http://www.gnu.org/licenses/>.
16
17    Authors:.
18                 John McCutchan <john@johnmccutchan.com>
19 */
20
21 #ifndef __INOTIFY_PATH_H
22 #define __INOTIFY_PATH_H
23
24 #include "inotify-kernel.h"
25 #include "inotify-sub.h"
26
27 gboolean     _ip_startup (gboolean (*event_cb)(ik_event_t *event, inotify_sub *sub, gboolean file_event));
28 gboolean     _ip_start_watching (inotify_sub *sub);
29 gboolean     _ip_stop_watching  (inotify_sub *sub);
30 const char * _ip_get_path_for_wd (gint32 wd);
31 #endif