table of contents
Database(3m17n) | The m17n Library | Database(3m17n) |
NAME¶
Database - The m17n database and API for it.Typedefs¶
typedef struct MDatabase MDatabase
Functions¶
MDatabase * mdatabase_find (MSymbol tag0, MSymbol tag1, MSymbol tag2, MSymbol tag3)
Variables¶
char * mdatabase_dir
Detailed Description¶
The m17n database and API for it.- •
- If TAG0 is Mchar_table, the data is of the chartable type and provides information about each character. In this case, TAG1 specifies the type of the information and must be Msymbol, Minteger, Mstring, Mtext, or Mplist. TAG2 and TAG3 can be any symbols.
- •
- If TAG0 is Mcharset, the data is of the charset type and provides a decode/encode mapping table for a charset. In this case, TAG1 must be a symbol representing a charset. TAG2 and TAG3 can be any symbols.
- •
- If TAG0 is neither Mchar_table nor Mcharset, the data is of the plist type. See the documentation of the mdatabase_load() function for the details. In this case, TAG1, TAG2, and TAG3 can be any symbols.
Typedef Documentation¶
typedef struct MDatabase MDatabase¶
Type of database. The type MDatabase is for a database object. Its internal structure is concealed from an application program.Variable Documentation¶
char* mdatabase_dir¶
Directory for application specific data. If an application program wants to provide a data specific to the program or a data overriding what supplied by the m17n database, it must set this variable to a name of directory that contains the data files before it calls the macro M17N_INIT(). The directory may contain a file 'mdb.dir' which contains a list of data definitions in the format described in mdbDir(5). The default value is NULL.Author¶
Generated automatically by Doxygen for The m17n Library from the source code.COPYRIGHT¶
Copyright (C) 2001 Information-technology Promotion Agency (IPA)12 Jan 2011 | Version 1.6.2 |