Returns a collation descriptor by name.
MCO_RET mco_dict_collation_name( /*IN*/const mco_metadict_header_t * metadict, /*IN*/ unsigned short dict_no, /*IN*/ const char * name, /*OUT*/ mco_dict_collation_info_t * coll_info);
metadict | The address of a mco_metadict_header_t structure to initialize |
dict_no |
The index of the dictionary: must be between 0 and |
name |
The collation name |
coll_info |
The collation descriptor |
This function returns a collation descriptor based on the dictionary and collation name.
MCO_S_OK | The count was successfully returned |
MCO_E_UDA_DICT_NOTFOUND | The dictionary is not registered |