Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- db_VISTA III - d_on_opt http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   D_ON_OPT

SUMMARY
   d_on_opt(optflag)
   int optflag;

ARGUMENTS
   optflag     Option flag word containing bit settings for the options to
               be turned on.

DESCRIPTION
   This function is used to turn on any or all db_VISTA runtime options.
   There are three runtime options whitch can currently be controlled using
   this function, as follows.

   1. Ability to turn on the use of delete chains slots when new records
      are created.

   2. Transaction logging and recovery (multi_user version only).

   3. Archive logging (multi_user version only).

   4. Case sensitivity in key files and sorted sets.

   The optflag argument contains a bit status word which has a bit associated
   whith each option. Header file "vista.h" contains definitions for each
   option as follows:

   #define DCHAINUSE 0x01
   #define TRLOGGING 0x02
   #define ARCLOGGING 0x04
   #define 0x08

   This function can be called either before or after the database has been
   opened and these options can be turned on and off as desired.

CURRENCY CHANGES
   None

RETURN CODES
   None

EXAMPLE

      /* turn off archive logging */
      d_on_opt( ARCLOGGING );

seealso  funkcijo.ngo:d_on_opt funkcijo.ngo:d_mapchar

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson