home *** CD-ROM | disk | FTP | other *** search
- #ifndef free_H
- #define free_H
-
- /* C header file for Free
- * written by DefMod (Jun 20 1995) on Thu Jun 22 12:12:42 1995
- * Jonathan Coxhead, Acorn Computers Ltd
- */
-
- #ifndef types_H
- #include "types.h"
- #endif
-
- #ifndef os_H
- #include "os.h"
- #endif
-
- #ifndef fileswitch_H
- #include "fileswitch.h"
- #endif
-
- /**********************************
- * SWI names and SWI reason codes *
- **********************************/
- #undef Free_Register
- #define Free_Register 0x444C0
- #undef XFree_Register
- #define XFree_Register 0x644C0
- #undef Free_DeRegister
- #define Free_DeRegister 0x444C1
- #undef XFree_DeRegister
- #define XFree_DeRegister 0x644C1
-
- /*************************
- * Function declarations *
- *************************/
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
- /* ------------------------------------------------------------------------
- * Function: free_register()
- *
- * Description: Provides an interactive free space display for a filing
- * system
- *
- * Input: fs_no - value of R0 on entry
- * fn - value of R1 on entry
- * workspace - value of R2 on entry
- *
- * Other notes: Calls SWI 0x444C0.
- */
-
- extern os_error *xfree_register (fileswitch_fs_no fs_no,
- void const *fn,
- void *workspace);
- __swi (0x444C0) void free_register (fileswitch_fs_no fs_no,
- void const *fn,
- void *workspace);
-
- /* ------------------------------------------------------------------------
- * Function: free_de_register()
- *
- * Description: Removes the filing system from the list of filing systems
- * known by the Free module
- *
- * Input: fs_no - value of R0 on entry
- * fn - value of R1 on entry
- * workspace - value of R2 on entry
- *
- * Other notes: Calls SWI 0x444C1.
- */
-
- extern os_error *xfree_de_register (fileswitch_fs_no fs_no,
- void const *fn,
- void *workspace);
- __swi (0x444C1) void free_de_register (fileswitch_fs_no fs_no,
- void const *fn,
- void *workspace);
-
- #ifdef __cplusplus
- }
- #endif
-
- #endif
-