2020-12-16 13:43:32 +10:30
|
|
|
#ifndef LIGHTNING_PLUGINS_OFFERS_INVREQ_HOOK_H
|
|
|
|
|
#define LIGHTNING_PLUGINS_OFFERS_INVREQ_HOOK_H
|
|
|
|
|
#include "config.h"
|
|
|
|
|
#include <plugins/libplugin.h>
|
|
|
|
|
|
|
|
|
|
/* We got an onionmessage with an invreq! */
|
|
|
|
|
struct command_result *handle_invoice_request(struct command *cmd,
|
2021-11-30 13:36:04 +10:30
|
|
|
const u8 *invreqbin,
|
2024-07-17 12:53:25 +09:30
|
|
|
struct blinded_path *reply_path STEALS,
|
|
|
|
|
const struct secret *secret TAKES);
|
2020-12-16 13:43:32 +10:30
|
|
|
#endif /* LIGHTNING_PLUGINS_OFFERS_INVREQ_HOOK_H */
|