Blame include/walk_tree.h
|
rpm-build |
0a0c83 |
/*
|
|
rpm-build |
0a0c83 |
File: walk_tree.h
|
|
rpm-build |
0a0c83 |
|
|
rpm-build |
0a0c83 |
Copyright (C) 2007 Andreas Gruenbacher <a.gruenbacher@computer.org>
|
|
rpm-build |
0a0c83 |
|
|
rpm-build |
0a0c83 |
This program is free software; you can redistribute it and/or modify it under
|
|
rpm-build |
0a0c83 |
the terms of the GNU Lesser General Public License as published by the
|
|
rpm-build |
0a0c83 |
Free Software Foundation; either version 2.1 of the License, or (at
|
|
rpm-build |
0a0c83 |
your option) any later version.
|
|
rpm-build |
0a0c83 |
|
|
rpm-build |
0a0c83 |
This program is distributed in the hope that it will be useful, but WITHOUT
|
|
rpm-build |
0a0c83 |
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
rpm-build |
0a0c83 |
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
|
|
rpm-build |
0a0c83 |
License for more details.
|
|
rpm-build |
0a0c83 |
|
|
rpm-build |
0a0c83 |
You should have received a copy of the GNU Lesser General Public
|
|
rpm-build |
0a0c83 |
License along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
rpm-build |
0a0c83 |
*/
|
|
rpm-build |
0a0c83 |
|
|
rpm-build |
0a0c83 |
#ifndef __WALK_TREE_H
|
|
rpm-build |
0a0c83 |
#define __WALK_TREE_H
|
|
rpm-build |
0a0c83 |
|
|
rpm-build |
0a0c83 |
#define WALK_TREE_RECURSIVE 0x01
|
|
rpm-build |
0a0c83 |
#define WALK_TREE_PHYSICAL 0x02
|
|
rpm-build |
0a0c83 |
#define WALK_TREE_LOGICAL 0x04
|
|
rpm-build |
0a0c83 |
#define WALK_TREE_DEREFERENCE 0x08
|
|
rpm-build |
0a0c83 |
#define WALK_TREE_DEREFERENCE_TOPLEVEL 0x10
|
|
rpm-build |
0a0c83 |
|
|
rpm-build |
0a0c83 |
#define WALK_TREE_TOPLEVEL 0x100
|
|
rpm-build |
0a0c83 |
#define WALK_TREE_SYMLINK 0x200
|
|
rpm-build |
0a0c83 |
#define WALK_TREE_FAILED 0x400
|
|
rpm-build |
0a0c83 |
|
|
rpm-build |
0a0c83 |
struct stat;
|
|
rpm-build |
0a0c83 |
|
|
rpm-build |
0a0c83 |
extern int walk_tree(const char *path, int walk_flags, unsigned int num,
|
|
rpm-build |
0a0c83 |
int (*func)(const char *, const struct stat *, int,
|
|
rpm-build |
0a0c83 |
void *), void *arg);
|
|
rpm-build |
0a0c83 |
|
|
rpm-build |
0a0c83 |
#endif
|