2021-01-07 19:35:47 +01:00
|
|
|
#ifndef LIGHTNING_PLUGINS_OFFERS_H
|
|
|
|
#define LIGHTNING_PLUGINS_OFFERS_H
|
|
|
|
#include "config.h"
|
|
|
|
#include <common/json.h>
|
|
|
|
|
|
|
|
struct command_result;
|
|
|
|
struct command;
|
|
|
|
|
|
|
|
/* Helper to send a reply */
|
|
|
|
struct command_result *WARN_UNUSED_RESULT
|
|
|
|
send_onion_reply(struct command *cmd,
|
2021-11-30 04:06:05 +01:00
|
|
|
struct tlv_onionmsg_payload_reply_path *reply_path,
|
2022-03-28 01:10:54 +02:00
|
|
|
struct tlv_obs2_onionmsg_payload_reply_path *obs2_reply_path,
|
|
|
|
const char *replyfield,
|
|
|
|
const u8 *replydata);
|
2021-01-07 19:35:47 +01:00
|
|
|
#endif /* LIGHTNING_PLUGINS_OFFERS_H */
|