3
* Copyright (c) 2005-2006 Benedikt Meurer <benny@xfce.org>
5
* This library is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU Library General Public
7
* License as published by the Free Software Foundation; either
8
* version 2 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
* Library General Public License for more details.
15
* You should have received a copy of the GNU Library General Public
16
* License along with this library; if not, write to the
17
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18
* Boston, MA 02111-1307, USA.
21
#if !defined(THUNAR_VFS_COMPILATION)
22
#error "Only <thunar-vfs/thunar-vfs.h> can be included directly, this file is not part of the public API."
25
#ifndef __THUNAR_VFS_IO_SCANDIR_H__
26
#define __THUNAR_VFS_IO_SCANDIR_H__
28
#include <thunar-vfs/thunar-vfs-path.h>
29
#include <thunar-vfs/thunar-vfs-types.h>
34
* ThunarVfsIOScandirFlags:
35
* @THUNAR_VFS_IO_SCANDIR_RECURSIVE : scan directories recursively.
36
* @THUNAR_VFS_IO_SCANDIR_FOLLOW_LINKS : follow symbolic links to directories.
38
* Flags for _thnar_vfs_io_scandir().
40
typedef enum /*< flags, skip >*/
42
THUNAR_VFS_IO_SCANDIR_RECURSIVE = (1L << 0),
43
THUNAR_VFS_IO_SCANDIR_FOLLOW_LINKS = (1L << 1),
44
} ThunarVfsIOScandirFlags;
46
GList *_thunar_vfs_io_scandir (ThunarVfsPath *path,
47
volatile gboolean *cancelled,
48
ThunarVfsIOScandirFlags flags,
49
GError **error) G_GNUC_INTERNAL G_GNUC_MALLOC G_GNUC_WARN_UNUSED_RESULT;
53
#endif /* !__THUNAR_VFS_IO_SCANDIR_H__ */