Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

vfsview.cc File Reference

#include <errno.h>
#include <string.h>
#include <stdlib.h>
#include "htstring.h"
#include "snprintf.h"
#include "vfsview.h"

Go to the source code of this file.

Defines

#define VFSV_FORMAT_NAME   0
#define VFSV_FORMAT_SIZE   1
#define VFSV_FORMAT_BSIZE   2
#define VFSV_FORMAT_TYPE   3
#define VFSV_FORMAT_MTIME   4
#define VFSV_FORMAT_ATIME   5
#define VFSV_FORMAT_CTIME   6
#define VFSV_FORMAT_PERM   7
#define VFSV_FORMAT_MODE   8
#define VFSV_FORMAT_NLINK   9
#define VFSV_FORMAT_NGID   10
#define VFSV_FORMAT_NUID   11
#define VFSV_FORMAT_OWNER   12
#define VFSV_FORMAT_GROUP   13
#define VFSV_FORMAT_INODE   14
#define VFSV_FORMAT_SPACE   15
#define VFSV_FORMAT_MARK   16
#define VFSV_FORMAT_SEPARATOR   17
#define VFSV_FORMAT_DESC   18
#define VFSV_FORMAT_RMTIME   19
#define VFSV_FORMAT_RATIME   20
#define VFSV_FORMAT_RCTIME   21
#define MAKE_DISPLAY_FORMAT(type)   MAKE_DISPLAY_FORMAT_MIN_WIDTH(type, 0)
#define MAKE_DISPLAY_FORMAT_MIN_WIDTH(type, width)   (((width) << 16) | (type))
#define MAKE_DISPLAY_FORMAT_FIXED_WIDTH(type, width)   ((((width) | 0x8000) << 16) | (type))
#define GET_DISPLAY_FORMAT_TYPE(dfmt)   ((dfmt) & 0xffff)
#define GET_DISPLAY_FORMAT_SIZE(dfmt)   (((dfmt)>>16) & 0x7fff)
#define GET_DISPLAY_FORMAT_IS_FIXED_SIZE(dfmt)   ((dfmt) & 0x80000000)
#define GET_DISPLAY_FORMAT_IS_MIN_SIZE(dfmt)   (!GET_DISPLAY_FORMAT_IS_FIXED_SIZE(dfmt))
#define VFSV_FORMAT_MAX_LENGTH   256


Define Documentation

#define GET_DISPLAY_FORMAT_IS_FIXED_SIZE dfmt   )     ((dfmt) & 0x80000000)
 

Definition at line 102 of file vfsview.cc.

#define GET_DISPLAY_FORMAT_IS_MIN_SIZE dfmt   )     (!GET_DISPLAY_FORMAT_IS_FIXED_SIZE(dfmt))
 

Definition at line 103 of file vfsview.cc.

#define GET_DISPLAY_FORMAT_SIZE dfmt   )     (((dfmt)>>16) & 0x7fff)
 

Definition at line 101 of file vfsview.cc.

#define GET_DISPLAY_FORMAT_TYPE dfmt   )     ((dfmt) & 0xffff)
 

Definition at line 100 of file vfsview.cc.

Referenced by VfsListbox::renderEntry().

#define MAKE_DISPLAY_FORMAT type   )     MAKE_DISPLAY_FORMAT_MIN_WIDTH(type, 0)
 

Definition at line 96 of file vfsview.cc.

Referenced by VfsListbox::setDisplayFormat().

#define MAKE_DISPLAY_FORMAT_FIXED_WIDTH type,
width   )     ((((width) | 0x8000) << 16) | (type))
 

Definition at line 98 of file vfsview.cc.

Referenced by VfsListbox::setDisplayFormat().

#define MAKE_DISPLAY_FORMAT_MIN_WIDTH type,
width   )     (((width) << 16) | (type))
 

Definition at line 97 of file vfsview.cc.

Referenced by VfsListbox::setDisplayFormat().

#define VFSV_FORMAT_ATIME   5
 

Definition at line 64 of file vfsview.cc.

Referenced by VfsListbox::renderEntry().

#define VFSV_FORMAT_BSIZE   2
 

Definition at line 61 of file vfsview.cc.

Referenced by VfsListbox::renderEntry().

#define VFSV_FORMAT_CTIME   6
 

Definition at line 65 of file vfsview.cc.

Referenced by VfsListbox::renderEntry().

#define VFSV_FORMAT_DESC   18
 

Definition at line 77 of file vfsview.cc.

Referenced by VfsListbox::renderEntry().

#define VFSV_FORMAT_GROUP   13
 

Definition at line 72 of file vfsview.cc.

Referenced by VfsListbox::renderEntry().

#define VFSV_FORMAT_INODE   14
 

Definition at line 73 of file vfsview.cc.

Referenced by VfsListbox::renderEntry().

#define VFSV_FORMAT_MARK   16
 

Definition at line 75 of file vfsview.cc.

Referenced by VfsListbox::renderEntry().

#define VFSV_FORMAT_MAX_LENGTH   256
 

Referenced by VfsListbox::reread().

#define VFSV_FORMAT_MODE   8
 

Definition at line 67 of file vfsview.cc.

Referenced by VfsListbox::renderEntry().

#define VFSV_FORMAT_MTIME   4
 

Definition at line 63 of file vfsview.cc.

Referenced by VfsListbox::renderEntry().

#define VFSV_FORMAT_NAME   0
 

Definition at line 59 of file vfsview.cc.

Referenced by VfsListbox::renderEntry(), and VfsListbox::setDisplayFormat().

#define VFSV_FORMAT_NGID   10
 

Definition at line 69 of file vfsview.cc.

Referenced by VfsListbox::renderEntry().

#define VFSV_FORMAT_NLINK   9
 

Definition at line 68 of file vfsview.cc.

Referenced by VfsListbox::renderEntry().

#define VFSV_FORMAT_NUID   11
 

Definition at line 70 of file vfsview.cc.

Referenced by VfsListbox::renderEntry().

#define VFSV_FORMAT_OWNER   12
 

Definition at line 71 of file vfsview.cc.

Referenced by VfsListbox::renderEntry().

#define VFSV_FORMAT_PERM   7
 

Definition at line 66 of file vfsview.cc.

Referenced by VfsListbox::renderEntry().

#define VFSV_FORMAT_RATIME   20
 

Definition at line 79 of file vfsview.cc.

Referenced by VfsListbox::renderEntry().

#define VFSV_FORMAT_RCTIME   21
 

Definition at line 80 of file vfsview.cc.

Referenced by VfsListbox::renderEntry().

#define VFSV_FORMAT_RMTIME   19
 

Definition at line 78 of file vfsview.cc.

Referenced by VfsListbox::renderEntry().

#define VFSV_FORMAT_SEPARATOR   17
 

Definition at line 76 of file vfsview.cc.

Referenced by VfsListbox::setDisplayFormat().

#define VFSV_FORMAT_SIZE   1
 

Definition at line 60 of file vfsview.cc.

Referenced by VfsListbox::renderEntry().

#define VFSV_FORMAT_SPACE   15
 

Definition at line 74 of file vfsview.cc.

Referenced by VfsListbox::renderEntry().

#define VFSV_FORMAT_TYPE   3
 

Definition at line 62 of file vfsview.cc.

Referenced by VfsListbox::renderEntry().


Generated on Fri May 7 21:15:52 2004 by doxygen 1.3.5