* types.h (EngineObject): Move typedef to ...
* engine.h: ... here.
* types.h (GpgObject): Move typedef to ...
* rungpg.c: ... here.
* types.h (GpgsmObject): Move typedef to ...
* engine-gpgsm.c: ... here.
2003-01-30 Marcus Brinkmann <marcus@g10code.de>
+ * types.h (EngineObject): Move typedef to ...
+ * engine.h: ... here.
+ * types.h (GpgObject): Move typedef to ...
+ * rungpg.c: ... here.
+ * types.h (GpgsmObject): Move typedef to ...
+ * engine-gpgsm.c: ... here.
+
* util.h (return_if_fail, return_null_if_fail,
return_val_if_fail): Remove macro.
* gpgme.c (gpgme_cancel): Don't use return_if_fail.
struct GpgmeIOCbs io_cbs;
};
+typedef struct gpgsm_object_s *GpgsmObject;
+\f
static const char *
gpgsm_get_version (void)
{
#include "types.h"
+struct engine_object_s;
+typedef struct engine_object_s *EngineObject;
+
GpgmeError _gpgme_engine_new (GpgmeProtocol proto, EngineObject *r_engine);
void _gpgme_engine_release (EngineObject engine);
void _gpgme_engine_set_status_handler (EngineObject engine,
struct GpgmeIOCbs io_cbs;
};
+typedef struct gpg_object_s *GpgObject;
+\f
static void
gpg_io_event (void *engine, GpgmeEventIO type, void *type_data)
{
const char *keyword, const char **result);
-/*-- engine.c --*/
-struct engine_object_s;
-typedef struct engine_object_s *EngineObject;
-
-/*-- engine-gpgsm.c --*/
-struct gpgsm_object_s;
-typedef struct gpgsm_object_s *GpgsmObject;
-
-/*-- rungpg.c --*/
-struct gpg_object_s;
-typedef struct gpg_object_s *GpgObject;
-
/*-- verify.c --*/
struct verify_result_s;
typedef struct verify_result_s *VerifyResult;