This is a ReiserFs file system driver for Windows NT/2000/XP/Vista.

源代码在线查看: nls_iso8859-8.c

软件大小: 2083 K
上传用户: goocool
关键词: ReiserFs Windows driver system
下载地址: 免注册下载 普通下载 VIP

相关代码

				/*
				 * linux/fs/nls_iso8859-8.c
				 */
				
				#include 
				#include 
				#include 
				#include 
				#include 
				
				static struct nls_table *p_nls;
				
				static struct nls_table table = {
					"iso8859-8",
					NULL,
					NULL,
					NULL,
					NULL,
					THIS_MODULE,
				};
				
				static int __init init_nls_iso8859_8(void)
				{
					p_nls = load_nls("cp1255");
				
					if (p_nls) {
						table.uni2char = p_nls->uni2char;
						table.char2uni = p_nls->char2uni;
						table.charset2upper = p_nls->charset2upper;
						table.charset2lower = p_nls->charset2lower;
						return register_nls(&table);
					}
				
					return -EINVAL;
				}
				
				static void __exit exit_nls_iso8859_8(void)
				{
					unregister_nls(&table);
					unload_nls(p_nls);
				}
				
				module_init(init_nls_iso8859_8)
				module_exit(exit_nls_iso8859_8)
				
				/*
				 * 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:
				 */
							

相关资源