diff options
author | Martin Pool <mbp@sourcefrog.net> | 2015-11-22 22:10:18 -0800 |
---|---|---|
committer | Martin Pool <mbp@sourcefrog.net> | 2015-11-22 22:10:18 -0800 |
commit | 8763b7ca5ffda8871afeef17ad17e6fe1773b7d4 (patch) | |
tree | d789022e180137ba28e87cbeb3bd2719542af24b /src/librsync.h | |
parent | bbbfc268e33df4c72890907a1f50c8ba3d822e62 (diff) | |
download | librsync-rust.tar.gz |
Add new rs_version() to get the library versionrust
Diffstat (limited to 'src/librsync.h')
-rw-r--r-- | src/librsync.h | 4 |
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; |