2002-08-30 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Sat, 31 Aug 2002 02:34:26 +0000 (02:34 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Sat, 31 Aug 2002 02:34:26 +0000 (02:34 +0000)
* rungpg.c (_gpgme_gpg_op_edit): Add bogus ctx argument.
* rungpg.h: Also to prototype.
* engine.c (_gpgme_engine_op_edit): Likewise.
* engine.h: Likewise.
* edit.c (_gpgme_op_edit_start): Likewise.

gpgme/ChangeLog
gpgme/edit.c
gpgme/engine.c
gpgme/engine.h
gpgme/rungpg.c
gpgme/rungpg.h

index a235c97b1414e12c8cf9ac0faf1af585a12b18ac..075eb46bae46215dc7959ab2a3db1bdc4572ebd3 100644 (file)
@@ -3,6 +3,12 @@
        * rungpg.c (_gpgme_gpg_op_edit): Add args from signers.
        Suggested by Miguel Coca <e970095@zipi.fi.upm.es>.
 
+       * rungpg.c (_gpgme_gpg_op_edit): Add bogus ctx argument.
+       * rungpg.h: Also to prototype.
+       * engine.c (_gpgme_engine_op_edit): Likewise.
+       * engine.h: Likewise.
+       * edit.c (_gpgme_op_edit_start): Likewise.
+
 2002-08-29  Werner Koch  <wk@gnupg.org>
 
        * engine-gpgsm.c (_gpgme_gpgsm_op_sign): Implement signer
index 9b9ee7404273cd267791500d1467904990e714ff..e4dbba3241f8dce6a6895a72c32ee683b62d4b09 100644 (file)
@@ -111,7 +111,7 @@ _gpgme_op_edit_start (GpgmeCtx ctx, int synchronous,
 
   _gpgme_engine_set_verbosity (ctx->engine, ctx->verbosity);
 
-  _gpgme_engine_op_edit (ctx->engine, key, out);
+  _gpgme_engine_op_edit (ctx->engine, key, out, ctx);
 
   /* And kick off the process.  */
   err = _gpgme_engine_start (ctx->engine, ctx);
index 5c005e6bf60b44e7ed13c155d48239c3a48ec9ea..ee56076fc8191872c3464e914f51860775d8a254 100644 (file)
@@ -331,7 +331,8 @@ _gpgme_engine_op_delete (EngineObject engine, GpgmeKey key, int allow_secret)
 
 
 GpgmeError
-_gpgme_engine_op_edit (EngineObject engine, GpgmeKey key, GpgmeData out)
+_gpgme_engine_op_edit (EngineObject engine, GpgmeKey key, GpgmeData out,
+                      GpgmeCtx ctx /* FIXME */)
 {
   if (!engine)
     return mk_error (Invalid_Value);
@@ -339,7 +340,7 @@ _gpgme_engine_op_edit (EngineObject engine, GpgmeKey key, GpgmeData out)
   switch (engine->protocol)
     {
     case GPGME_PROTOCOL_OpenPGP:
-      return _gpgme_gpg_op_edit (engine->engine.gpg, key, out);
+      return _gpgme_gpg_op_edit (engine->engine.gpg, key, out, ctx);
     case GPGME_PROTOCOL_CMS:
       /* FIXME */
       return mk_error (Not_Implemented);
index d2375094f4c40bb2fc7e1364f08a7c8ee49dfb6e..be46ec7ecc01ddc68b28cd766cb9ceeefcef38fd 100644 (file)
@@ -45,7 +45,7 @@ GpgmeError _gpgme_engine_op_decrypt (EngineObject engine, GpgmeData ciph,
 GpgmeError _gpgme_engine_op_delete (EngineObject engine, GpgmeKey key,
                                    int allow_secret);
 GpgmeError _gpgme_engine_op_edit (EngineObject engine, GpgmeKey key,
-                                 GpgmeData out);
+                                 GpgmeData out, GpgmeCtx ctx /* FIXME */);
 GpgmeError _gpgme_engine_op_encrypt (EngineObject engine, GpgmeRecipients recp,
                                     GpgmeData plain, GpgmeData ciph,
                                     int use_armor);
index a2bc43b0e85bff571d076f7346e99d07970bdbea..e0a4e2181784488cad6607aff22a396039a66f4f 100644 (file)
@@ -1440,7 +1440,8 @@ _gpgme_gpg_op_delete (GpgObject gpg, GpgmeKey key, int allow_secret)
 
 
 GpgmeError
-_gpgme_gpg_op_edit (GpgObject gpg, GpgmeKey key, GpgmeData out)
+_gpgme_gpg_op_edit (GpgObject gpg, GpgmeKey key, GpgmeData out,
+                   GpgmeCtx ctx /* FIXME */)
 {
   GpgmeError err;
 
index f0e47f38ec6eb8b98412b1ad58e10757511b1299..dcb6709a8983f402d8e184700b5567ec270bc9f9 100644 (file)
@@ -56,7 +56,8 @@ GpgmeError _gpgme_gpg_set_command_handler (GpgObject gpg,
 GpgmeError _gpgme_gpg_op_decrypt (GpgObject gpg, GpgmeData ciph,
                                  GpgmeData plain);
 GpgmeError _gpgme_gpg_op_delete (GpgObject gpg, GpgmeKey key, int allow_secret);
-GpgmeError _gpgme_gpg_op_edit (GpgObject gpg, GpgmeKey key, GpgmeData out);
+GpgmeError _gpgme_gpg_op_edit (GpgObject gpg, GpgmeKey key, GpgmeData out,
+                              GpgmeCtx ctx /* FIXME */);
 GpgmeError _gpgme_gpg_op_encrypt (GpgObject gpg, GpgmeRecipients recp,
                                  GpgmeData plain, GpgmeData ciph,
                                  int use_armor);