#include <db.h> int DB->get_slices(DB *db, DB ***slicepp);
The DB->get_slices()
method returns a
NULL-terminated array of slice databases. Each element in the
array represents one slice. Note that you should not explicitly
close these database handles; each slice database is automatically
closed when the parent database handle is closed.
The DB->get_slices()
method may be
called at any time during the life of the application.
The DB->get_slices()
method returns a non-zero error value on failure and 0 on success.