2016-02-17 17:19:57 -08:00
|
|
|
#pragma once
|
|
|
|
|
|
2016-02-29 17:12:06 -08:00
|
|
|
#include <stdbool.h>
|
|
|
|
|
|
2016-02-27 12:41:56 -08:00
|
|
|
struct buf;
|
2016-02-29 17:12:06 -08:00
|
|
|
struct flow;
|
2016-02-22 16:58:13 -08:00
|
|
|
struct packet;
|
2016-02-24 20:15:09 -08:00
|
|
|
struct peer;
|
2016-02-17 17:19:57 -08:00
|
|
|
|
2016-02-25 23:37:37 -08:00
|
|
|
void send_init(void);
|
|
|
|
|
void send_cleanup(void);
|
2016-02-17 17:19:57 -08:00
|
|
|
struct serializer *send_get_serializer(char *);
|
2016-02-24 20:15:09 -08:00
|
|
|
void send_new(int, struct serializer *, struct peer *);
|
|
|
|
|
void send_new_wrapper(int, void *, struct peer *);
|
2016-02-28 12:45:00 -08:00
|
|
|
bool send_new_hello(int, struct serializer *, struct peer *);
|
2016-02-27 12:41:56 -08:00
|
|
|
void send_hello(struct buf **, void *);
|
2016-02-17 17:19:57 -08:00
|
|
|
void send_write(struct packet *);
|
2016-02-25 23:37:37 -08:00
|
|
|
void send_print_usage(void);
|
2016-02-29 17:12:06 -08:00
|
|
|
extern struct flow *send_flow;
|