Files
adsb-tools/adsbus/incoming.h

12 lines
329 B
C
Raw Normal View History

#pragma once
2016-02-25 16:17:25 -08:00
#include <stdint.h>
2016-02-27 12:41:56 -08:00
struct buf;
struct peer;
void incoming_cleanup(void);
typedef void (*incoming_connection_handler)(int fd, void *, struct peer *);
2016-02-27 12:41:56 -08:00
typedef void (*incoming_get_hello)(struct buf **, void *);
void incoming_new(char *, char *, incoming_connection_handler, incoming_get_hello, void *, uint32_t *);