Merge branch 'g-clear-pointer-no-side-effects' into 'master'
[glib.git] / gio / inotify / inotify-sub.h
blobfcde4f4cd88dc8a02a59b109ad46b2401d1de0f5
1 /* inotify-sub.h - GVFS Directory Monitor using inotify
3 Copyright (C) 2006 John McCutchan
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
10 This 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 Lesser General Public License for more details.
15 You should have received a copy of the GNU Lesser General Public License
16 along with this library; if not, see <http://www.gnu.org/licenses/>.
18 Author: John McCutchan <john@johnmccutchan.com>
22 #ifndef __INOTIFY_SUB_H
23 #define __INOTIFY_SUB_H
25 typedef struct
27 gchar* dirname;
28 gchar* filename;
29 gboolean cancelled;
30 gpointer user_data;
31 gboolean pair_moves;
32 gboolean hardlinks;
33 } inotify_sub;
35 inotify_sub *_ih_sub_new (const gchar *dirname,
36 const gchar *basename,
37 const gchar *filename,
38 gpointer user_data);
39 void _ih_sub_free (inotify_sub *sub);
41 #endif /* __INOTIFY_SUB_H */