Kernel - Slight reworks to timer code
[tpg/acess2.git] / Kernel / include / fs_devfs.h
index 54f4280..c099fc6 100644 (file)
 typedef struct sDevFS_Driver
 {
        struct sDevFS_Driver    *Next;  //!< Set to NULL by drivers (used internally)
-       char    *Name;  //!< Name of the driver file/folder (must be unique)
+       const char      *Name;  //!< Name of the driver file/folder (must be unique)
        tVFS_Node       RootNode;       //!< Root node of driver
 } tDevFS_Driver;
 
 // === FUNCTIONS ===
 /**
- * \fn int DevFS_AddDevice(tDevFS_Driver *Dev)
- * \brief Registers a device in the Device filesystem
- * \param Dev  Pointer to a persistant structure that represents the driver
+ * \fn int DevFS_AddDevice(tDevFS_Driver *Device)
+ * \brief Registers a device in the Device Filesystem
+ * \param Device       Pointer to a persistant structure that represents the driver
  * \return Boolean success
  */
-extern int     DevFS_AddDevice(tDevFS_Driver *Dev);
+extern int     DevFS_AddDevice(tDevFS_Driver *Device);
+
+/**
+ * \brief Unregisters a device with the Device Filesystem
+ */
+extern void    DevFS_DelDevice(tDevFS_Driver *Device);
 
 #endif

UCC git Repository :: git.ucc.asn.au