1 | /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ |
---|
2 | /* gnome-vfs-directory.h - Directory handling for the GNOME Virtual |
---|
3 | File System. |
---|
4 | |
---|
5 | Copyright (C) 1999 Free Software Foundation |
---|
6 | |
---|
7 | The Gnome Library is free software; you can redistribute it and/or |
---|
8 | modify it under the terms of the GNU Library General Public License as |
---|
9 | published by the Free Software Foundation; either version 2 of the |
---|
10 | License, or (at your option) any later version. |
---|
11 | |
---|
12 | The Gnome Library is distributed in the hope that it will be useful, |
---|
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
15 | Library General Public License for more details. |
---|
16 | |
---|
17 | You should have received a copy of the GNU Library General Public |
---|
18 | License along with the Gnome Library; see the file COPYING.LIB. If not, |
---|
19 | write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
---|
20 | Boston, MA 02111-1307, USA. |
---|
21 | |
---|
22 | Author: Ettore Perazzoli <ettore@comm2000.it> */ |
---|
23 | |
---|
24 | #ifndef GNOME_VFS_DIRECTORY_H |
---|
25 | #define GNOME_VFS_DIRECTORY_H |
---|
26 | |
---|
27 | |
---|
28 | typedef struct GnomeVFSDirectoryHandle GnomeVFSDirectoryHandle; |
---|
29 | |
---|
30 | |
---|
31 | GnomeVFSResult gnome_vfs_directory_open |
---|
32 | (GnomeVFSDirectoryHandle **handle, |
---|
33 | const gchar *text_uri, |
---|
34 | GnomeVFSFileInfoOptions options, |
---|
35 | const GnomeVFSDirectoryFilter *filter); |
---|
36 | GnomeVFSResult gnome_vfs_directory_open_from_uri |
---|
37 | (GnomeVFSDirectoryHandle **handle, |
---|
38 | GnomeVFSURI *uri, |
---|
39 | GnomeVFSFileInfoOptions options, |
---|
40 | const GnomeVFSDirectoryFilter *filter); |
---|
41 | GnomeVFSResult gnome_vfs_directory_read_next |
---|
42 | (GnomeVFSDirectoryHandle *handle, |
---|
43 | GnomeVFSFileInfo *info); |
---|
44 | GnomeVFSResult gnome_vfs_directory_close |
---|
45 | (GnomeVFSDirectoryHandle *handle); |
---|
46 | |
---|
47 | |
---|
48 | GnomeVFSResult gnome_vfs_directory_visit |
---|
49 | (const gchar *uri, |
---|
50 | GnomeVFSFileInfoOptions info_options, |
---|
51 | const GnomeVFSDirectoryFilter *filter, |
---|
52 | GnomeVFSDirectoryVisitOptions |
---|
53 | visit_options, |
---|
54 | GnomeVFSDirectoryVisitFunc callback, |
---|
55 | gpointer data); |
---|
56 | |
---|
57 | GnomeVFSResult gnome_vfs_directory_visit_uri |
---|
58 | (GnomeVFSURI *uri, |
---|
59 | GnomeVFSFileInfoOptions info_options, |
---|
60 | const GnomeVFSDirectoryFilter *filter, |
---|
61 | GnomeVFSDirectoryVisitOptions |
---|
62 | visit_options, |
---|
63 | GnomeVFSDirectoryVisitFunc callback, |
---|
64 | gpointer data); |
---|
65 | |
---|
66 | GnomeVFSResult gnome_vfs_directory_visit_files |
---|
67 | (const gchar *text_uri, |
---|
68 | GList *file_list, |
---|
69 | GnomeVFSFileInfoOptions info_options, |
---|
70 | const GnomeVFSDirectoryFilter *filter, |
---|
71 | GnomeVFSDirectoryVisitOptions |
---|
72 | visit_options, |
---|
73 | GnomeVFSDirectoryVisitFunc callback, |
---|
74 | gpointer data); |
---|
75 | |
---|
76 | GnomeVFSResult gnome_vfs_directory_visit_files_at_uri |
---|
77 | (GnomeVFSURI *uri, |
---|
78 | GList *file_list, |
---|
79 | GnomeVFSFileInfoOptions info_options, |
---|
80 | const GnomeVFSDirectoryFilter *filter, |
---|
81 | GnomeVFSDirectoryVisitOptions |
---|
82 | visit_options, |
---|
83 | GnomeVFSDirectoryVisitFunc callback, |
---|
84 | gpointer data); |
---|
85 | |
---|
86 | #endif |
---|