diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libusbmuxd.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libusbmuxd.c b/src/libusbmuxd.c index 4c2e7d8..39b3e5e 100644 --- a/src/libusbmuxd.c +++ b/src/libusbmuxd.c @@ -1803,3 +1803,11 @@ void libusbmuxd_set_debug_level(int level) libusbmuxd_debug = level; socket_set_verbose(level); } + +const char* libusbmuxd_version() +{ +#ifndef PACKAGE_VERSION +#error PACKAGE_VERSION is not defined +#endif + return PACKAGE_VERSION; +} |