Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

_CxFsNode Struct Reference

A representation of a file or directory on the filesystem or in an archive. More...

#include <libcomprex/fsnode.h>


Data Fields

CxArchivearchive
 The archive that owns this node, if any.

CxDirectoryparentDir
 The parent directory.

char * name
 The base filename or directory name.

CxFsNodeType type
 The type of node.

char * path
 The full path to the node.

mode_t mode
 The node's mode.

uid_t uid
 The node's owner user ID.

gid_t gid
 The node's owner group ID.

time_t date
 The time in seconds since the epoch.

char isLocal
 Non-zero if the node is stored locally.

union {
   CxFileData *   file
   CxDirectoryData *   dir
u
 File or directory-specific information.

void * moduleData
 Module-specific data.

unsigned int refCount
 The reference count.

CxFsNodeprev
 The previous node in the list.

CxFsNodenext
 The next node in the list.


Detailed Description

A representation of a file or directory on the filesystem or in an archive.


Field Documentation

CxArchive* _CxFsNode::archive
 

The archive that owns this node, if any.

time_t _CxFsNode::date
 

The time in seconds since the epoch.

CxDirectoryData* _CxFsNode::dir
 

Directory-specific information.

CxFileData* _CxFsNode::file
 

File-specific information.

gid_t _CxFsNode::gid
 

The node's owner group ID.

char _CxFsNode::isLocal
 

Non-zero if the node is stored locally.

mode_t _CxFsNode::mode
 

The node's mode.

void* _CxFsNode::moduleData
 

Module-specific data.

char* _CxFsNode::name
 

The base filename or directory name.

CxFsNode* _CxFsNode::next
 

The next node in the list.

CxDirectory* _CxFsNode::parentDir
 

The parent directory.

char* _CxFsNode::path
 

The full path to the node.

This may include a non-physical path (FTP site, archive, etc.) in the path.

CxFsNode* _CxFsNode::prev
 

The previous node in the list.

unsigned int _CxFsNode::refCount
 

The reference count.

CxFsNodeType _CxFsNode::type
 

The type of node.

union { ... } _CxFsNode::u
 

File or directory-specific information.

uid_t _CxFsNode::uid
 

The node's owner user ID.


The documentation for this struct was generated from the following file:
Generated on Wed Mar 5 20:47:44 2003 for libcomprex by doxygen1.2.18-20021020