gpgme progress meter callback

Jacob Perkins jap1 at users.sourceforge.net
Sat Sep 7 22:45:02 CEST 2002


I'm confused about how to use the progess meter callback setup in gpgme.
How do I construct a GpgmeProgessCb and a HookValue?

Here's what I did, and it caused a segfault when I called
gpgme_op_generate:

GpgmeProgressCb *progfunc = "progress";	
gpgme_set_progress_cb (ctx, *progfunc, key_status);


and then I have:
void
progress (gpointer status, gchar *what, gint type, gint current, gint
total){}


key_status is a gnome_appbar with a progress meter.

Thanks for any help

-- 
pub  1024D/57DDD9E3 2002-05-24 Jacob (Direct to Home)
<jap1 at rig.dyndns.ws>
Key fingerprint = 1E02 A5FD 8162 4322 C674  6E67 05EB 30F1 57DD D9E3




More information about the Gnupg-devel mailing list