mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-12-27 09:04:40 +01:00
40ce29beac
We often want it to free the message after writing. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
11 lines
299 B
C
11 lines
299 B
C
#ifndef LIGHTNING_WIRE_WIRE_SYNC_H
|
|
#define LIGHTNING_WIRE_WIRE_SYNC_H
|
|
#include "config.h"
|
|
#include <ccan/short_types/short_types.h>
|
|
#include <ccan/tal/tal.h>
|
|
|
|
bool wire_sync_write(int fd, const void *msg TAKES);
|
|
u8 *wire_sync_read(const tal_t *ctx, int fd);
|
|
|
|
#endif /* LIGHTNING_WIRE_WIRE_SYNC_H */
|