diff options
author | Karl-Heinz Zimmer <[email protected]> | 2002-06-19 12:56:43 +0000 |
---|---|---|
committer | Karl-Heinz Zimmer <[email protected]> | 2002-06-19 12:56:43 +0000 |
commit | c445a85ff255ca85912c2731e731e1e13dc3d58d (patch) | |
tree | e10881cecb83eb8cc81f8d576633df1806dab424 /gpgmeplug/cryptplug.h | |
parent | Use gpgme_get_sig_ulong_attr(.., GPGME_ATTR_SIG_SUMMARY ) function to return ... (diff) | |
download | gpgme-c445a85ff255ca85912c2731e731e1e13dc3d58d.tar.gz gpgme-c445a85ff255ca85912c2731e731e1e13dc3d58d.zip |
Bugfix #949: (a) call gpgme_check_version(NULL) during initialization and (b) provide additional function libVersion(void) to retrieve the library version used - this function has been added to the CryptPlug API as new *MUST* function for all implementations.
Diffstat (limited to 'gpgmeplug/cryptplug.h')
-rw-r--r-- | gpgmeplug/cryptplug.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gpgmeplug/cryptplug.h b/gpgmeplug/cryptplug.h index c07f4cf8..03b1715b 100644 --- a/gpgmeplug/cryptplug.h +++ b/gpgmeplug/cryptplug.h @@ -301,6 +301,19 @@ typedef unsigned long SigStatusFlags; /*! \ingroup groupGeneral + \brief This function returns the version string of this cryptography + plug-in. + + If the plugins initialization fails the calling process might want + to display the library version number to the user for checking if + there is an old version of the library installed... + + \note This function <b>must</b> be implemented by each plug-in using + this API specification. +*/ +const char* libVersion( void ); + +/*! \ingroup groupGeneral \brief This function returns a URL to be used for reporting a bug that you found (or suspect, resp.) in this cryptography plug-in. |