DB_SEQUENCE->set_flags |
#include <db.h>int DB_SEQUENCE->set_flags(DB_SEQUENCE *seq, u_int32_t flags);
int DB_SEQUENCE->get_flags(DB_SEQUENCE *seq, u_int32_t *flagsp);
Configure a sequence. The flags are only effective when creating a sequence. Calling DB_SEQUENCE->set_flags is additive; there is no way to clear flags.
The DB_SEQUENCE->set_flags method may not be called after the DB_SEQUENCE->open method is called.
The DB_SEQUENCE->set_flags method returns a non-zero error value on failure and 0 on success.
The DB_SEQUENCE->set_flags method may fail and return one of the following non-zero errors:
The DB_SEQUENCE->get_flags method returns the current flags.
The DB_SEQUENCE->get_flags method may be called at any time during the life of the application.
The DB_SEQUENCE->get_flags method returns a non-zero error value on failure and 0 on success.
Copyright (c) 1996-2004 Sleepycat Software, Inc. - All rights reserved.