libptpmgmt
1.4
libptpmgmt library that provides the functionality of linuxptp pmc
pub
ver.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: LGPL-3.0-or-later
2
SPDX-FileCopyrightText: Copyright © 2021 Erez Geva <ErezGeva2@gmail.com> */
3
15
#ifndef __PTPMGMT_VER_H
16
#define __PTPMGMT_VER_H
17
18
#include "
name.h
"
19
20
__PTPMGMT_NAMESPACE_BEGIN
21
27
#define LIBPTPMGMT_VER_MAJ (1)
33
#define LIBPTPMGMT_VER_MIN (4)
39
#define LIBPTPMGMT_VER_VAL (0x0104)
45
#define LIBPTPMGMT_VER "1.4"
46
47
#ifdef __cplusplus
52
const
char
*
getVersion
();
57
int
getVersionMajor
();
62
int
getVersionMinor
();
68
unsigned
getVersionValue
();
69
70
__PTPMGMT_NAMESPACE_END
71
#else
/* __cplusplus */
72
#include "
c/ver.h
"
73
#endif
/* __cplusplus */
74
75
#endif
/* __PTPMGMT_VER_H */
ver.h
Version functions for C.
name.h
Define name space.
getVersion
const char * getVersion()
getVersionValue
unsigned getVersionValue()
getVersionMinor
int getVersionMinor()
getVersionMajor
int getVersionMajor()
Generated by
1.9.1