1dbh_regen_sweep(3)     DBHashTables Programmers' Manual     dbh_regen_sweep(3)
2
3
4
5
6

NAME

8       dbh_regen_sweep,   dbh_regen_fanout,  dbh_settempdir  -  make  physical
9       structure of the DBHashTable congruent with logical structure
10

SYNOPSIS

12       #include <dbh.h>
13
14       DBHashTable *dbh_regen_sweep (DBHashTable *dbh);
15       DBHashTable *dbh_regen_fanout (DBHashTable *dbh);
16       int dbh_settempdir (DBHashTable *dbh, char *temp_dir);
17
18

DESCRIPTION

20       Regenerate the DBHashTable eliminating erased  records  and  optimizing
21       disk  access  and  speed for sweep access using dbh_regen_sweep and for
22       fanout access using dbh_regen_fanout.  This is done by creating  a  new
23       DBHashTable where the physical structure matches the logical structure.
24       The temporary directory where the new DBHashTable is created may be set
25       with  dbh_settempdir().   Current DBHashTable is closed before removed.
26       New DBHashTable is opened after renamed.
27

RETURN VALUE

29       A pointer to the new DBHashTable.
30

SEE ALSO

32       dbh  (0),  dbh_sweep  (3),  dbh_fanout  (3),   dbh_foreach_sweep   (3),
33       dbh_foreach_fanout (3),
34

Author

36       Edscott Wilson Garcia <edscott@xfce.org>
37
38
39
40DBHashTables                          DBH                   dbh_regen_sweep(3)
Impressum