2003-09-14 Marcus Brinkmann <marcus@g10code.de>

* gpgme.h: Add prototype for gpgme_set_locale.
This commit is contained in:
Marcus Brinkmann 2003-09-14 00:29:42 +00:00
parent 36e27200b7
commit e4792cfb7d
2 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,7 @@
2003-09-14 Marcus Brinkmann <marcus@g10code.de>
* gpgme.h: Add prototype for gpgme_set_locale.
* gpgme.h: Define macro _GPGME_INLINE depending on the compiler
characteristics and use that instead __inline__.

View File

@ -719,6 +719,10 @@ void gpgme_set_progress_cb (gpgme_ctx_t c, gpgme_progress_cb_t cb,
void gpgme_get_progress_cb (gpgme_ctx_t ctx, gpgme_progress_cb_t *cb,
void **hook_value);
/* This function sets the locale for the context CTX, or the default
locale if CTX is a null pointer. */
gpgme_error_t gpgme_set_locale (gpgme_ctx_t ctx, int category,
const char *value);
/* Return a statically allocated string with the name of the public
key algorithm ALGO, or NULL if that name is not known. */