mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
7829f2eb06
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-EXPERIMENTAL: Removed backwards compat with onion messages from v0.10.1.
11 lines
419 B
C
11 lines
419 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! reply_path could be NULL. */
|
|
struct command_result *handle_invoice(struct command *cmd,
|
|
const u8 *invbin,
|
|
struct tlv_onionmsg_payload_reply_path *reply_path STEALS);
|
|
#endif /* LIGHTNING_PLUGINS_OFFERS_INV_HOOK_H */
|