summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/dietlibc/include/ftw.h
diff options
context:
space:
mode:
authorMystery Man <unknown@mandriva.org>2004-02-20 00:03:26 +0000
committerMystery Man <unknown@mandriva.org>2004-02-20 00:03:26 +0000
commit959a1722faec6b30510c788c49dcb4b7cb96d1e0 (patch)
tree8d25ea2b09098078292e7dcda489471a30b4e81a /mdk-stage1/dietlibc/include/ftw.h
parent0413d7133026a6cddf226027ebdfee6fa68890f7 (diff)
downloaddrakx-backup-do-not-use-959a1722faec6b30510c788c49dcb4b7cb96d1e0.tar
drakx-backup-do-not-use-959a1722faec6b30510c788c49dcb4b7cb96d1e0.tar.gz
drakx-backup-do-not-use-959a1722faec6b30510c788c49dcb4b7cb96d1e0.tar.bz2
drakx-backup-do-not-use-959a1722faec6b30510c788c49dcb4b7cb96d1e0.tar.xz
drakx-backup-do-not-use-959a1722faec6b30510c788c49dcb4b7cb96d1e0.zip
This commit was manufactured by cvs2svn to create tag 'V10_0_21mdk'.V10_0_21mdk
Diffstat (limited to 'mdk-stage1/dietlibc/include/ftw.h')
-rw-r--r--mdk-stage1/dietlibc/include/ftw.h51
1 files changed, 0 insertions, 51 deletions
diff --git a/mdk-stage1/dietlibc/include/ftw.h b/mdk-stage1/dietlibc/include/ftw.h
deleted file mode 100644
index e0450518e..000000000
--- a/mdk-stage1/dietlibc/include/ftw.h
+++ /dev/null
@@ -1,51 +0,0 @@
-#ifndef _FTW_H
-#define _FTW_H
-
-#include <sys/cdefs.h>
-#include <sys/stat.h>
-
-struct FTW
- {
- int base;
- int level;
- };
-
-int ftw (const char *dir, int (*fn)(const char *file, const struct stat *sb, int flag), int depth) __THROW;
-int nftw (const char *dir, int (*fn)(const char *file, const struct stat *sb, int flag, struct FTW *s), int depth, int flags) __THROW;
-
-enum
-{
- FTW_F, /* Regular file. */
-#define FTW_F FTW_F
- FTW_D, /* Directory. */
-#define FTW_D FTW_D
- FTW_DNR, /* Unreadable directory. */
-#define FTW_DNR FTW_DNR
- FTW_NS, /* Unstatable file. */
-#define FTW_NS FTW_NS
- FTW_SL, /* Symbolic link. */
-# define FTW_SL FTW_SL
-/* These flags are only passed from the `nftw' function. */
- FTW_DP, /* Directory, all subdirs have been visited. */
-# define FTW_DP FTW_DP
- FTW_SLN /* Symbolic link naming non-existing file. */
-# define FTW_SLN FTW_SLN
-};
-
-typedef int (*__ftw_func_t) (const char *__filename,
- const struct stat *__status, int __flag) __THROW;
-
-typedef int (*__nftw_func_t) (const char *__filename,
- const struct stat *__status, int __flag,
- struct FTW *__info) __THROW;
-
-#ifndef __NO_STAT64
-typedef int (*__ftw64_func_t) (const char *__filename,
- const struct stat64 *__status, int __flag) __THROW;
-
-typedef int (*__nftw64_func_t) (const char *__filename,
- const struct stat64 *__status,
- int __flag, struct FTW *__info) __THROW;
-#endif
-
-#endif