aboutsummaryrefslogtreecommitdiffstats
path: root/doc/manual/ffi.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/manual/ffi.rst')
-rw-r--r--doc/manual/ffi.rst12
1 files changed, 11 insertions, 1 deletions
diff --git a/doc/manual/ffi.rst b/doc/manual/ffi.rst
index 7a01dc8ae..b7a0d750f 100644
--- a/doc/manual/ffi.rst
+++ b/doc/manual/ffi.rst
@@ -14,7 +14,17 @@ Versioning
.. cpp:function:: uint32_t botan_ffi_api_version()
- Returns the FFI version
+ Returns the version of the currently supported FFI API. This is
+ expressed in the form YYYYMMDD of the release date of this version
+ of the API.
+
+.. cpp:function int botan_ffi_supports_api(uint32_t version)
+
+ Return 0 iff the FFI version specified is supported by this
+ library. Otherwise returns -1. The expression
+ botan_ffi_supports_api(botan_ffi_api_version()) will always
+ evaluate to 0. A particular version of the library may also support
+ other (older) versions of the FFI API.
.. cpp:function:: const char* botan_version_string()