From: Marcus Brinkmann Date: Sun, 14 Sep 2003 00:29:42 +0000 (+0000) Subject: 2003-09-14 Marcus Brinkmann X-Git-Tag: gpgme-1.2.0@1385~539 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=eca0f0165e3895d76af6b5305a811cb3c47cac02;p=gpgme.git 2003-09-14 Marcus Brinkmann * gpgme.h: Add prototype for gpgme_set_locale. --- diff --git a/trunk/gpgme/ChangeLog b/trunk/gpgme/ChangeLog index 8ca7718..9950a55 100644 --- a/trunk/gpgme/ChangeLog +++ b/trunk/gpgme/ChangeLog @@ -1,5 +1,7 @@ 2003-09-14 Marcus Brinkmann + * gpgme.h: Add prototype for gpgme_set_locale. + * gpgme.h: Define macro _GPGME_INLINE depending on the compiler characteristics and use that instead __inline__. diff --git a/trunk/gpgme/gpgme.h b/trunk/gpgme/gpgme.h index 7ebb61b..df9a8e7 100644 --- a/trunk/gpgme/gpgme.h +++ b/trunk/gpgme/gpgme.h @@ -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. */