Don't create the tooltips as topmost, and don't position them as topmost either but...
[TortoiseGit.git] / src / TortoiseMerge / svninclude / svn_dso.h
blob3a386c84665e74e1ab376a874a4ede3bdd6a6d2c
1 /**
2 * @copyright
3 * ====================================================================
4 * Licensed to the Apache Software Foundation (ASF) under one
5 * or more contributor license agreements. See the NOTICE file
6 * distributed with this work for additional information
7 * regarding copyright ownership. The ASF licenses this file
8 * to you under the Apache License, Version 2.0 (the
9 * "License"); you may not use this file except in compliance
10 * with the License. You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing,
15 * software distributed under the License is distributed on an
16 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 * KIND, either express or implied. See the License for the
18 * specific language governing permissions and limitations
19 * under the License.
20 * ====================================================================
21 * @endcopyright
23 * @file svn_dso.h
24 * @brief DSO loading routines
29 #ifndef SVN_DSO_H
30 #define SVN_DSO_H
32 #include <apr_dso.h>
34 #include "svn_types.h"
36 #ifdef __cplusplus
37 extern "C" {
38 #endif /* __cplusplus */
40 /**
41 * Initialize the DSO loading routines.
43 * @note This should be called prior to the creation of any pool that
44 * is passed to a function that comes from a DSO, otherwise you
45 * risk having the DSO unloaded before all pool cleanup callbacks
46 * that live in the DSO have been executed. If it is not called
47 * prior to @c svn_dso_load being used for the first time there
48 * will be a best effort attempt made to initialize the subsystem,
49 * but it will not be entirely thread safe and it risks running
50 * into the previously mentioned problems with DSO unloading and
51 * pool cleanup callbacks.
53 * Returns svn_error_t object with corresponding apr_err returned by
54 * underlying calls. In case of no error returns @c SVN_NO_ERROR.
56 * @since New in 1.6.
58 svn_error_t *
59 svn_dso_initialize2(void);
61 /** The same as svn_dso_initialize2(), except that if there is an error this
62 * calls abort() instead of returning the error.
64 * @deprecated Provided for backwards compatibility with the 1.5 API.
66 * @since New in 1.4.
68 SVN_DEPRECATED
69 void
70 svn_dso_initialize(void);
73 #if APR_HAS_DSO
75 /**
76 * Attempt to load @a libname, returning it in @a *dso.
78 * If @a libname cannot be loaded set @a *dso to NULL and return
79 * @c SVN_NO_ERROR.
81 * @note Due to pool lifetime issues DSOs are all loaded into a global
82 * pool, so you must be certain that there is a bounded number of
83 * them that will ever be loaded by the system, otherwise you will
84 * leak memory.
86 * @since New in 1.4.
88 svn_error_t *
89 svn_dso_load(apr_dso_handle_t **dso,
90 const char *libname);
92 #endif /* APR_HAS_DSO */
95 #ifdef __cplusplus
97 #endif /* __cplusplus */
99 #endif /* SVN_DSO_H */