summaryrefslogtreecommitdiff
path: root/src/librsync.h
diff options
context:
space:
mode:
authorMartin Pool <mbp@sourcefrog.net>2015-11-22 22:10:18 -0800
committerMartin Pool <mbp@sourcefrog.net>2015-11-22 22:10:18 -0800
commit8763b7ca5ffda8871afeef17ad17e6fe1773b7d4 (patch)
treed789022e180137ba28e87cbeb3bd2719542af24b /src/librsync.h
parentbbbfc268e33df4c72890907a1f50c8ba3d822e62 (diff)
downloadlibrsync-rust.tar.gz
Add new rs_version() to get the library versionrust
Diffstat (limited to 'src/librsync.h')
-rw-r--r--src/librsync.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/librsync.h b/src/librsync.h
index e9eb822..430b6e4 100644
--- a/src/librsync.h
+++ b/src/librsync.h
@@ -47,9 +47,11 @@
extern "C" {
#endif
-extern char const rs_librsync_version[];
+/* rs_librsync_version was replaced by rs_version() in 2.0 */
extern char const rs_licence_string[];
+const char* rs_version();
+
typedef unsigned char rs_byte_t;