2001-11-22 Marcus Brinkmann <marcus@gnu.org>

* engine-gpgsm.c: Shuffle around header inclusion a bit, to still
	keep them seperate.
	(_gpgme_set_status_handler) [!ENABLE_GPGSM]: New function.
This commit is contained in:
Marcus Brinkmann 2001-11-22 13:47:46 +00:00
parent 9ece643cba
commit c23a9b5e74
2 changed files with 20 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2001-11-22 Marcus Brinkmann <marcus@gnu.org>
* engine-gpgsm.c: Shuffle around header inclusion a bit, to still
keep them seperate.
(_gpgme_set_status_handler) [!ENABLE_GPGSM]: New function.
2001-11-22 Werner Koch <wk@gnupg.org> 2001-11-22 Werner Koch <wk@gnupg.org>
* engine-gpgsm.c: Include more headers so that NULL and mk_error * engine-gpgsm.c: Include more headers so that NULL and mk_error

View File

@ -28,17 +28,17 @@
#define ENABLE_GPGSM 1 #define ENABLE_GPGSM 1
#endif #endif
#ifdef ENABLE_GPGSM
#include <sys/types.h> #include <sys/types.h>
#include <assert.h> #include <assert.h>
#ifdef ENABLE_GPGSM
/* FIXME */ /* FIXME */
#include "../assuan/assuan-defs.h" #include "../assuan/assuan-defs.h"
#undef xtrymalloc #undef xtrymalloc
#undef xtrycalloc #undef xtrycalloc
#undef xtryrealloc #undef xtryrealloc
#undef xfree #undef xfree
#endif /*ENABLE_GPGSM*/
#include "gpgme.h" #include "gpgme.h"
#include "util.h" #include "util.h"
@ -47,8 +47,6 @@
#include "wait.h" #include "wait.h"
#include "io.h" #include "io.h"
#ifdef ENABLE_GPGSM
#include "engine-gpgsm.h" #include "engine-gpgsm.h"
#include "assuan.h" #include "assuan.h"
@ -312,6 +310,11 @@ _gpgme_gpgsm_start (GpgsmObject gpgsm, void *opaque)
#else /* ENABLE_GPGSM */ #else /* ENABLE_GPGSM */
#include <stddef.h>
#include "util.h"
#include "engine-gpgsm.h"
const char * const char *
_gpgme_gpgsm_get_version (void) _gpgme_gpgsm_get_version (void)
{ {
@ -336,6 +339,13 @@ _gpgme_gpgsm_release (GpgsmObject gpgsm)
return; return;
} }
void
_gpgme_gpgsm_set_status_handler (GpgsmObject gpgsm,
GpgStatusHandler fnc, void *fnc_value)
{
return;
}
GpgmeError GpgmeError
_gpgme_gpgsm_op_verify (GpgsmObject gpgsm, GpgmeData sig, GpgmeData text) _gpgme_gpgsm_op_verify (GpgsmObject gpgsm, GpgmeData sig, GpgmeData text)
{ {