summaryrefslogtreecommitdiffstats
path: root/fs/fat/tables.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1997-01-07 02:33:00 +0000
committer <ralf@linux-mips.org>1997-01-07 02:33:00 +0000
commitbeb116954b9b7f3bb56412b2494b562f02b864b1 (patch)
tree120e997879884e1b9d93b265221b939d2ef1ade1 /fs/fat/tables.h
parent908d4681a1dc3792ecafbe64265783a86c4cccb6 (diff)
Import of Linux/MIPS 2.1.14
Diffstat (limited to 'fs/fat/tables.h')
-rw-r--r--fs/fat/tables.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/fs/fat/tables.h b/fs/fat/tables.h
new file mode 100644
index 000000000..5b431d281
--- /dev/null
+++ b/fs/fat/tables.h
@@ -0,0 +1,35 @@
+struct unicode_value {
+ unsigned char uni1;
+ unsigned char uni2;
+};
+
+extern unsigned char fat_a2alias[]; /* Ascii to alias name conversion table */
+extern struct unicode_value fat_a2uni[]; /* Ascii to Unicode conversion table */
+extern unsigned char *fat_uni2asc_pg[];
+
+/*
+ * Since Linux can't deal with Unicode in filenames, these provide
+ * a method to encode the Unicode names in a manner that the vfat
+ * filesystem can them decode back to Unicode. This conversion
+ * only occurs when the filesystem was mounted with the 'uni_xlate' mount
+ * option.
+ */
+extern unsigned char fat_uni2code[];
+extern unsigned char fat_code2uni[];
+
+/*
+ * Overrides for Emacs so that we follow Linus's tabbing style.
+ * Emacs will notice this stuff at the end of the file and automatically
+ * adjust the settings for this buffer only. This must remain at the end
+ * of the file.
+ * ---------------------------------------------------------------------------
+ * Local variables:
+ * c-indent-level: 8
+ * c-brace-imaginary-offset: 0
+ * c-brace-offset: -8
+ * c-argdecl-indent: 8
+ * c-label-offset: -8
+ * c-continued-statement-offset: 8
+ * c-continued-brace-offset: 0
+ * End:
+ */