2022-01-29 14:02:32 +10:30
|
|
|
#ifndef LIGHTNING_CONNECTD_ONION_MESSAGE_H
|
|
|
|
#define LIGHTNING_CONNECTD_ONION_MESSAGE_H
|
|
|
|
#include "config.h"
|
|
|
|
#include <ccan/short_types/short_types.h>
|
|
|
|
|
2022-03-28 09:40:54 +10:30
|
|
|
/* Various messages come in from peer */
|
|
|
|
void handle_obs2_onion_message(struct daemon *daemon,
|
|
|
|
struct peer *peer, const u8 *msg);
|
2022-01-29 14:02:32 +10:30
|
|
|
void handle_onion_message(struct daemon *daemon,
|
|
|
|
struct peer *peer, const u8 *msg);
|
|
|
|
|
|
|
|
/* Lightningd tells us to send an onion message */
|
|
|
|
void onionmsg_req(struct daemon *daemon, const u8 *msg);
|
|
|
|
|
|
|
|
#endif /* LIGHTNING_CONNECTD_ONION_MESSAGE_H */
|