FTS Struct Reference

#include <fts.h>


Data Fields

_ftsentfts_cur
_ftsentfts_child
_ftsent ** fts_array
dev_t fts_dev
char * fts_path
int fts_rfd
int fts_pathlen
int fts_nitems
int(* fts_compar )(const void *, const void *)
DIR *(* fts_opendir )(const char *path)
dirent *(* fts_readdir )(DIR *dir)
int(* fts_closedir )(DIR *dir)
int(* fts_stat )(const char *path, struct stat *st)
int(* fts_lstat )(const char *path, struct stat *st)
int fts_options


Detailed Description

Definition at line 68 of file fts.h.


Field Documentation

struct _ftsent* FTS::fts_cur [read]

current node

Definition at line 70 of file fts.h.

Referenced by fts_build(), Fts_children(), Fts_close(), and Fts_read().

struct _ftsent* FTS::fts_child [read]

linked list of children

Definition at line 72 of file fts.h.

Referenced by Fts_children(), Fts_close(), fts_padjust(), and Fts_read().

struct _ftsent** FTS::fts_array [read]

sort array

Definition at line 74 of file fts.h.

Referenced by Fts_close(), and fts_sort().

dev_t FTS::fts_dev

starting device #

Definition at line 75 of file fts.h.

Referenced by fts_load(), and Fts_read().

char* FTS::fts_path

path for this descent

Definition at line 77 of file fts.h.

Referenced by fts_alloc(), fts_build(), Fts_close(), fts_load(), fts_padjust(), fts_palloc(), and Fts_read().

int FTS::fts_rfd

fd for root

Definition at line 78 of file fts.h.

Referenced by Fts_close(), and Fts_read().

int FTS::fts_pathlen

sizeof(path)

Definition at line 79 of file fts.h.

Referenced by fts_build(), and fts_palloc().

int FTS::fts_nitems

elements in the sort array

Definition at line 80 of file fts.h.

Referenced by fts_sort().

int(* FTS::fts_compar)(const void *, const void *)

compare fn

Referenced by fts_sort().

DIR*(* FTS::fts_opendir)(const char *path)

struct dirent*(* FTS::fts_readdir)(DIR *dir) [read]

Referenced by fts_build().

int(* FTS::fts_closedir)(DIR *dir)

Referenced by fts_build().

int(* FTS::fts_stat)(const char *path,struct stat *st)

Referenced by fts_stat().

int(* FTS::fts_lstat)(const char *path,struct stat *st)

Referenced by fts_stat().

int FTS::fts_options

fts_open options, global flags

Definition at line 113 of file fts.h.


The documentation for this struct was generated from the following file:
Generated on Fri Oct 12 08:44:57 2007 for rpm by  doxygen 1.5.2