Fix compiler warning due to missing function prototype.
[svn.git] / subversion / include / private / svn_fs_private.h
blobeae536a2de9ab99ae80e078c4f33fa606d241f7a
1 /*
2 * svn_fs_private.h: Private declarations for the filesystem layer to
3 * be consumed by libsvn_fs* and non-libsvn_fs* modules.
5 * ====================================================================
6 * Copyright (c) 2007 CollabNet. All rights reserved.
8 * This software is licensed as described in the file COPYING, which
9 * you should have received as part of this distribution. The terms
10 * are also available at http://subversion.tigris.org/license-1.html.
11 * If newer versions of this license are posted there, you may use a
12 * newer version instead, at your option.
14 * This software consists of voluntary contributions made by many
15 * individuals. For exact contribution history, see the revision
16 * history and logs, available at http://subversion.tigris.org/.
17 * ====================================================================
20 #ifndef SVN_FS_PRIVATE_H
21 #define SVN_FS_PRIVATE_H
23 #ifdef __cplusplus
24 extern "C" {
25 #endif /* __cplusplus */
27 /* The maximum length of a transaction name. The Berkeley DB backend
28 generates transaction names from a sequence expressed as a base 36
29 number with a maximum of MAX_KEY_SIZE (currently 200) bytes. The
30 FSFS backend generates transaction names of the form
31 <rev>-<base 36-number> where the base 36 number is a sequence value
32 with a maximum length of MAX_KEY_SIZE bytes. The maximum length is
33 212, but use 220 just to have some extra space:
34 10 -> 32 bit revision number
35 1 -> '-'
36 200 -> 200 digit base 36 number
37 1 -> '\0'
39 #define SVN_FS__TXN_MAX_LEN 220
41 #ifdef __cplusplus
43 #endif /* __cplusplus */
45 #endif /* SVN_FS_PRIVATE_H */