2020-12-16 13:43:28 +10:30
|
|
|
#ifndef LIGHTNING_PLUGINS_OFFERS_OFFER_H
|
|
|
|
#define LIGHTNING_PLUGINS_OFFERS_OFFER_H
|
|
|
|
#include "config.h"
|
|
|
|
#include <plugins/libplugin.h>
|
|
|
|
|
2022-10-17 11:07:05 +10:30
|
|
|
extern struct pubkey id;
|
2021-08-02 09:26:12 +09:30
|
|
|
extern bool offers_enabled;
|
2020-12-16 13:43:28 +10:30
|
|
|
|
|
|
|
struct command_result *json_offer(struct command *cmd,
|
|
|
|
const char *buffer,
|
|
|
|
const jsmntok_t *params);
|
2021-01-08 05:16:47 +10:30
|
|
|
|
2022-11-09 13:02:01 +10:30
|
|
|
struct command_result *json_invoicerequest(struct command *cmd,
|
|
|
|
const char *buffer,
|
|
|
|
const jsmntok_t *params);
|
2020-12-16 13:43:28 +10:30
|
|
|
#endif /* LIGHTNING_PLUGINS_OFFERS_OFFER_H */
|