From 018c1d932dcb4568aec54f70fb933f878401d93c Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Mon, 3 Apr 2017 06:07:56 +0930 Subject: [PATCH] lightning/pay: fix missing include. Signed-off-by: Rusty Russell --- lightningd/pay.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 lightningd/pay.h diff --git a/lightningd/pay.h b/lightningd/pay.h new file mode 100644 index 000000000..418309264 --- /dev/null +++ b/lightningd/pay.h @@ -0,0 +1,18 @@ +#ifndef LIGHTNING_LIGHTNINGD_PAY_H +#define LIGHTNING_LIGHTNINGD_PAY_H +#include "config.h" +#include + +struct htlc_end; +struct lightningd; +struct preimage; +struct pubkey; + +void payment_succeeded(struct lightningd *ld, struct htlc_end *dst, + const struct preimage *rval); + +void payment_failed(struct lightningd *ld, struct htlc_end *dst, + const struct pubkey *sender, + enum onion_type failure_code); + +#endif /* LIGHTNING_LIGHTNINGD_PAY_H */