LOCAL_PATH := $(call my-dir)
-common_src_files = cluster.c io.c log.c lookup.c mount.c node.c time.c utf.c utils.c
+common_src_files = cluster.c io.c log.c lookup.c mount.c node.c time.c utils.c
include $(CLEAR_VARS)
LOCAL_MODULE := libexfat
void exfat_print_info(const struct exfat_super_block* sb,
uint32_t free_clusters);
-int utf16_to_utf8(char* output, const le16_t* input, size_t outsize,
- size_t insize);
-int utf8_to_utf16(le16_t* output, const char* input, size_t outsize,
- size_t insize);
-size_t utf16_length(const le16_t* str);
-
struct exfat_node* exfat_get_node(struct exfat_node* node);
void exfat_put_node(struct exfat* ef, struct exfat_node* node);
int exfat_cleanup_node(struct exfat* ef, struct exfat_node* node);
*/
#include "exfat.h"
+#include "utf.h"
#include <string.h>
#include <errno.h>
#include <inttypes.h>
*/
#include "exfat.h"
+#include "utf.h"
#include <errno.h>
#include <string.h>
#include <inttypes.h>
}
}
-int utf16_to_utf8(char* output, const le16_t* input, size_t outsize,
+static inline int utf16_to_utf8(char* output, const le16_t* input, size_t outsize,
size_t insize)
{
const le16_t* inp = input;
return output + 2;
}
-int utf8_to_utf16(le16_t* output, const char* input, size_t outsize,
+ static inline int utf8_to_utf16(le16_t* output, const char* input, size_t outsize,
size_t insize)
{
const char* inp = input;
return 0;
}
-size_t utf16_length(const le16_t* str)
+static inline size_t utf16_length(const le16_t* str)
{
size_t i = 0;
*/
#include "exfat.h"
+#include "utf.h"
#include <string.h>
#include <stdio.h>
#include <inttypes.h>
#include "cbm.h"
#include "uct.h"
#include "rootdir.h"
+#include <utf.h>
#include <exfat.h>
#include <sys/types.h>
#include <sys/time.h>
#include "uct.h"
#include "cbm.h"
#include "uctc.h"
+#include <utf.h>
#include <string.h>
static off_t rootdir_alignment(void)