From 5476ca6813fc9d8833d5224f19d4bb7515380ab5 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Mon, 23 May 2016 18:09:22 +0200 Subject: 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 --- lang/python/helpers.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lang/python/helpers.h') 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); -- cgit v1.2.3