Main Page   Modules   Alphabetical List   Data Structures   File List   Data Fields   Globals  

ANetFile Struct Reference

A cross-platform file identifier. More...

#include <FilesSpecific.h>


Data Fields

boolean busy
 busy flag. More...

boolean open
 open flag. More...

boolean async
 async flag. More...

unsigned char * path
 path to the file. More...

int fd
 the file descriptor. More...


Detailed Description

A cross-platform file identifier.

This is an "opaque" type that represents a file. It can be changed only through the functions described by this document. The data contained in the type contains all necessary information about the file and its state. If the file is closed, you can safely save to any long-term medium (hard disk, another computer...) the data contained in ANetFile and re-use the data later, even after a reboot. You can get the size of the ANetFile data structure with the sizeof operator:

sizeof(ANetFile)

Definition at line 36 of file FilesSpecific.h.


Field Documentation

boolean ANetFile::async
 

async flag.

Definition at line 39 of file FilesSpecific.h.

Referenced by ANetGetSetFileAsync(), ANetInitFile(), and ANetOpenFile().

boolean ANetFile::busy
 

busy flag.

Definition at line 37 of file FilesSpecific.h.

Referenced by ANetCloseFile(), ANetGetFileSize(), ANetGetSetFileAsync(), ANetGetSetFilePath(), ANetInitFile(), ANetIsFileBusy(), and ANetOpenFile().

int ANetFile::fd
 

the file descriptor.

Definition at line 41 of file FilesSpecific.h.

Referenced by ANetCloseFile(), ANetGetSetFileAsync(), and ANetOpenFile().

boolean ANetFile::open
 

open flag.

Definition at line 38 of file FilesSpecific.h.

Referenced by ANetGetSetFilePath(), ANetInitFile(), and ANetOpenFile().

unsigned char* ANetFile::path
 

path to the file.

Definition at line 40 of file FilesSpecific.h.

Referenced by ANetGetFileSize(), ANetGetSetFileAsync(), ANetGetSetFilePath(), ANetInitFile(), and ANetOpenFile().


The documentation for this struct was generated from the following file:
Generated on Sun Dec 23 15:20:56 2001 for ANet by doxygen 1.2.12 written by Dimitri van Heesch, © 1997-2001

SourceForge
Logo