mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
368fc07d05
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Experimental: Protocol: Updated onion_message support to match updated draft specification (with backwards compat for old version)
13 lines
492 B
C
13 lines
492 B
C
#ifndef LIGHTNING_PLUGINS_OFFERS_INV_HOOK_H
|
|
#define LIGHTNING_PLUGINS_OFFERS_INV_HOOK_H
|
|
#include "config.h"
|
|
#include <plugins/libplugin.h>
|
|
|
|
/* We got an onionmessage with an invoice! replytok/reply_path could be NULL. */
|
|
struct command_result *handle_invoice(struct command *cmd,
|
|
const char *buf,
|
|
const jsmntok_t *invtok,
|
|
const jsmntok_t *replytok,
|
|
struct tlv_onionmsg_payload_reply_path *reply_path);
|
|
#endif /* LIGHTNING_PLUGINS_OFFERS_INV_HOOK_H */
|