mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
e7b263304e
It's very similar to the previous, but there are a few changes: 1. The enctlv fields are numbered differently. 2. The message itself is a different number. The onionmsg_path type is the same, however, so we keep that constant at least. The result is a lot of cut & paste, but we will delete the old one next release. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
17 lines
477 B
C
17 lines
477 B
C
#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,
|
|
struct tlv_onionmsg_payload_reply_path *reply_path,
|
|
struct tlv_obs2_onionmsg_payload_reply_path *obs2_reply_path,
|
|
const char *replyfield,
|
|
const u8 *replydata);
|
|
#endif /* LIGHTNING_PLUGINS_OFFERS_H */
|