diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-01-24 16:44:57 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-01-24 16:44:57 +0100 |
commit | 9aa323ca7bcf1567f6ecf98cf73b5691ade1b816 (patch) | |
tree | b242a706db0f3eec5ddbabdbd3f19ec7853d90b8 /src/include/taler_wire_plugin.h | |
parent | 072d819e23e6a8fa336664f6e7a851bcd23f03e1 (diff) |
adding skeletons for plugins
Diffstat (limited to 'src/include/taler_wire_plugin.h')
-rw-r--r-- | src/include/taler_wire_plugin.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/include/taler_wire_plugin.h b/src/include/taler_wire_plugin.h index fd86ca289..00bcc42e9 100644 --- a/src/include/taler_wire_plugin.h +++ b/src/include/taler_wire_plugin.h @@ -22,6 +22,8 @@ #define TALER_WIRE_PLUGIN_H #include <gnunet/gnunet_util_lib.h> +#include <jansson.h> +#include "taler_util.h" /** @@ -103,7 +105,7 @@ struct TALER_WIRE_Plugin * @return #GNUNET_YES if correctly formatted; #GNUNET_NO if not */ int - wire_validate (const json_t *wire); + (*wire_validate) (const json_t *wire); /** @@ -151,7 +153,7 @@ struct TALER_WIRE_Plugin (*execute_wire_transfer) (void *cls, const char *buf, size_t buf_size, - TALER_WIRE_ConfirmatinCallback cc, + TALER_WIRE_ConfirmationCallback cc, void *cc_cls); |