mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
401f1debc5
We have them split over common/param.c, common/json.c, common/json_helpers.c, common/json_tok.c and common/json_stream.c. Change that to: * common/json_parse (all the json_to_xxx routines) * common/json_parse_simple (simplest the json parsing routines, for cli too) * common/json_stream (all the json_add_xxx routines) * common/json_param (all the param and param_xxx routines) Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
16 lines
452 B
C
16 lines
452 B
C
#ifndef LIGHTNING_PLUGINS_OFFERS_H
|
|
#define LIGHTNING_PLUGINS_OFFERS_H
|
|
#include "config.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 */
|