This sample demonstrates the generated
_get_udfs(),_compare_obj(), and_compare_ext()functions and the standardmco_db_register_udf()function for user-defined indexes. (Seeudfdb_udf.c. When you build this project, a new version of this file is generated bymcocompnamedudfdb_udf.c.new, so customizations toudfdb_udf.cwill not be overwritten.)
See instructions here on how to build this and other samples on your development platform. Once built, the sample can be run from the
\target\bindirectory:05_indexes_userdefHowever, it is more instructive to run it in your development environment debugger, stepping through the code.