VCLinux Library Documentation  3.13.0

Helper Functions

Helper Functions
+ Collaboration diagram for Helper Functions:

Macros

#define vc_libvclinux_check_header_ver()   vc_libvclinux_check_header_ver_func(LIBVCLINUX_MAINVERSION,LIBVCLINUX_VERSION,LIBVCLINUX_SUBVERSION)
 Version Compatibility Check between Header and Linked Library. More...
 
#define vc_libvcimgnet_check_header_ver()   vc_libvcimgnet_check_header_ver_func(LIBVCIMGNET_MAINVERSION,LIBVCIMGNET_VERSION,LIBVCIMGNET_SUBVERSION)
 Version Compatibility Check between Header and Linked Library. More...
 

Functions

void GetLibVer_LIBVCLINUX (int *MainVersion, int *Version, int *SubVersion)
 Version Information of the libvclinux as Numbers. More...
 
char * GetLibVerString_LIBVCLINUX (void)
 Version Information of the libvclinux as String. More...
 
void GetLibVer_LIBVCIMGNET (int *MainVersion, int *Version, int *SubVersion)
 Version Information of the libvcimgnet as Numbers. More...
 
char * GetLibVerString_LIBVCIMGNET (void)
 Version Information of the libvcimgnet as String. More...
 

Detailed Description

Macro Definition Documentation

◆ vc_libvclinux_check_header_ver

#define vc_libvclinux_check_header_ver ( )    vc_libvclinux_check_header_ver_func(LIBVCLINUX_MAINVERSION,LIBVCLINUX_VERSION,LIBVCLINUX_SUBVERSION)

This macro compares the version information at the header used at compile time with the version of the library linked at compile time. If the header used is incompatible with the library linked against, this macro returns an error.

Return values
-1if Main Version of Library differs from the Header's Main Version (General Incompatibility).
+1if Version of Library is smaller than the Header's Version (Features may be missing).
0else.

◆ vc_libvcimgnet_check_header_ver

#define vc_libvcimgnet_check_header_ver ( )    vc_libvcimgnet_check_header_ver_func(LIBVCIMGNET_MAINVERSION,LIBVCIMGNET_VERSION,LIBVCIMGNET_SUBVERSION)

This macro compares the version information at the header used at compile time with the version of the library linked at compile time. If the header used is incompatible with the library linked against, this macro returns an error.

Return values
-1if Main Version of Library differs from the Header's Main Version (General Incompatibility).
+1if Version of Library is smaller than the Header's Version (Features may be missing).
0else.

Function Documentation

◆ GetLibVer_LIBVCLINUX()

void GetLibVer_LIBVCLINUX ( int *  MainVersion,
int *  Version,
int *  SubVersion 
)
Parameters
MainVersionMain Version Number.
VersionVersion Number.
SubVersionSubversion Number.

◆ GetLibVerString_LIBVCLINUX()

char* GetLibVerString_LIBVCLINUX ( void  )
Return values
Pointerto the Output String.

◆ GetLibVer_LIBVCIMGNET()

void GetLibVer_LIBVCIMGNET ( int *  MainVersion,
int *  Version,
int *  SubVersion 
)
Parameters
MainVersionMain Version Number.
VersionVersion Number.
SubVersionSubversion Number.

◆ GetLibVerString_LIBVCIMGNET()

char* GetLibVerString_LIBVCIMGNET ( void  )
Return values
Pointerto the Output String.