libptpmgmt  1.3
libptpmgmt library that provides the functionality of linuxptp pmc
Functions
ver.h File Reference

Version functions for C. More...

Go to the source code of this file.

Functions

const char * ptpmgmt_getVersion ()
 
int ptpmgmt_getVersionMajor ()
 
int ptpmgmt_getVersionMinor ()
 
unsigned ptpmgmt_getVersionValue ()
 

Detailed Description

Version functions for C.

Author
Erez Geva <ErezGeva2@gmail.com>

This header is generated automatically.

Note
The compilation macroes are provided for compilation only scripts should use version functions.

Function Documentation

◆ ptpmgmt_getVersion()

const char* ptpmgmt_getVersion ( )

Get this library version

Returns
this library version

◆ ptpmgmt_getVersionMajor()

int ptpmgmt_getVersionMajor ( )

Get this library major version

Returns
this library version major

◆ ptpmgmt_getVersionMinor()

int ptpmgmt_getVersionMinor ( )

Get this library minor version

Returns
this library version minor

◆ ptpmgmt_getVersionValue()

unsigned ptpmgmt_getVersionValue ( )

Get this library version in 16 bits value

Returns
this library version value
Note
version value use high byte for major and low byte for minor