Changeset View
Changeset View
Standalone View
Standalone View
head/usr.sbin/makefs/msdos/msdosfs_conv.c
Show First 20 Lines • Show All 56 Lines • ▼ Show 20 Lines | |||||
#include <fs/msdosfs/bpb.h> | #include <fs/msdosfs/bpb.h> | ||||
#include "makefs.h" | #include "makefs.h" | ||||
#include "msdos.h" | #include "msdos.h" | ||||
#include "msdos/denode.h" | #include "msdos/denode.h" | ||||
#include "msdos/direntry.h" | #include "msdos/direntry.h" | ||||
#include "msdos/fat.h" | |||||
#include "msdos/msdosfsmount.h" | #include "msdos/msdosfsmount.h" | ||||
static int char8ucs2str(const uint8_t *in, int n, uint16_t *out, int m); | static int char8ucs2str(const uint8_t *in, int n, uint16_t *out, int m); | ||||
static void ucs2pad(uint16_t *buf, int len, int size); | static void ucs2pad(uint16_t *buf, int len, int size); | ||||
static int char8match(uint16_t *w1, uint16_t *w2, int n); | static int char8match(uint16_t *w1, uint16_t *w2, int n); | ||||
static const u_char unix2dos[256] = { | static const u_char unix2dos[256] = { | ||||
0, 0, 0, 0, 0, 0, 0, 0, /* 00-07 */ | 0, 0, 0, 0, 0, 0, 0, 0, /* 00-07 */ | ||||
▲ Show 20 Lines • Show All 435 Lines • Show Last 20 Lines |