Change the runtime configuration of user-defined collation sequences
#include <qdb/qdb.h> int qdb_collation( qdb_hdl_t *db, void *data, int nbytes, int reindex );
qdb
This function is used to configure special user-defined collation sequences attached to the database. These collation sequences are listed under the Collation option in the database configuration object. The setup() function of each entry is invoked with the specified data and nbytes, and any error raised by that function is returned to the client. Otherwise, the collation routine is expected to use the data in a proprietary manner to configure itself to a new sort order. The collation routine and the client must both know what format this configuration data is in. You might consider use strings as a simple self-documenting extensible format (e.g. getsubopt() style).
QNX Neutrino
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | Yes |