Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
unicode.c File Reference
#include "udfdecl.h"
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/nls.h>
#include <linux/crc-itu-t.h>
#include <linux/slab.h>
#include "udf_sb.h"

Go to the source code of this file.

Macros

#define ILLEGAL_CHAR_MARK   '_'
 
#define EXT_MARK   '.'
 
#define CRC_MARK   '#'
 
#define EXT_SIZE   5
 

Functions

int udf_build_ustr (struct ustr *dest, dstring *ptr, int size)
 
int udf_CS0toUTF8 (struct ustr *utf_o, const struct ustr *ocu_i)
 
int udf_get_filename (struct super_block *sb, uint8_t *sname, uint8_t *dname, int flen)
 
int udf_put_filename (struct super_block *sb, const uint8_t *sname, uint8_t *dname, int flen)
 

Macro Definition Documentation

#define CRC_MARK   '#'

Definition at line 404 of file unicode.c.

#define EXT_MARK   '.'

Definition at line 403 of file unicode.c.

#define EXT_SIZE   5

Definition at line 405 of file unicode.c.

#define ILLEGAL_CHAR_MARK   '_'

Definition at line 402 of file unicode.c.

Function Documentation

int udf_build_ustr ( struct ustr dest,
dstring ptr,
int  size 
)

Definition at line 49 of file unicode.c.

int udf_CS0toUTF8 ( struct ustr utf_o,
const struct ustr ocu_i 
)

Definition at line 102 of file unicode.c.

int udf_get_filename ( struct super_block sb,
uint8_t sname,
uint8_t dname,
int  flen 
)

Definition at line 336 of file unicode.c.

int udf_put_filename ( struct super_block sb,
const uint8_t sname,
uint8_t dname,
int  flen 
)

Definition at line 378 of file unicode.c.