X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Finclude%2Ffs_sysfs.h;h=aac64d9121e1c748f57879cfe84b114b749d6fef;hb=HEAD;hp=c6c75f828590eecf909309305508a5cce7173406;hpb=9d85201216cb35e1b1e051b1d7cdc38eaa5befa4;p=tpg%2Facess2.git diff --git a/Kernel/include/fs_sysfs.h b/Kernel/include/fs_sysfs.h deleted file mode 100644 index c6c75f82..00000000 --- a/Kernel/include/fs_sysfs.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Acess2 - * - SysFS Export Header - */ -/** - * \file fs_sysfs.h - * \brief ProcDev/SysFS Interface - * \author John Hodge (thePowersGang) - * - * - */ -#ifndef _FS_SYSFS_H_ -#define _FS_SYSFS_H_ - -/** - * \brief Registers a file in the SysFS tree - * \param Path Path relative to the SysFS root (no .. or .) - * \param Data File buffer address - * \param Length Length of the file buffer - * \return An ID number to refer to the file, or -1 on error - * \note \a Data must be maintained until ::SysFS_UpdateFile is called - * with a different buffer, or ::SysFS_RemoveFile is called. - */ -extern int SysFS_RegisterFile(const char *Path, const char *Data, int Length); - -/** - * \brief Updates the size/pointer associated with a SysFD file - * \param ID Number returned by ::SysFS_Register - * \param Data New buffer address - * \param Length New length of the file - * \return Boolean Success - */ -extern int SysFS_UpdateFile(int ID, const char *Data, int Length); - -/** - * \brief Removes a file from the SysFS tree - * \param ID Number returned by ::SysFS_Register - */ -extern int SysFS_RemoveFile(int ID); - -#endif