GNU Info

Info Node: (gpgme.info)Progress Meter Callback

(gpgme.info)Progress Meter Callback


Prev: Passphrase Callback Up: Context Attributes
Enter node , (file) or (file)node

Progress Meter Callback
-----------------------

 - Data type: const char *(*GpgmeProgressCb)(void *HOOK, const char
*WHAT, int TYPE, int CURRENT, int TOTAL)
     The `GpgmeProgressCb' type is the type of functions usable as
     progress callback function.

     The arguments are specific to the crypto engine.  More information
     about the progress information returned from the GnuPG engine can
     be found in the GnuPG source code in the file `doc/DETAILS' in the
     section PROGRESS.

 - Function: void gpgme_set_progress_cb (GpgmeCtx CTX,
          GpgmeProgressCb PROGFUNC, void *HOOK_VALUE)
     The function `gpgme_set_progress_cb' sets the function that is
     used when progress information about a cryptographic operation is
     available.  The function PROGFUNC needs to implemented by the
     user, and whenever it is called, it is called with its first
     argument being HOOK_VALUE.  By default, no progress callback
     function is set.

     Setting a callback function allows an interactive program to
     display progress information about a long operation to the user.

     The user can disable the use of a progress callback function by
     calling `gpgme_set_progress_cb' with PROGFUNC being `NULL'.


automatically generated by info2www version 1.2.2.9