#include "ext4_blockdev.h"
#include <stdint.h>
+#include <stddef.h>
/********************************FILE OPEN FLAGS*****************************/
* @param size bytes to read
* @param rcnt bytes read (may be NULL)
* @return standard error code*/
-int ext4_fread(ext4_file *f, void *buf, uint32_t size, uint32_t *rcnt);
+int ext4_fread(ext4_file *f, void *buf, size_t size, size_t *rcnt);
/**@brief Write data to file.
* @param f file handle
* @param size write length
* @param wcnt bytes written (may be NULL)
* @return standard error code*/
-int ext4_fwrite(ext4_file *f, const void *buf, uint32_t size, uint32_t *wcnt);
+int ext4_fwrite(ext4_file *f, const void *buf, size_t size, size_t *wcnt);
/**@brief File seek operation.
* @param f file handle
int ext4_file_set_mtime(ext4_file *f, uint32_t mtime);
int ext4_file_set_ctime(ext4_file *f, uint32_t ctime);
+int ext4_fsymlink(const char *target, const char *path);
+
/*********************************DIRECTORY OPERATION***********************/
/**@brief Recursive directory remove.