home *** CD-ROM | disk | FTP | other *** search
- /* For automatic window positioning */
- #define AUTO_POSITION TRUE
- #define DONT_POSITION FALSE
-
- /* A better version of HLock -- less likely to cause heap fragmentation */
- void HLockHigh( Handle h );
-
- /* "Safer" versions of the Mac's standard HLock and HUnlock calls */
- void SafeHLock( Handle h, Boolean *saveLock );
- void SafeHUnlock( Handle h, Boolean saveLock );
-
- /* Prototypes for C versions of HFS file handling functions */
- OSErr hcreate(char *fileName,short vRefNum,long dirID,OSType creator,OSType fileType);
- OSErr hopen(char *fileName,short vRefNum,long dirID,char permission,short *refNum);
- OSErr hrename(char *oldName,short vRefNum,long dirID,char *newName);
- OSErr hdelete(char *fileName,short vRefNum,long dirID);
- OSErr hgetfinfo(char *fileName,short vRefNum,long dirID,FInfo *fndrInfo);
- OSErr hsetfinfo(char *fileName,short vRefNum,long dirID,FInfo *fndrInfo);
- OSErr getwdinfo(short theWDRefNum,short *vRefNum,long *dirID);
- OSErr fsmakefsspec(char *fileName,short vRefNum,long dirID,FSSpec *spec);
- void SFReplyToFSSpec(SFReply theReply,FSSpec *theSpec);
-