33 #include <apr_pools.h>
69 #define SVN_CONFIG_CATEGORY_SERVERS "servers"
70 #define SVN_CONFIG_SECTION_GROUPS "groups"
71 #define SVN_CONFIG_SECTION_GLOBAL "global"
72 #define SVN_CONFIG_OPTION_HTTP_PROXY_HOST "http-proxy-host"
73 #define SVN_CONFIG_OPTION_HTTP_PROXY_PORT "http-proxy-port"
74 #define SVN_CONFIG_OPTION_HTTP_PROXY_USERNAME "http-proxy-username"
75 #define SVN_CONFIG_OPTION_HTTP_PROXY_PASSWORD "http-proxy-password"
76 #define SVN_CONFIG_OPTION_HTTP_PROXY_EXCEPTIONS "http-proxy-exceptions"
77 #define SVN_CONFIG_OPTION_HTTP_TIMEOUT "http-timeout"
78 #define SVN_CONFIG_OPTION_HTTP_COMPRESSION "http-compression"
79 #define SVN_CONFIG_OPTION_NEON_DEBUG_MASK "neon-debug-mask"
80 #define SVN_CONFIG_OPTION_HTTP_AUTH_TYPES "http-auth-types"
81 #define SVN_CONFIG_OPTION_SSL_AUTHORITY_FILES "ssl-authority-files"
82 #define SVN_CONFIG_OPTION_SSL_TRUST_DEFAULT_CA "ssl-trust-default-ca"
83 #define SVN_CONFIG_OPTION_SSL_CLIENT_CERT_FILE "ssl-client-cert-file"
84 #define SVN_CONFIG_OPTION_SSL_CLIENT_CERT_PASSWORD "ssl-client-cert-password"
85 #define SVN_CONFIG_OPTION_SSL_PKCS11_PROVIDER "ssl-pkcs11-provider"
86 #define SVN_CONFIG_OPTION_HTTP_LIBRARY "http-library"
87 #define SVN_CONFIG_OPTION_STORE_PASSWORDS "store-passwords"
88 #define SVN_CONFIG_OPTION_STORE_PLAINTEXT_PASSWORDS "store-plaintext-passwords"
89 #define SVN_CONFIG_OPTION_STORE_AUTH_CREDS "store-auth-creds"
90 #define SVN_CONFIG_OPTION_STORE_SSL_CLIENT_CERT_PP "store-ssl-client-cert-pp"
91 #define SVN_CONFIG_OPTION_STORE_SSL_CLIENT_CERT_PP_PLAINTEXT \
92 "store-ssl-client-cert-pp-plaintext"
93 #define SVN_CONFIG_OPTION_USERNAME "username"
95 #define SVN_CONFIG_OPTION_HTTP_BULK_UPDATES "http-bulk-updates"
97 #define SVN_CONFIG_OPTION_HTTP_MAX_CONNECTIONS "http-max-connections"
99 #define SVN_CONFIG_CATEGORY_CONFIG "config"
100 #define SVN_CONFIG_SECTION_AUTH "auth"
102 #define SVN_CONFIG_OPTION_PASSWORD_STORES "password-stores"
104 #define SVN_CONFIG_OPTION_KWALLET_WALLET "kwallet-wallet"
106 #define SVN_CONFIG_OPTION_KWALLET_SVN_APPLICATION_NAME_WITH_PID "kwallet-svn-application-name-with-pid"
108 #define SVN_CONFIG_OPTION_SSL_CLIENT_CERT_FILE_PROMPT "ssl-client-cert-file-prompt"
111 #define SVN_CONFIG_SECTION_HELPERS "helpers"
112 #define SVN_CONFIG_OPTION_EDITOR_CMD "editor-cmd"
113 #define SVN_CONFIG_OPTION_DIFF_CMD "diff-cmd"
115 #define SVN_CONFIG_OPTION_DIFF_EXTENSIONS "diff-extensions"
116 #define SVN_CONFIG_OPTION_DIFF3_CMD "diff3-cmd"
117 #define SVN_CONFIG_OPTION_DIFF3_HAS_PROGRAM_ARG "diff3-has-program-arg"
118 #define SVN_CONFIG_OPTION_MERGE_TOOL_CMD "merge-tool-cmd"
119 #define SVN_CONFIG_SECTION_MISCELLANY "miscellany"
120 #define SVN_CONFIG_OPTION_GLOBAL_IGNORES "global-ignores"
121 #define SVN_CONFIG_OPTION_LOG_ENCODING "log-encoding"
122 #define SVN_CONFIG_OPTION_USE_COMMIT_TIMES "use-commit-times"
124 #define SVN_CONFIG_OPTION_TEMPLATE_ROOT "template-root"
125 #define SVN_CONFIG_OPTION_ENABLE_AUTO_PROPS "enable-auto-props"
126 #define SVN_CONFIG_OPTION_NO_UNLOCK "no-unlock"
127 #define SVN_CONFIG_OPTION_MIMETYPES_FILE "mime-types-file"
128 #define SVN_CONFIG_OPTION_PRESERVED_CF_EXTS "preserved-conflict-file-exts"
130 #define SVN_CONFIG_OPTION_INTERACTIVE_CONFLICTS "interactive-conflicts"
132 #define SVN_CONFIG_OPTION_MEMORY_CACHE_SIZE "memory-cache-size"
133 #define SVN_CONFIG_SECTION_TUNNELS "tunnels"
134 #define SVN_CONFIG_SECTION_AUTO_PROPS "auto-props"
136 #define SVN_CONFIG_SECTION_WORKING_COPY "working-copy"
138 #define SVN_CONFIG_OPTION_SQLITE_EXCLUSIVE "exclusive-locking"
140 #define SVN_CONFIG_OPTION_SQLITE_EXCLUSIVE_CLIENTS "exclusive-locking-clients"
149 #define SVN_CONFIG_SECTION_GENERAL "general"
150 #define SVN_CONFIG_OPTION_ANON_ACCESS "anon-access"
151 #define SVN_CONFIG_OPTION_AUTH_ACCESS "auth-access"
152 #define SVN_CONFIG_OPTION_PASSWORD_DB "password-db"
153 #define SVN_CONFIG_OPTION_REALM "realm"
154 #define SVN_CONFIG_OPTION_AUTHZ_DB "authz-db"
156 #define SVN_CONFIG_OPTION_GROUPS_DB "groups-db"
158 #define SVN_CONFIG_OPTION_FORCE_USERNAME_CASE "force-username-case"
160 #define SVN_CONFIG_OPTION_HOOKS_ENV "hooks-env"
161 #define SVN_CONFIG_SECTION_SASL "sasl"
162 #define SVN_CONFIG_OPTION_USE_SASL "use-sasl"
163 #define SVN_CONFIG_OPTION_MIN_SSF "min-encryption"
164 #define SVN_CONFIG_OPTION_MAX_SSF "max-encryption"
167 #define SVN_CONFIG_SECTION_USERS "users"
176 #ifndef DOXYGEN_SHOULD_SKIP_THIS
177 #define SVN_CONFIG__DEFAULT_GLOBAL_IGNORES_LINE_1 \
178 "*.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo __pycache__"
179 #define SVN_CONFIG__DEFAULT_GLOBAL_IGNORES_LINE_2 \
180 "*.rej *~ #*# .#* .*.swp .DS_Store"
183 #define SVN_CONFIG_DEFAULT_GLOBAL_IGNORES \
184 SVN_CONFIG__DEFAULT_GLOBAL_IGNORES_LINE_1 " " \
185 SVN_CONFIG__DEFAULT_GLOBAL_IGNORES_LINE_2
187 #define SVN_CONFIG_TRUE "TRUE"
188 #define SVN_CONFIG_FALSE "FALSE"
189 #define SVN_CONFIG_ASK "ASK"
194 #define SVN_CONFIG_DEFAULT_OPTION_STORE_PASSWORDS TRUE
195 #define SVN_CONFIG_DEFAULT_OPTION_STORE_PLAINTEXT_PASSWORDS SVN_CONFIG_ASK
196 #define SVN_CONFIG_DEFAULT_OPTION_STORE_AUTH_CREDS TRUE
197 #define SVN_CONFIG_DEFAULT_OPTION_STORE_SSL_CLIENT_CERT_PP TRUE
198 #define SVN_CONFIG_DEFAULT_OPTION_STORE_SSL_CLIENT_CERT_PP_PLAINTEXT \
200 #define SVN_CONFIG_DEFAULT_OPTION_HTTP_MAX_CONNECTIONS 4
218 const char *config_dir,
236 apr_pool_t *result_pool);
248 apr_pool_t *result_pool);
270 apr_pool_t *result_pool);
284 apr_pool_t *result_pool);
296 apr_pool_t *result_pool);
315 apr_pool_t *result_pool);
347 const char *default_value);
399 apr_int64_t default_value);
435 const char* default_value);
455 const char *unknown_value,
503 void *baton, apr_pool_t *pool);
571 const char *section);
581 const char *master_section,
594 const char* server_group,
595 const char* option_name,
596 const char* default_value);
608 const char *server_group,
609 const char *option_name,
610 apr_int64_t default_value,
611 apr_int64_t *result_value,
628 const char *server_group,
629 const char *option_name,
665 #define SVN_CONFIG_REALMSTRING_KEY "svn:realmstring"
684 const char *cred_kind,
685 const char *realmstring,
686 const char *config_dir,
703 const char *cred_kind,
704 const char *realmstring,
705 const char *config_dir,
732 const char *cred_kind,
733 const char *realmstring,
735 apr_pool_t *scratch_pool);
769 apr_pool_t *scratch_pool);
791 const char *config_dir,
812 apr_hash_t *src_hash,