mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
207eeae1f7
They share some fields, but they're basically different, and it's clearest to treat them differently in most places. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
17 lines
416 B
C
17 lines
416 B
C
#ifndef LIGHTNING_LIGHTNINGD_PAY_H
|
|
#define LIGHTNING_LIGHTNINGD_PAY_H
|
|
#include "config.h"
|
|
#include <wire/gen_onion_wire.h>
|
|
|
|
struct htlc_out;
|
|
struct lightningd;
|
|
struct preimage;
|
|
struct pubkey;
|
|
|
|
void payment_succeeded(struct lightningd *ld, struct htlc_out *hout,
|
|
const struct preimage *rval);
|
|
|
|
void payment_failed(struct lightningd *ld, const struct htlc_out *hout);
|
|
|
|
#endif /* LIGHTNING_LIGHTNINGD_PAY_H */
|