2 * sysinfo.h: share svn_sysinfo__* functions
4 * ====================================================================
5 * Licensed to the Apache Software Foundation (ASF) under one
6 * or more contributor license agreements. See the NOTICE file
7 * distributed with this work for additional information
8 * regarding copyright ownership. The ASF licenses this file
9 * to you under the Apache License, Version 2.0 (the
10 * "License"); you may not use this file except in compliance
11 * with the License. You may obtain a copy of the License at
13 * http://www.apache.org/licenses/LICENSE-2.0
15 * Unless required by applicable law or agreed to in writing,
16 * software distributed under the License is distributed on an
17 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18 * KIND, either express or implied. See the License for the
19 * specific language governing permissions and limitations
21 * ====================================================================
24 #ifndef SVN_LIBSVN_SUBR_SYSINFO_H
25 #define SVN_LIBSVN_SUBR_SYSINFO_H
27 #include <apr_pools.h>
28 #include <apr_tables.h>
32 #endif /* __cplusplus */
34 /* Return a canonical name similar to the output of config.guess,
35 * identifying the running system.
37 * All allocations are done in POOL.
39 const char *svn_sysinfo__canonical_host(apr_pool_t *pool);
41 /* Return the release name (i.e., marketing name) of the running
42 * system, or NULL if it's not available.
44 * All allocations are done in POOL.
46 const char *svn_sysinfo__release_name(apr_pool_t *pool);
48 /* Return an array of svn_version_linked_lib_t of descriptions of the
49 * link-time and run-time versions of dependent libraries, or NULL of
50 * the info is not available.
52 * All allocations are done in POOL.
54 const apr_array_header_t *svn_sysinfo__linked_libs(apr_pool_t *pool);
56 /* Return an array of svn_version_loaded_lib_t of descriptions of
57 * shared libraries loaded by the running process, including their
58 * versions where applicable, or NULL if the information is not
61 * All allocations are done in POOL.
63 const apr_array_header_t *svn_sysinfo__loaded_libs(apr_pool_t *pool);
67 #endif /* __cplusplus */
69 #endif /* SVN_LIBSVN_SUBR_SYSINFO_H */