aboutsummaryrefslogtreecommitdiffstats
path: root/gpgmeplug/cryptplug.h
diff options
context:
space:
mode:
authorSteffen Hansen <[email protected]>2002-06-10 11:24:39 +0000
committerSteffen Hansen <[email protected]>2002-06-10 11:24:39 +0000
commit7b8ab474d31273d0542a5fabe6031a0936f67920 (patch)
tree89097e7815f2958fa5e8e2e87a12b925dab730f4 /gpgmeplug/cryptplug.h
parent* gpgsm/t-encrypt.c (main): Add a simple option parser and allow (diff)
downloadgpgme-7b8ab474d31273d0542a5fabe6031a0936f67920.tar.gz
gpgme-7b8ab474d31273d0542a5fabe6031a0936f67920.zip
more cert. info features
Diffstat (limited to 'gpgmeplug/cryptplug.h')
-rw-r--r--gpgmeplug/cryptplug.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gpgmeplug/cryptplug.h b/gpgmeplug/cryptplug.h
index f45fed9e..aa0b9129 100644
--- a/gpgmeplug/cryptplug.h
+++ b/gpgmeplug/cryptplug.h
@@ -1733,15 +1733,15 @@ struct CertificateInfo {
struct DnPair *dnarray; /* parsed values from userid[0] */
};
-/*! \function struct CertIterator* startListCertificates( void );
+/*! \function struct CertIterator* startListCertificates( const char* pattern );
\function struct CertificateInfo* nextCertificate( struct CertIterator* );
\function void endListCertificates( struct CertIterator* );
\ingroup certList
- Example:
+ Example that runs through certs matching "Steffen":
\verbatim
struct CertificateInfo* info;
- struct CertIterator* it = startListCertificates();
+ struct CertIterator* it = startListCertificates("Steffen");
while( info = nextCertificate( it ) ) {
do something with info.
dont free() it, the struct will be reused
@@ -1750,7 +1750,7 @@ struct CertificateInfo {
endListCertificates( it );
\endverbatim
*/
-struct CertIterator* startListCertificates( void );
+struct CertIterator* startListCertificates( const char* pattern );
struct CertificateInfo* nextCertificate( struct CertIterator* );
void endListCertificates( struct CertIterator* );