XgPhat32


Defines

#define PHAT32CMASK   0x0FFFFFFF

Functions

int Phat32GetClusterLink (NUTDEVICE *dev, u_long clust, u_long *link)
 Get link value of a specified cluster.
int Phat32ReleaseChain (NUTDEVICE *dev, u_long first)
 Release a cluster chain.
int Phat32SetClusterLink (NUTDEVICE *dev, u_long clust, u_long link)
 Set link value of a specified cluster.


Function Documentation

int Phat32GetClusterLink ( NUTDEVICE dev,
u_long  clust,
u_long link 
)

Get link value of a specified cluster.

Parameters:
dev Specifies the file system device.
clust Get the link of this cluster.
link Pointer to a variable which will receive the link.
Returns:
0 on success or -1 on failure.

int Phat32ReleaseChain ( NUTDEVICE dev,
u_long  first 
)

Release a cluster chain.

Parameters:
dev Specifies the file system device.
first First cluster of the chain to release.
Returns:
0 on success or -1 on failure.

int Phat32SetClusterLink ( NUTDEVICE dev,
u_long  clust,
u_long  link 
)

Set link value of a specified cluster.

Parameters:
dev Specifies the file system device.
clust This cluster will be linked.
link Link to this cluster.
Returns:
0 on success or -1 on failure.


Generated on Tue Jan 23 21:12:31 2007 for BTnut System Software by doxygen 1.4.7