From a435ebf661dfe76347e034f0e2e69a5168492384 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Tue, 26 Mar 2024 21:21:55 +0100 Subject: Add libusbmuxd_version() function to interface --- include/usbmuxd.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include') diff --git a/include/usbmuxd.h b/include/usbmuxd.h index cb31fa0..859fccd 100644 --- a/include/usbmuxd.h +++ b/include/usbmuxd.h @@ -334,6 +334,13 @@ USBMUXD_API void libusbmuxd_set_use_inotify(int set); USBMUXD_API void libusbmuxd_set_debug_level(int level); +/** + * Returns a static string of the libusbmuxd version. + * + * @return The libusbmuxd version as static ascii string + */ +USBMUXD_API const char* libusbmuxd_version(); + #ifdef __cplusplus } #endif -- cgit v1.1-32-gdbae