3 * - SysFS Export Header
7 * \brief ProcDev/SysFS Interface
8 * \author John Hodge (thePowersGang)
16 * \brief Registers a file in the SysFS tree
17 * \param Path Path relative to the SysFS root (no .. or .)
18 * \param Data File buffer address
19 * \param Length Length of the file buffer
20 * \return An ID number to refer to the file, or -1 on error
21 * \note \a Data must be maintained until ::SysFS_UpdateFile is called
22 * with a different buffer, or ::SysFS_RemoveFile is called.
24 extern int SysFS_RegisterFile(const char *Path, const char *Data, int Length);
27 * \brief Updates the size/pointer associated with a SysFD file
28 * \param ID Number returned by ::SysFS_Register
29 * \param Data New buffer address
30 * \param Length New length of the file
31 * \return Boolean Success
33 extern int SysFS_UpdateFile(int ID, const char *Data, int Length);
36 * \brief Removes a file from the SysFS tree
37 * \param ID Number returned by ::SysFS_Register
39 extern int SysFS_RemoveFile(int ID);