#include <db.h> int DB_SEQUENCE->get_key(DB_SEQUENCE *seq, DBT *key);
The DB_SEQUENCE->get_key()
method returns the key for the sequence.
The DB_SEQUENCE->get_key()
method may be called at any time during the life of the
application.
The DB_SEQUENCE->get_key()
method returns a non-zero error value on failure and 0 on success.