subversion/libsvn_ra_svn/ra_init.h (10 lines of code) (raw):

/* * libsvn_ra_svn/ra_init.h: Exported function of libsvn_ra_svn * * ==================================================================== * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. * ==================================================================== */ #ifndef SVN_LIBSVN_RA_SVN_INIT #define SVN_LIBSVN_RA_SVN_INIT #include "../libsvn_ra/ra_loader.h" /** * Initialize libsvn_ra_svn library. * * Use @a pool for temporary allocations. * * @return RA module version-@a loader_version. * @return RA vtable-@a vtable. */ svn_error_t *svn_ra_svn__init(const svn_version_t *loader_version, const svn_ra__vtable_t **vtable, apr_pool_t *pool); /** * Compatibility wrapper around svn_ra_svn__init. * * Use @a pool for temporary allocations. * * @return @a hash with the scheme as the key and the vtable as the value. */ svn_error_t *svn_ra_svn__compat_init(int abi_version, apr_pool_t *pool, apr_hash_t *hash); #endif