Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
adf_bitm.h
Package: adfview_src.zip [view]
Upload User: hy_wanghao
Upload Date: 2007-01-08
Package Size: 279k
Code Size: 1k
Category:
Shell api
Development Platform:
Visual C++
- #ifndef ADF_BITM_H
- #define ADF_BITM_H
- /*
- * ADF Library. (C) 1997-1999 Laurent Clevy
- *
- * adf_bitm.h
- *
- * bitmap code
- */
- #include"adf_str.h"
- #include"prefix.h"
- RETCODE adfReadBitmapBlock(struct Volume*, SECTNUM nSect, struct bBitmapBlock*);
- RETCODE adfWriteBitmapBlock(struct Volume*, SECTNUM nSect, struct bBitmapBlock*);
- RETCODE adfReadBitmapExtBlock(struct Volume*, SECTNUM nSect, struct bBitmapExtBlock*);
- RETCODE adfWriteBitmapExtBlock(struct Volume*, SECTNUM, struct bBitmapExtBlock* );
- SECTNUM adfGet1FreeBlock(struct Volume *vol);
- RETCODE adfUpdateBitmap(struct Volume *vol);
- PREFIX long adfCountFreeBlocks(struct Volume* vol);
- RETCODE adfReadBitmap(struct Volume* , SECTNUM nBlock, struct bRootBlock* root);
- BOOL adfIsBlockFree(struct Volume* vol, SECTNUM nSect);
- void adfSetBlockFree(struct Volume* vol, SECTNUM nSect);
- void adfSetBlockUsed(struct Volume* vol, SECTNUM nSect);
- BOOL adfGetFreeBlocks(struct Volume* vol, int nbSect, SECTNUM* sectList);
- RETCODE adfCreateBitmap(struct Volume *vol);
- RETCODE adfWriteNewBitmap(struct Volume *vol);
- void adfFreeBitmap(struct Volume *vol);
- #endif /* ADF_BITM_H */
- /*#######################################################################################*/