Programming Guide



dm_reset

Disables support for a named database engine

#include <dmuproto.h>
int dm_reset(char *engine);

engine
The name assigned to the DBMS in dm_init or in the vendor_list structure of dbiinit.c.

Environment

C only

Returns

Description

An application can call this function to disable support for a named engine. If the function executes successfully, it performs the following steps:

  1. Closes all active connections on the engine.
  2. Calls the support function to perform any engine-specific reset processing.
  3. If engine was the default engine, sets the default engine to 0.
  4. Frees all data structures associated with the engine.

After an engine is reset, the application cannot connect to the engine unless it initializes the engine with dm_init.

See Also

dm_init