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

Version functions. More...

#include "name.h"
Include dependency graph for ver.h:

Go to the source code of this file.

Macros

#define LIBPTPMGMT_VER_MAJ   (1)
 
#define LIBPTPMGMT_VER_MIN   (3)
 
#define LIBPTPMGMT_VER_VAL   (0x0103)
 
#define LIBPTPMGMT_VER   "1.3"
 

Functions

const char * getVersion ()
 
int getVersionMajor ()
 
int getVersionMinor ()
 
unsigned getVersionValue ()
 

Detailed Description

Version functions.

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.

Macro Definition Documentation

◆ LIBPTPMGMT_VER

#define LIBPTPMGMT_VER   "1.3"

Compilation library version string

Note
script should use getVersion()
Available for C

◆ LIBPTPMGMT_VER_MAJ

#define LIBPTPMGMT_VER_MAJ   (1)

Compilation library version major

Note
script should use getVersionMajor()
Available for C

◆ LIBPTPMGMT_VER_MIN

#define LIBPTPMGMT_VER_MIN   (3)

Compilation library version minor

Note
script should use getVersionMinor()
Available for C

◆ LIBPTPMGMT_VER_VAL

#define LIBPTPMGMT_VER_VAL   (0x0103)

Compilation library version value

Note
script should use getVersionValue()
Available for C

Function Documentation

◆ getVersion()

const char* getVersion ( )

Get this library version

Returns
this library version

◆ getVersionMajor()

int getVersionMajor ( )

Get this library major version

Returns
this library version major

◆ getVersionMinor()

int getVersionMinor ( )

Get this library minor version

Returns
this library version minor

◆ getVersionValue()

unsigned 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