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 write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 18 Boston, MA 02111-1307, USA. 19 20 Author: John McCutchan <john (at) johnmccutchan.com> 21 */ 22 23 24 #ifndef __INOTIFY_SUB_H 25 #define __INOTIFY_SUB_H 26 27 typedef struct 28 { 29 gchar* dirname; 30 gchar* filename; 31 gboolean cancelled; 32 gpointer user_data; 33 } inotify_sub; 34 35 inotify_sub* _ih_sub_new (const gchar* dirname, const gchar* filename, gpointer user_data); 36 void _ih_sub_free (inotify_sub* sub); 37 38 #endif /* __INOTIFY_SUB_H */ 39