diff options
author | Werner Koch <wk@gnupg.org> | 2016-11-12 11:06:22 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2016-11-12 11:06:22 +0100 |
commit | b7972767513c8748096ebed78d1e1621bd2bd459 (patch) | |
tree | a9b75c67684e2fa835d79d18776139df37c01409 /src/gpgrt-int.h | |
parent | 25d463c67821901c8fd6736c815f11e85bbae66f (diff) | |
download | libgpg-error-b7972767513c8748096ebed78d1e1621bd2bd459.tar.gz |
Add new interface gpgrt_get_syscall_clamp.
* src/visibility.c (gpgrt_get_syscall_clamp): New.
* src/gpg-error.vers, src/gpg-error.def.in: Add function.
* src/gpg-error.h.in: Ditto.
* src/estream.c (_gpgrt_get_syscall_clamp): New.
--
This function can be used by other libraries to set their own system
clamp functions.
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'src/gpgrt-int.h')
-rw-r--r-- | src/gpgrt-int.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpgrt-int.h b/src/gpgrt-int.h index d69fe2c..b2b553b 100644 --- a/src/gpgrt-int.h +++ b/src/gpgrt-int.h @@ -53,6 +53,7 @@ gpg_err_code_t _gpgrt_yield (void); /* Local prototypes for estream. */ int _gpgrt_es_init (void); void _gpgrt_set_syscall_clamp (void (*pre)(void), void (*post)(void)); +void _gpgrt_get_syscall_clamp (void (**r_pre)(void), void (**r_post)(void)); gpgrt_stream_t _gpgrt_fopen (const char *_GPGRT__RESTRICT path, const char *_GPGRT__RESTRICT mode); |