mco_dict_collation

Return a collation descriptor.

Prototype

    MCO_RET mco_dict_collation(/*IN*/ const mco_metadict_header_t *metadict,
                                 /*IN*/ unsigned short dict_no,
                                 /*IN*/ unsigned short collation_no,
                                 /*OUT*/ mco_dict_collation_info_t *coll_info);

Arguments

metadict
The address of a mco_metadict_header_t structure to initialize.
dict_no
The index of the dictionary: must be between 0 and mco_metadict_count().
collation_no
The collation number.
coll_info
The collation descriptor.

Description

This function returns a collation descriptor based on the dictionary and collation number.

Return Codes

MCO_S_OK
The collation descriptor was successfully returned.
MCO_E_UDA_DICT_NOTFOUND
The dictionary is not registered.

Files

Header file:
mcouda.h
Source file:
mcouda.c
Library:
libmcouda.a