]> git.ipfire.org Git - thirdparty/lldpd.git/commit - src/lldpd.c
lldpd: switch to libevent loop
authorVincent Bernat <bernat@luffy.cx>
Mon, 30 Apr 2012 23:33:42 +0000 (01:33 +0200)
committerVincent Bernat <bernat@luffy.cx>
Tue, 1 May 2012 09:26:45 +0000 (11:26 +0200)
commitd6e889b6888b20cda3cf54192db9efce2f308c48
treee8d9a8ebfeec7f66da7a792acc3b38b912c81ace
parent1daca82702fbe97078698b9979384853e5020326
lldpd: switch to libevent loop

This is a major change. Instead of a custom loop, we switch to
libevent. Only `levent.c` is aware of the event loop. Other parts do
not manipulate events. Currently, we still have a loop triggered every
30 seconds. This could change to be a per port handling.
src/Makefile.am
src/agent.c
src/client.c
src/ctl-server.c [deleted file]
src/event.c [new file with mode: 0644]
src/interfaces.c
src/lldpd.c
src/lldpd.h