FTS Struct Reference

#include <rpmio/fts.h>

Collaboration diagram for FTS:

Collaboration graph
[legend]

Data Fields

struct _ftsentfts_cur
struct _ftsentfts_child
struct _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)
struct 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 49 of file fts.h.


Field Documentation

struct _ftsent** FTS::fts_array [read]

sort array

Definition at line 55 of file fts.h.

Referenced by Fts_close(), and fts_sort().

struct _ftsent* FTS::fts_child [read]

linked list of children

Definition at line 53 of file fts.h.

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

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

Referenced by fts_build(), and Fts_open().

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

compare fn

Referenced by fts_build(), Fts_open(), and fts_sort().

struct _ftsent* FTS::fts_cur [read]

current node

Definition at line 51 of file fts.h.

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

dev_t FTS::fts_dev

starting device #

Definition at line 56 of file fts.h.

Referenced by fts_load(), and Fts_read().

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

Referenced by Fts_open(), and fts_stat().

elements in the sort array

Definition at line 61 of file fts.h.

Referenced by fts_sort().

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

Referenced by Fts_open().

fts_open options, global flags

Definition at line 94 of file fts.h.

Referenced by Fts_open().

path for this descent

Definition at line 58 of file fts.h.

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

sizeof(path)

Definition at line 60 of file fts.h.

Referenced by fts_build(), and fts_palloc().

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

Referenced by fts_build(), and Fts_open().

fd for root

Definition at line 59 of file fts.h.

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

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

Referenced by Fts_open(), and fts_stat().


The documentation for this struct was generated from the following file:

Generated on Mon Sep 28 13:42:50 2009 for rpm by  doxygen 1.5.9