1 /* SPDX-License-Identifier: BSD-3-Clause */
2 #ifndef LIBSLIRP_VERSION_H_
3     #define LIBSLIRP_VERSION_H_
4 
5     #ifdef __cplusplus
6     extern "C" {
7     #endif
8 
9     #define SLIRP_MAJOR_VERSION     4
10     #define SLIRP_MINOR_VERSION     7
11     #define SLIRP_MICRO_VERSION     0
12     #define SLIRP_VERSION_STRING    "4.7.0"
13 
14     #define SLIRP_CHECK_VERSION( major, minor, micro )                           \
15     ( SLIRP_MAJOR_VERSION > ( major ) ||                                         \
16       ( SLIRP_MAJOR_VERSION == ( major ) && SLIRP_MINOR_VERSION > ( minor ) ) || \
17       ( SLIRP_MAJOR_VERSION == ( major ) && SLIRP_MINOR_VERSION == ( minor ) &&  \
18         SLIRP_MICRO_VERSION >= ( micro ) ) )
19 
20     #ifdef __cplusplus
21 } /* extern "C" */
22     #endif
23 
24 #endif /* LIBSLIRP_VERSION_H_ */
25