2020-12-16 04:13:28 +01:00
|
|
|
#ifndef LIGHTNING_PLUGINS_OFFERS_OFFER_H
|
|
|
|
#define LIGHTNING_PLUGINS_OFFERS_OFFER_H
|
|
|
|
#include "config.h"
|
|
|
|
#include <plugins/libplugin.h>
|
|
|
|
|
2021-10-08 00:54:42 +02:00
|
|
|
extern struct point32 id;
|
2021-08-02 01:56:12 +02:00
|
|
|
extern bool offers_enabled;
|
2020-12-16 04:13:28 +01:00
|
|
|
|
|
|
|
struct command_result *json_offer(struct command *cmd,
|
|
|
|
const char *buffer,
|
|
|
|
const jsmntok_t *params);
|
2021-01-07 19:46:47 +01:00
|
|
|
|
|
|
|
struct command_result *json_offerout(struct command *cmd,
|
|
|
|
const char *buffer,
|
|
|
|
const jsmntok_t *params);
|
2020-12-16 04:13:28 +01:00
|
|
|
#endif /* LIGHTNING_PLUGINS_OFFERS_OFFER_H */
|