Initial pass at async resolving. This is ugly and leaks memory and I hate it, so dedicated thread incoming.

This commit is contained in:
Ian Gulliver
2016-02-23 10:46:40 -08:00
parent ebdb3f9dc0
commit c6a2150a7d
5 changed files with 124 additions and 35 deletions

View File

@@ -1,11 +1,11 @@
CC ?= clang
CFLAGS ?= -Wall -Werror -O4 -g --std=gnu11 --pedantic-errors -fPIE -pie -fstack-protector-strong
LDFLAGS ?= $(CFLAGS) -Wl,-z,relro -Wl,-z,now
LIBS ?= -ljansson
LIBS ?= -ljansson -lanl
OBJ_NETWORK = incoming.o outgoing.o receive.o send.o
OBJ_PROTOCOL = airspy_adsb.o beast.o json.o raw.o stats.o
OBJ_UTIL = buf.o hex.o opts.o packet.o peer.o rand.o server.o uuid.o wakeup.o
OBJ_UTIL = buf.o hex.o opts.o packet.o peer.o rand.o resolve.o server.o uuid.o wakeup.o
all: adsbus