diff options
author | Justus Winter <[email protected]> | 2016-05-23 16:09:22 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2016-05-23 16:09:22 +0000 |
commit | 5476ca6813fc9d8833d5224f19d4bb7515380ab5 (patch) | |
tree | f949f61996e7a90b944b01a40b5d5164c95a7d08 /lang/python/helpers.h | |
parent | python: Port more tests. (diff) | |
download | gpgme-5476ca6813fc9d8833d5224f19d4bb7515380ab5.tar.gz gpgme-5476ca6813fc9d8833d5224f19d4bb7515380ab5.zip |
python: Move edit callback function.
* lang/python/gpgme.i (pyEditCb): Move...
* lang/python/helpers.c: ... here.
* lang/python/helpers.h (pyEditCb): New prototype.
Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'lang/python/helpers.h')
-rw-r--r-- | lang/python/helpers.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lang/python/helpers.h b/lang/python/helpers.h index 81d17ffa..4bd8ef81 100644 --- a/lang/python/helpers.h +++ b/lang/python/helpers.h @@ -35,3 +35,6 @@ PyObject *pygpgme_raise_callback_exception(PyObject *self); void pygpgme_set_passphrase_cb(gpgme_ctx_t ctx, PyObject *cb, PyObject **freelater); void pygpgme_set_progress_cb(gpgme_ctx_t ctx, PyObject *cb, PyObject **freelater); + +gpgme_error_t pyEditCb(void *opaque, gpgme_status_code_t status, + const char *args, int fd); |