VirtualBox

source: vbox/trunk/src/VBox/Main/src-helper-apps/VBoxVolInfo/libdevmapper.cpp@ 100709

Last change on this file since 100709 was 98721, checked in by vboxsync, 22 months ago

Main/VBoxVolInfo: Don't link directly against libdevmapper but use the IPRT runtime loader to get rid of the buildtime dependency, bugref:10367 [scm fixes]

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.1 KB
Line 
1/* $Id: libdevmapper.cpp 98721 2023-02-24 12:32:25Z vboxsync $ */
2/** @file
3 *
4 * Module to dynamically load libdevmapper and load all symbols
5 * which are needed by VBoxVolInfo.
6 */
7
8/*
9 * Copyright (C) 2023 Oracle and/or its affiliates.
10 *
11 * This file is part of VirtualBox base platform packages, as
12 * available from https://www.virtualbox.org.
13 *
14 * This program is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU General Public License
16 * as published by the Free Software Foundation, in version 3 of the
17 * License.
18 *
19 * This program is distributed in the hope that it will be useful, but
20 * WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22 * General Public License for more details.
23 *
24 * You should have received a copy of the GNU General Public License
25 * along with this program; if not, see <https://www.gnu.org/licenses>.
26 *
27 * SPDX-License-Identifier: GPL-3.0-only
28 */
29
30#define LOG_GROUP RTLOGGROUP_LDR
31#include "libdevmapper.h"
32
33/* Declarations of the functions that we need from libdevmapper */
34#define VBOX_LIBDEVMAPPER_GENERATE_BODY
35#include "libdevmapper-calls.h"
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette