Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mdbdir(5) [debian man page]

mdbDir(5)							 The m17n Library							 mdbDir(5)

NAME
mdbDir - List of data in a database directory. DESCRIPTION
The m17n library loads a list of definitions of data of the m17n database from files of name 'mdb.dir' in each database directory at initialization time. The plist format of this file is as follows: MDB-DIR ::= DEFINITION * DEFINITION ::= '(' TAG0 [ TAG1 [ TAG2 [ TAG3 ] ] ] FILE [ VERSION ]')' TAGn ::= SYMBOL FILE ::= MTEXT VERSION ::= MTEXT If TAG0 is neither `charset' nor `char-table', and TAGn (n > 0) is a symbol `*', FILE can contain a wildcard charater, and all files matching FILE accoding to the rules used by the shell are the target of database files. In that case, each file must contain SELF-DEFINITION which is a plist element providing the actual TAGn values by the form: SELF-DEFINITION ::= '(' TAG0 TAG1 TAG2 TAG3 [ VERSION ] ')' For instance, if a database directory contains these files: zh-py.mim: (input-method zh py) ko-han2.mim: (input-method ko han2) these lines in 'mdb.dir': (input-method zh py "zh-py.mim") (input-method ko han2 "ko-han2.mim") can be shortened to this single line: (input-method * "*.mim") VERSION is a required version number of the m17n library. The format is 'XX.YY.ZZ' where XX is a major version number, YY is a minor version number, and ZZ is a patch level. COPYRIGHT
Copyright (C) 2001 Information-technology Promotion Agency (IPA) Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST) Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License <http://www.gnu.org/licenses/fdl.html>. Version 1.6.2 12 Jan 2011 mdbDir(5)

Check Out this Related Man Page

mdatabase_load(3m17n)						 The m17n Library					     mdatabase_load(3m17n)

NAME
mdatabase_load - Load a data from the database. SYNOPSIS
void* mdatabase_load (MDatabase * mdb) DESCRIPTION
Load a data from the database. The mdatabase_load() function loads a data specified in mdb and returns the contents. The type of contents depends on the type of the data. If the data is of the plist type, this function returns a pointer to plist. If the database is of the chartable type, it returns a chartable. The default value of the chartable is set according to the second tag of the data as below: o If the tag is Msymbol, the default value is Mnil. o If the tag is Minteger, the default value is -1. o Otherwise, the default value is NULL. If the data is of the charset type, it returns a plist of length 2 (keys are both Mt). The value of the first element is an array of integers that maps code points to the corresponding character codes. The value of the second element is a chartable of integers that does the reverse mapping. The charset must be defined in advance. SEE ALSO
mdatabase_load(), mdatabase_define() COPYRIGHT
Copyright (C) 2001 Information-technology Promotion Agency (IPA) Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST) Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License <http://www.gnu.org/licenses/fdl.html>. Version 1.6.2 12 Jan 2011 mdatabase_load(3m17n)
Man Page