docs: Small improvements to glib-mkenums man page
[glib.git] / gio / inotify / inotify-sub.h
blobb0844fd990f68ebb47f74781bf33feabcdf6d6ce
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 *filename,
37 gboolean watch_hardlinks,
38 gpointer user_data);
39 void _ih_sub_free (inotify_sub *sub);
41 #endif /* __INOTIFY_SUB_H */