libstorage-ng
Loading...
Searching...
No Matches
Version.h
1/*
2 * Copyright (c) 2011 Novell, Inc.
3 * Copyright (c) [2016-2023] SUSE LLC
4 *
5 * All Rights Reserved.
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of version 2 of the GNU General Public License as published
9 * by the Free Software Foundation.
10 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 * more details.
15 *
16 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, contact Novell, Inc.
18 *
19 * To contact Novell about this file by physical or electronic mail, you may
20 * find current contact information at www.novell.com.
21 */
22
23
24#ifndef STORAGE_VERSION_H
25#define STORAGE_VERSION_H
26
27
28#include "storage/Utils/Swig.h"
29
30
31#define LIBSTORAGE_NG_VERSION_STRING "1.95.3"
32
33#define LIBSTORAGE_NG_VERSION_MAJOR 1
34#define LIBSTORAGE_NG_VERSION_MINOR 95
35#define LIBSTORAGE_NG_VERSION_PATCHLEVEL 3
36
37#define LIBSTORAGE_NG_VERSION_AT_LEAST(major, minor) \
38 ((LIBSTORAGE_NG_VERSION_MAJOR > (major)) || \
39 (LIBSTORAGE_NG_VERSION_MAJOR == (major) && LIBSTORAGE_NG_VERSION_MINOR >= (minor)))
40
41
42namespace storage
43{
44
49 const char* get_libversion_string();
50
51 const char* get_version_string() ST_DEPRECATED;
52
53}
54
55
56#endif
The storage namespace.
Definition: Actiongraph.h:40
const char * get_libversion_string()
Return LIBSTORAGE_NG_VERSION_STRING libstorage-ng was compiled with.