ftp://ftp.redhat.com/pub/redhat/linux/rawhide/SRPMS/SRPMS/gnome-vfs2-2.3.8-1.src.rpm
[gnome-vfs-httpcaptive.git] / libgnomevfs / gnome-vfs-monitor-private.h
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
2 /* gnome-vfs-monitor.h - File Monitoring for the GNOME Virtual File System.
3
4    Copyright (C) 2001 Ian McKellar
5
6    The Gnome Library is free software; you can redistribute it and/or
7    modify it under the terms of the GNU Library General Public License as
8    published by the Free Software Foundation; either version 2 of the
9    License, or (at your option) any later version.
10
11    The Gnome Library is distributed in the hope that it will be useful,
12    but WITHOUT ANY WARRANTY; without even the implied warranty of
13    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14    Library General Public License for more details.
15
16    You should have received a copy of the GNU Library General Public
17    License along with the Gnome Library; see the file COPYING.LIB.  If not,
18    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19    Boston, MA 02111-1307, USA.
20
21    Author: Ian McKellar <yakk@yakk.net>
22 */
23
24 #ifndef GNOME_VFS_MONITOR_PRIVATE_H
25 #define GNOME_VFS_MONITOR_PRIVATE_H
26
27 #include <glib.h>
28 #include <libgnomevfs/gnome-vfs-monitor.h>
29 #include <libgnomevfs/gnome-vfs-method.h>
30 #include <libgnomevfs/gnome-vfs-uri.h>
31
32 GnomeVFSResult _gnome_vfs_monitor_do_add (GnomeVFSMethod *method,
33                                          GnomeVFSMonitorHandle **handle,
34                                          GnomeVFSURI *uri,
35                                          GnomeVFSMonitorType monitor_type,
36                                          GnomeVFSMonitorCallback callback,
37                                          gpointer user_data);
38
39 GnomeVFSResult _gnome_vfs_monitor_do_cancel (GnomeVFSMonitorHandle *handle);
40
41 /* this is for modules - should it be in a separate header file? */
42 void gnome_vfs_monitor_callback (GnomeVFSMethodHandle *method_handle,
43                                  GnomeVFSURI *info_uri,
44                                  GnomeVFSMonitorEventType event_type);
45 #endif /* GNOME_VFS_MONITOR_PRIVATE_H */