libhasha 2.2.2
Loading...
Searching...
No Matches
ver.h File Reference
#include "internal.h"
Include dependency graph for ver.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ha_version_t

Functions

HA_PUBFUN ha_version_t ha_version (void)
 Retrieves the version information of the hash library.

Function Documentation

◆ ha_version()

HA_PUBFUN ha_version_t ha_version ( void )

Retrieves the version information of the hash library.

This function returns the version information for the hash library as a ha_version_t structure, which contains the major, minor, and patch version components. This function is typically used to check the library version programmatically.

Returns
A ha_version_t structure containing the version:
  • major: The major version component of the library.
  • minor: The minor version component of the library.
  • patch: The patch version component of the library.