~noskcaj/ubuntu/vivid/thunar/1.6.4

« back to all changes in this revision

Viewing changes to thunar-vfs/thunar-vfs-io-scandir.h

  • Committer: Bazaar Package Importer
  • Author(s): Lionel Le Folgoc
  • Date: 2010-12-04 16:46:20 UTC
  • mto: (2.1.3 experimental) (1.3.1)
  • mto: This revision was merged to the branch mainline in revision 69.
  • Revision ID: james.westby@ubuntu.com-20101204164620-h7p4t2e9z6hfhz6l
Tags: upstream-1.1.4
ImportĀ upstreamĀ versionĀ 1.1.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id$ */
2
 
/*-
3
 
 * Copyright (c) 2005-2006 Benedikt Meurer <benny@xfce.org>
4
 
 *
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.
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
 
 * 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 this library; if not, write to the
17
 
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18
 
 * Boston, MA 02111-1307, USA.
19
 
 */
20
 
 
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."
23
 
#endif
24
 
 
25
 
#ifndef __THUNAR_VFS_IO_SCANDIR_H__
26
 
#define __THUNAR_VFS_IO_SCANDIR_H__
27
 
 
28
 
#include <thunar-vfs/thunar-vfs-path.h>
29
 
#include <thunar-vfs/thunar-vfs-types.h>
30
 
 
31
 
G_BEGIN_DECLS;
32
 
 
33
 
/**
34
 
 * ThunarVfsIOScandirFlags:
35
 
 * @THUNAR_VFS_IO_SCANDIR_RECURSIVE    : scan directories recursively.
36
 
 * @THUNAR_VFS_IO_SCANDIR_FOLLOW_LINKS : follow symbolic links to directories.
37
 
 *
38
 
 * Flags for _thnar_vfs_io_scandir().
39
 
 **/
40
 
typedef enum /*< flags, skip >*/
41
 
{
42
 
  THUNAR_VFS_IO_SCANDIR_RECURSIVE    = (1L << 0),
43
 
  THUNAR_VFS_IO_SCANDIR_FOLLOW_LINKS = (1L << 1),
44
 
} ThunarVfsIOScandirFlags;
45
 
 
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;
50
 
 
51
 
G_END_DECLS;
52
 
 
53
 
#endif /* !__THUNAR_VFS_IO_SCANDIR_H__ */