diff options
author | Marcus Brinkmann <[email protected]> | 2003-09-14 00:29:42 +0000 |
---|---|---|
committer | Marcus Brinkmann <[email protected]> | 2003-09-14 00:29:42 +0000 |
commit | e4792cfb7dccbd5dea1aae099ef8fd473d541c74 (patch) | |
tree | b43b9995a6b109978c6ab8ee11da315727fbf062 | |
parent | 2003-09-14 Marcus Brinkmann <[email protected]> (diff) | |
download | gpgme-e4792cfb7dccbd5dea1aae099ef8fd473d541c74.tar.gz gpgme-e4792cfb7dccbd5dea1aae099ef8fd473d541c74.zip |
2003-09-14 Marcus Brinkmann <[email protected]>
* gpgme.h: Add prototype for gpgme_set_locale.
-rw-r--r-- | gpgme/ChangeLog | 2 | ||||
-rw-r--r-- | gpgme/gpgme.h | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gpgme/ChangeLog b/gpgme/ChangeLog index 8ca7718b..9950a552 100644 --- a/gpgme/ChangeLog +++ b/gpgme/ChangeLog @@ -1,5 +1,7 @@ 2003-09-14 Marcus Brinkmann <[email protected]> + * 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/gpgme/gpgme.h b/gpgme/gpgme.h index 7ebb61b5..df9a8e7b 100644 --- a/gpgme/gpgme.h +++ b/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. */ |