• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* inotify-sub.h - GVFS Directory Monitor using inotify
2 
3    Copyright (C) 2006 John McCutchan
4 
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.
9 
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.
14 
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/>.
17 
18    Author: John McCutchan <john@johnmccutchan.com>
19 */
20 
21 
22 #ifndef __INOTIFY_SUB_H
23 #define __INOTIFY_SUB_H
24 
25 typedef struct
26 {
27 	gchar*   dirname;
28 	gchar*   filename;
29 	gboolean cancelled;
30 	gpointer user_data;
31 	gboolean pair_moves;
32 	gboolean hardlinks;
33 } inotify_sub;
34 
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);
40 
41 #endif /* __INOTIFY_SUB_H */
42