2 * Copyright (c) 2004 Derek Price, Ximbiot <http://ximbiot.com>,
3 * and the Free Software Foundation
5 * You may distribute under the terms of the GNU General Public License
6 * as specified in the README file that comes with the CVS source
9 * This is the header file for definitions and functions shared by parseinfo.c
10 * with other portions of CVS.
22 char *HistorySearchPath
;
25 /* Should the logmsg be re-read during the do_verify phase?
26 * RereadLogAfterVerify=no|stat|yes
27 * LOGMSG_REREAD_NEVER - never re-read the logmsg
28 * LOGMSG_REREAD_STAT - re-read the logmsg only if it has changed
29 * LOGMSG_REREAD_ALWAYS - always re-read the logmsg
31 int RereadLogAfterVerify
;
33 char *UserAdminOptions
;
36 /* Control default behavior of 'cvs import' (-X option on or off) in
37 * CVSROOT/config. Defaults to off, for backward compatibility.
39 bool ImportNewFilesToVendorBranchOnly
;
41 size_t MaxCommentLeaderLength
;
42 bool UseArchiveCommentLeader
;
44 #ifdef AUTH_SERVER_SUPPORT
45 /* Should we check for system usernames/passwords? */
47 #endif /* AUTH_SERVER_SUPPORT */
49 #ifdef SUPPORT_OLD_INFO_FMT_STRINGS
50 bool UseNewInfoFmtStrings
;
51 #endif /* SUPPORT_OLD_INFO_FMT_STRINGS */
52 cvsroot_t
*PrimaryServer
;
54 size_t MaxProxyBufferSize
;
55 #endif /* PROXY_SUPPORT */
57 size_t MinCompressionLevel
;
58 size_t MaxCompressionLevel
;
59 #endif /* SERVER_SUPPORT */
60 #ifdef PRESERVE_PERMISSIONS_SUPPORT
62 #endif /* PRESERVE_PERMISSIONS_SUPPORT */
65 bool parse_error (const char *, unsigned int);
66 struct config
*parse_config (const char *, const char *);
67 void free_config (struct config
*data
);
68 #endif /* !PARSEINFO_H */