mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-12-29 10:04:41 +01:00
a8b3a1c29c
It subsumes `decodepay`, and it's nicer if people can just assume it's available at all times. Changelog-Added: JSON-RPC: `decode` now available without `experimental-offers` Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
17 lines
472 B
C
17 lines
472 B
C
#ifndef LIGHTNING_PLUGINS_OFFERS_OFFER_H
|
|
#define LIGHTNING_PLUGINS_OFFERS_OFFER_H
|
|
#include "config.h"
|
|
#include <plugins/libplugin.h>
|
|
|
|
extern struct pubkey32 id;
|
|
extern bool offers_enabled;
|
|
|
|
struct command_result *json_offer(struct command *cmd,
|
|
const char *buffer,
|
|
const jsmntok_t *params);
|
|
|
|
struct command_result *json_offerout(struct command *cmd,
|
|
const char *buffer,
|
|
const jsmntok_t *params);
|
|
#endif /* LIGHTNING_PLUGINS_OFFERS_OFFER_H */
|