ReactOS  0.4.14-dev-815-ge410a12
nls_iso8859-8.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/nls.h>
#include <linux/errno.h>
Include dependency graph for nls_iso8859-8.c:

Go to the source code of this file.

Functions

static int __init init_nls_iso8859_8 (void)
 
static void __exit exit_nls_iso8859_8 (void)
 

Variables

static struct nls_tablep_nls
 
static struct nls_table table
 

Function Documentation

◆ exit_nls_iso8859_8()

static void __exit exit_nls_iso8859_8 ( void  )
static

Definition at line 37 of file nls_iso8859-8.c.

38 {
41 }
int unregister_nls(struct nls_table *)
Definition: nls_base.c:185
void unload_nls(struct nls_table *)
Definition: nls_base.c:240
static struct nls_table * p_nls
Definition: nls_iso8859-8.c:11

Referenced by RfsdUnloadAllNls().

◆ init_nls_iso8859_8()

static int __init init_nls_iso8859_8 ( void  )
static

Definition at line 22 of file nls_iso8859-8.c.

23 {
24  p_nls = load_nls("cp1255");
25 
26  if (p_nls) {
27  table.uni2char = p_nls->uni2char;
28  table.char2uni = p_nls->char2uni;
29  table.charset2upper = p_nls->charset2upper;
30  table.charset2lower = p_nls->charset2lower;
31  return register_nls(&table);
32  }
33 
34  return -EINVAL;
35 }
Definition: arc.h:39
int register_nls(struct nls_table *)
Definition: nls_base.c:162
static struct nls_table * p_nls
Definition: nls_iso8859-8.c:11
struct nls_table * load_nls(char *)
Definition: nls_base.c:218

Referenced by RfsdLoadAllNls().

Variable Documentation

◆ p_nls

struct nls_table* p_nls
static

Definition at line 11 of file nls_iso8859-8.c.

Referenced by exit_nls_iso8859_8(), and init_nls_iso8859_8().

◆ table

Initial value:
= {
"iso8859-8",
}
#define THIS_MODULE
Definition: module.h:267
smooth NULL
Definition: ftsmooth.c:416

Definition at line 13 of file nls_iso8859-8.c.