Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

dutree.h File Reference

#include "commandbutton.h"
#include <dirent.h>

Include dependency graph for dutree.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Compounds

struct  String
 String class from orignal du. More...

class  DirTree
 This class contains most of the functionality taken from du. More...

class  TreeView
 Calculates the directory entry sizes and displays the rectangles. More...

class  MainWindow
 The main program window. Contains all widgets. More...

struct  entry
struct  htab

Defines

#define dirent   direct
#define DOT_OR_DOTDOT(Basename)
#define xstrdup   strdup
#define xrealloc   realloc
#define ST_BLKSIZE(statbuf)   DEV_BSIZE
#define ST_NBLOCKS(statbuf)
#define ST_NBLOCKSIZE   512
#define O_DIRECTORY   0
#define CLOSEDIR(d)   closedir (d)
#define IN_CTYPE_DOMAIN(c)   1
#define ISUPPER(c)   (IN_CTYPE_DOMAIN (c) && isupper (c))
#define INITIAL_HASH_MODULE   100
#define INITIAL_ENTRY_TAB_SIZE   70
#define INITIAL_PATH_SIZE   100

Typedefs

typedef String String


Define Documentation

#define dirent   direct
 

#define DOT_OR_DOTDOT Basename   
 

Value:

(Basename[0] == '.' && (Basename[1] == '\0' \
           || (Basename[1] == '.' && Basename[2] == '\0')))

#define xstrdup   strdup
 

#define xrealloc   realloc
 

#define ST_BLKSIZE statbuf       DEV_BSIZE
 

#define ST_NBLOCKS statbuf   
 

Value:

(S_ISREG ((statbuf).st_mode) \
   || S_ISDIR ((statbuf).st_mode) \
   ? (statbuf).st_size / ST_NBLOCKSIZE + ((statbuf).st_size % ST_NBLOCKSIZE != 0) : 0)

#define ST_NBLOCKSIZE   512
 

#define O_DIRECTORY   0
 

#define CLOSEDIR      closedir (d)
 

#define IN_CTYPE_DOMAIN      1
 

#define ISUPPER      (IN_CTYPE_DOMAIN (c) && isupper (c))
 

#define INITIAL_HASH_MODULE   100
 

#define INITIAL_ENTRY_TAB_SIZE   70
 

#define INITIAL_PATH_SIZE   100
 


Typedef Documentation

typedef struct String String
 


Generated on Mon Apr 7 19:42:25 2003 for DuTree by doxygen1.2.18