## Berkeley DB utilities

Berkeley DB utilities — Utilities for Berkeley DB databases

## Functions

gint | e_db3_utils_maybe_recover ()
gint | e_db3_utils_upgrade_format ()

## Description

Utilities for coping with Berkeley DB file format changes.

## Functions

### e_db3_utils_maybe_recover ()

    gint
    e_db3_utils_maybe_recover (const gchar *filename);

Tries to recover from a failed file format upgrade.

#### Parameters

filename | path to a Berkeley DB file |

#### Returns

0 if successful, -1 on failure

### e_db3_utils_upgrade_format ()

    gint
    e_db3_utils_upgrade_format (const gchar *filename);

Upgrades the file format of a Berkeley DB file from a previous version.

#### Parameters

filename | path to a Berkeley DB file |

#### Returns

0 if successful, -1 on failure

## Types and Values