home *** CD-ROM | disk | FTP | other *** search
/ Gold Fish 2 / goldfish_vol2_cd1.bin / gnu / os-include / resources / filesysres.h < prev    next >
C/C++ Source or Header  |  1993-10-15  |  2KB  |  53 lines

  1. #ifndef    RESOURCES_FILESYSRES_H
  2. #define    RESOURCES_FILESYSRES_H
  3. /*
  4. **    $VER: filesysres.h 36.4 (3.5.90)
  5. **    Includes Release 40.15
  6. **
  7. **    FileSystem.resource description
  8. **
  9. **    (C) Copyright 1988-1993 Commodore-Amiga, Inc.
  10. **        All Rights Reserved
  11. */
  12.  
  13. #ifndef    EXEC_NODES_H
  14. #include    "exec/nodes.h"
  15. #endif
  16. #ifndef    EXEC_LISTS_H
  17. #include    "exec/lists.h"
  18. #endif
  19. #ifndef    DOS_DOS_H
  20. #include    "dos/dos.h"
  21. #endif
  22.  
  23. #define    FSRNAME    "FileSystem.resource"
  24.  
  25. struct FileSysResource {
  26.     struct Node fsr_Node;        /* on resource list */
  27.     char   *fsr_Creator;        /* name of creator of this resource */
  28.     struct List fsr_FileSysEntries;    /* list of FileSysEntry structs */
  29. };
  30.  
  31. struct FileSysEntry {
  32.     struct Node fse_Node;    /* on fsr_FileSysEntries list */
  33.                 /* ln_Name is of creator of this entry */
  34.     ULONG   fse_DosType;    /* DosType of this FileSys */
  35.     ULONG   fse_Version;    /* Version of this FileSys */
  36.     ULONG   fse_PatchFlags;    /* bits set for those of the following that */
  37.                 /*   need to be substituted into a standard */
  38.                 /*   device node for this file system: e.g. */
  39.                 /*   0x180 for substitute SegList & GlobalVec */
  40.     ULONG   fse_Type;        /* device node type: zero */
  41.     CPTR    fse_Task;        /* standard dos "task" field */
  42.     BPTR    fse_Lock;        /* not used for devices: zero */
  43.     BSTR    fse_Handler;    /* filename to loadseg (if SegList is null) */
  44.     ULONG   fse_StackSize;    /* stacksize to use when starting task */
  45.     LONG    fse_Priority;    /* task priority when starting task */
  46.     BPTR    fse_Startup;    /* startup msg: FileSysStartupMsg for disks */
  47.     BPTR    fse_SegList;    /* code to run to start new task */
  48.     BPTR    fse_GlobalVec;    /* BCPL global vector when starting task */
  49.     /* no more entries need exist than those implied by fse_PatchFlags */
  50. };
  51.  
  52. #endif    /* RESOURCES_FILESYSRES_H */
  53.