[kdbus] sync with kdbus (commit: b078c757a3f9) 15/02/20
[platform/upstream/glib.git] / gio / inotify / inotify-sub.h
1 /* inotify-sub.h - GVFS Directory Monitor using inotify
2
3    Copyright (C) 2006 John McCutchan
4
5    The Gnome Library is free software; you can redistribute it and/or
6    modify it under the terms of the GNU Library General Public License as
7    published by the Free Software Foundation; either version 2 of the
8    License, or (at your option) any later version.
9
10    The Gnome Library is distributed in the hope that it will be useful,
11    but WITHOUT ANY WARRANTY; without even the implied warranty of
12    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13    Library General Public License for more details.
14
15    You should have received a copy of the GNU Library General Public
16    License along with the Gnome Library; see the file COPYING.LIB.  If not,
17    see <http://www.gnu.org/licenses/>.
18
19    Author: John McCutchan <john@johnmccutchan.com>
20 */
21
22
23 #ifndef __INOTIFY_SUB_H
24 #define __INOTIFY_SUB_H
25
26 typedef struct
27 {
28         gchar*   dirname;
29         gchar*   filename;
30         gboolean cancelled;
31         gpointer user_data;
32         gboolean pair_moves;
33         gboolean hardlinks;
34 } inotify_sub;
35
36 inotify_sub *_ih_sub_new (const gchar  *dirname,
37                           const gchar  *filename,
38                           gboolean      pair_moves,
39                           gboolean      watch_hardlinks,
40                           gpointer      user_data);
41 void         _ih_sub_free (inotify_sub *sub);
42
43 #endif /* __INOTIFY_SUB_H */