Initial directory changes
Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com>
This commit is contained in:
@@ -7,6 +7,16 @@
|
||||
* LICENSE file.
|
||||
*/
|
||||
|
||||
/**
|
||||
* List directory.
|
||||
*
|
||||
* \param dir Path of directory.
|
||||
* \param from First entry in directory to list.
|
||||
* \param max Maximum number of entries to list. Must be > 0.
|
||||
* \return Number of entries listed or negative on error.
|
||||
*/
|
||||
int listDir(const char *dir, int from, int max);
|
||||
|
||||
/**
|
||||
* Obtains file type.
|
||||
*
|
||||
@@ -14,11 +24,3 @@
|
||||
* \return File type, else negative.
|
||||
*/
|
||||
int getFileType(const char *file);
|
||||
|
||||
/**
|
||||
* Plays a WAV file.
|
||||
*
|
||||
* \param file File location of WAV file.
|
||||
* \return Zero if successful, else failure.
|
||||
*/
|
||||
int playWav(const char *wav);
|
||||
|
||||
Reference in New Issue
Block a user