Kernel - VFS API Update - ReadDir caller provided buffer
[tpg/acess2.git] / KernelLand / Modules / USB / Core / main.c
index 94ec253..cdbe2ee 100644 (file)
@@ -17,7 +17,7 @@ extern void   USB_AsyncThread(void *Unused);
 // === PROTOTYPES ===
  int   USB_Install(char **Arguments);
 void   USB_Cleanup(void);
-char   *USB_ReadDir(tVFS_Node *Node, int Pos);
+ int   USB_ReadDir(tVFS_Node *Node, int Pos, char Dest[FILENAME_MAX]);
 tVFS_Node      *USB_FindDir(tVFS_Node *Node, const char *Name);
  int   USB_IOCtl(tVFS_Node *Node, int Id, void *Data);
 
@@ -60,9 +60,9 @@ void USB_Cleanup()
  * \fn char *USB_ReadDir(tVFS_Node *Node, int Pos)
  * \brief Read from the USB root
  */
-char *USB_ReadDir(tVFS_Node *Node, int Pos)
+int USB_ReadDir(tVFS_Node *Node, int Pos, char Dest[FILENAME_MAX])
 {
-       return NULL;
+       return -ENOTIMPL;
 }
 
 /**

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