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>
|
|
|
|
|
2022-10-17 02:37:05 +02:00
|
|
|
extern struct pubkey 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
|
|
|
|
2022-11-09 03:32:01 +01:00
|
|
|
struct command_result *json_invoicerequest(struct command *cmd,
|
|
|
|
const char *buffer,
|
|
|
|
const jsmntok_t *params);
|
2020-12-16 04:13:28 +01:00
|
|
|
#endif /* LIGHTNING_PLUGINS_OFFERS_OFFER_H */
|