1 #ifndef CLIB_MOUNT_PROTOS_H 2 #define CLIB_MOUNT_PROTOS_H 3 4 #ifndef EXEC_TYPES_H 5 #include <exec/types.h> 6 #endif 7 8 #ifndef UTILITY_TAGITEM_H 9 #include <utility/tagitem.h> 10 #endif 11 12 #ifndef LIBRARIES_MOUNT_H 13 #include <libraries/mount.h> 14 #endif 15 16 #ifdef __cplusplus 17 extern "C" { 18 #endif /* __cplusplus */ 19 20 void *MountCreateNotifyUnitTagList(struct TagItem *MyTags); 21 22 void MountDeleteNotifyUnit(void *MyNotifyUnit); 23 24 void *MountCreateNotifyNodeTagList(void *MyNotifyUnit, 25 struct TagItem *MyTags); 26 27 void MountDeleteNotifyNode(void *MyNotifyNode); 28 29 ULONG MountGetNotifyUnitAttr(void *MyNotifyUnit, 30 APTR Data, 31 ULONG Attr); 32 33 void *MountFindNotifyNodeTagList(void *MyNotifyUnit, 34 struct TagItem *MyTags); 35 36 ULONG MountMountTagList(void *MyNotifyUnit, 37 struct TagItem *MyTags); 38 39 ULONG MountDisMountTagList(void *MyNotifyUnit, 40 struct TagItem *MyTags); 41 42 void MountNotifyAll(void *MyNotifyUnit, 43 ULONG ChangeState); 44 45 void MountNotifySet(void *MyNotifyUnit, 46 ULONG ChangeState); 47 48 void MountNotifyTask(void *MyNotifyUnit, 49 struct Task *MyTask, 50 ULONG ChangeState); 51 52 ULONG MountUpdateNotifyUnitConfigTagList(void *MyNotifyUnit, 53 struct TagItem *MyTags); 54 55 ULONG MountMountDiskHandlersTagList(struct TagItem *MyTags); 56 57 58 #if !defined(USE_INLINE_STDARG) 59 void *MountCreateNotifyUnitTags(Tag tag1,...); 60 void *MountCreateNotifyNodeTags(void *MyNotifyUnit,...); 61 void *MountFindNotifyNodeTags(void *MyNotifyUnit,...); 62 ULONG MountMountTags(void *MyNotifyUnit,...); 63 ULONG MountDisMountTags(void *MyNotifyUnit,...); 64 ULONG MountUpdateNotifyUnitConfigTags(void *MyNotifyUnit,...); 65 ULONG MountMountDiskHandlersTags(Tag tag,...); 66 #endif 67 68 #ifdef __cplusplus 69 } 70 #endif /* __cplusplus */ 71 72 #endif