otrl_privkey_read_fingerprints — read the fingerprint store from a file
otrl_privkey_read_fingerprints( | ustate, | |
file, | ||
(add_app_data_callback, data)) ; |
OtrlUserState ustate
;string file
;tuple (add_app_data_callback, data)
;
Read the fingerprint store from file
on disk into the given ustate
.
, is called for each ConnContext so created to let the application add add_app_data_callback
(data=data
, context=the_new_context)app_data
.
The tuple containing the add_app_data_callback
function and the the data
is optional, default is not to use app_data
.
If an error occures, it raises an Exception with the attributes errno
(containing a numeric gcry error code), os_errno
(containing an OS errno, if possible) and strerror
(containing a string describing the error)