1 /* uuids-table.h : internal interface to `uuids' table
3 * ====================================================================
4 * Copyright (c) 2000-2004 CollabNet. All rights reserved.
6 * This software is licensed as described in the file COPYING, which
7 * you should have received as part of this distribution. The terms
8 * are also available at http://subversion.tigris.org/license-1.html.
9 * If newer versions of this license are posted there, you may use a
10 * newer version instead, at your option.
12 * This software consists of voluntary contributions made by many
13 * individuals. For exact contribution history, see the revision
14 * history and logs, available at http://subversion.tigris.org/.
15 * ====================================================================
18 #ifndef SVN_LIBSVN_FS_UUIDS_TABLE_H
19 #define SVN_LIBSVN_FS_UUIDS_TABLE_H
29 #endif /* __cplusplus */
32 /* Open a `uuids' table in @a env.
34 * Open a `uuids' table in @a env. If @a create is non-zero, create
35 * one if it doesn't exist. Set @a *uuids_p to the new table.
36 * Return a Berkeley DB error code.
38 int svn_fs_bdb__open_uuids_table(DB
**uuids_p
,
40 svn_boolean_t create
);
42 /* Get the UUID at index @a idx in the uuids table within @a fs,
43 * storing the result in @a *uuid.
45 svn_error_t
*svn_fs_bdb__get_uuid(svn_fs_t
*fs
,
51 /* Set the UUID at index @a idx in the uuids table within @a fs
54 svn_error_t
*svn_fs_bdb__set_uuid(svn_fs_t
*fs
,
62 #endif /* __cplusplus */
64 #endif /* SVN_LIBSVN_FS_UUIDS_TABLE_H */