uvgRTP 4.0.0
An open-source library for RTP/SRTP media delivery
Loading...
Searching...
No Matches
version.hh
1#pragma once
2
3#include "uvgrtp/definitions.hh"
4#include "uvgrtp/export.hh"
5
6#include <cstdint>
7#include <string>
8
9namespace uvgrtp {
10
20 uint16_t UVGRTP_EXPORT get_version_major();
21
27 uint16_t UVGRTP_EXPORT get_version_minor();
28
34 uint16_t UVGRTP_EXPORT get_version_patch();
35
41 const char* UVGRTP_EXPORT get_version_cstr();
42
48 const char* UVGRTP_EXPORT get_git_hash_cstr();
49
52#if UVGRTP_EXTENDED_API
53
63 std::string get_version();
64
70 std::string get_git_hash();
71
74#endif
75
76} // namespace uvgrtp
uint16_t UVGRTP_EXPORT get_version_major()
Get the major version number of uvgRTP.
uint16_t UVGRTP_EXPORT get_version_minor()
Get the minor version number of uvgRTP.
uint16_t UVGRTP_EXPORT get_version_patch()
Get the patch version number of uvgRTP.
const char *UVGRTP_EXPORT get_version_cstr()
Get the full version string of uvgRTP as a C string.
const char *UVGRTP_EXPORT get_git_hash_cstr()
Get the Git commit hash of the uvgRTP build as a C string.
std::string get_git_hash()
Get the Git commit hash of the uvgRTP build.
std::string get_version()
Get the full version string of uvgRTP.