]> git.meshlink.io Git - meshlink/commit
Remove global variables from the event loop code.
authorGuus Sliepen <guus@meshlink.io>
Sat, 26 Apr 2014 07:28:56 +0000 (09:28 +0200)
committerGuus Sliepen <guus@meshlink.io>
Sat, 26 Apr 2014 07:28:56 +0000 (09:28 +0200)
commit93f89bcae11e8d250831896bc5694ee8bd2ad22b
tree190f44401b54ec7d9e1f5e596074d9c62041f287
parentd69b90d2e3f9359261c96da8b4449c1d19d47835
Remove global variables from the event loop code.

Everything is now in a struct event_loop_t, which is now also in
meshlink_handle_t.  To make the transition easier, there is a temporary global
event_loop_t *loop.
14 files changed:
src/connection.c
src/event.c
src/event.h
src/graph.c
src/meshlink.c
src/meshlink_internal.h
src/meta.c
src/net.c
src/net.h
src/net_packet.c
src/net_setup.c
src/net_socket.c
src/node.c
src/protocol.c