21 #ifndef _RTEMS_DOSFS_H 22 #define _RTEMS_DOSFS_H 208 #define RTEMS_DOSFS_SEMAPHORES_PER_INSTANCE 1 345 #define MSDOS_FMT_INFO_LEVEL_NONE (0) 346 #define MSDOS_FMT_INFO_LEVEL_INFO (1) 347 #define MSDOS_FMT_INFO_LEVEL_DETAIL (2) 348 #define MSDOS_FMT_INFO_LEVEL_DEBUG (3)
int(* rtems_dosfs_utf8_to_utf16)(rtems_dosfs_convert_control *self, const uint8_t *src, size_t src_size, uint16_t *dst, size_t *dst_size)
Converts from UTF-8 to UTF-16.
Definition: dosfs.h:91
void(* rtems_dosfs_convert_destroy)(rtems_dosfs_convert_control *self)
Destroys a convert control structure.
Definition: dosfs.h:154
rtems_dosfs_convert_control * converter
Converter implementation for new file system instance.
Definition: dosfs.h:296
FAT filesystem convert handler.
Definition: dosfs.h:161
FAT filesystem convert control.
Definition: dosfs.h:182
FAT filesystem mount options.
Definition: dosfs.h:213
int(* rtems_dosfs_utf8_normalize_and_fold)(rtems_dosfs_convert_control *self, const uint8_t *src, size_t src_size, uint8_t *dst, size_t *dst_size)
Converts from UTF-8 to Normalized Form Canonical Decomposition.
Definition: dosfs.h:141
Mount table entry.
Definition: libio.h:1604
rtems_dosfs_convert_control * rtems_dosfs_create_default_converter(void)
Allocates and initializes a default converter.
Definition: msdos_conv_default.c:176
int msdos_format(const char *devname, const msdos_format_request_param_t *rqdata)
Formats a block device with a FAT file system.
Definition: msdos_format.c:991
int(* rtems_dosfs_utf16_to_utf8)(rtems_dosfs_convert_control *self, const uint16_t *src, size_t src_size, uint8_t *dst, size_t *dst_size)
Converts from UTF-16 to UTF-8.
Definition: dosfs.h:113
rtems_dosfs_convert_control * rtems_dosfs_create_utf8_converter(const char *codepage)
Allocates and initializes a UTF-8 converter.
Definition: msdos_conv_utf8.c:289
unsigned size
Definition: tte.h:74
int(* rtems_dosfs_utf8_to_codepage)(rtems_dosfs_convert_control *self, const uint8_t *src, size_t src_size, char *dst, size_t *dst_size)
Converts from UTF-8 into a specific code page.
Definition: dosfs.h:47
int(* rtems_dosfs_codepage_to_utf8)(rtems_dosfs_convert_control *self, const char *src, size_t src_size, uint8_t *dst, size_t *dst_size)
Converts from a specific code page into UTF-8.
Definition: dosfs.h:69