librpipVersionInt

void librpipVersionInt(uint8_t* maj, uint8_t* min, uint8_t* sub);

Description

This function returns the version of librpip in use as integers.

Parameters

  • uint8_t* maj
    A pointer to a uint8_t to hold the major version number.
  • uint8_t* min
    A pointer to a uint8_t to hold the minor version number.
  • uint8_t* sub
    A pointer to a uint8_t to hold thesub version number.

Returns

Nothing

Example

Get and print the librpip version.

uint8_t a,b,c;
librpipVersionInt(&a,&b,&c);
fprintf(stdout,"The librpip version is: %u.%u.%u",a,b,c);