mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-20 10:39:49 +01:00
1aa7e8e011
We split `send_invoice` offers inoo offerout (for want of a better name). This simplifies the API. Also took the opportunity to move the `vendor` tag to immediately follow `description` (our tests use arguments by keywords, so no change there). Suggested-by: shesek Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
16 lines
444 B
C
16 lines
444 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;
|
|
|
|
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 */
|