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

Files.c File Reference

Linux-specific code for the File Management Wrappers. More...

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
#include "Files.h"

Include dependency graph for Files.c:

Include dependency graph

Go to the source code of this file.

Functions

ANetFile ANetInitFile (void)
 Initializes an ANetFile structure. More...

UInt32 ANetGetSetFilePath (ANetFile *f, ANetMemoryTag path, UInt8 set)
 Gets or sets the file path of an ANetFile. More...

UInt32 ANetGetSetFileAsync (ANetFile *f, UInt8 *async, UInt8 set)
 Gets or sets the asynchronous flag of an ANetFile. More...

UInt8 ANetIsFileBusy (ANetFile *f)
 Returns the value of the "busy"flag of an ANetFile. More...

UInt32 ANetGetFileSize (ANetFile *f, UInt32 *size)
 Gets the size of a file pointed by an ANetFile. More...

UInt32 ANetOpenFile (ANetFile *f)
 Opens a file pointed by an ANetFile. More...

UInt32 ANetCloseFile (ANetFile *f)
 Closes a file pointed by an ANetFile. More...

UInt32 ANetReadFile (ANetFile *f, UInt32 startPos, UInt32 length, ANetMemoryTag buffer, UInt32 *read)
 Reads data from a file pointed bu an ANetFile. More...

UInt32 ANetWriteFile (ANetFile *f, ANetMemoryTag buffer)
UInt32 ANetWriteFileAt (ANetFile *f, ANetMemoryTag buffer, UInt32 pos)
UInt32 ANetDeleteFile (ANetFile *f)
UInt32 ANetCopyFile (ANetFile *source, ANetFile *dest)


Detailed Description

Linux-specific code for the File Management Wrappers.

Author:
Chyrag

Definition in file Files.c.


Generated on Sun Dec 23 15:20:42 2001 for ANet by doxygen 1.2.12 written by Dimitri van Heesch, © 1997-2001

SourceForge
Logo