libptpmgmt 2.0
libptpmgmt library that provides the functionality of linuxptp pmc
Loading...
Searching...
No Matches
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 (2)
33#define LIBPTPMGMT_VER_MIN (0)
39#define LIBPTPMGMT_VER_VAL (0x0200)
45#define LIBPTPMGMT_VER "2.0"
46
47#ifdef __cplusplus
52const char *getVersion();
68unsigned getVersionValue();
69
70__PTPMGMT_NAMESPACE_END
71#else /* __cplusplus */
72#include "c/ver.h"
73#endif /* __cplusplus */
74
75#endif /* __PTPMGMT_VER_H */
Version functions for C.
Define name space.
unsigned getVersionValue()
const char * getVersion()
int getVersionMinor()
int getVersionMajor()