]> git.meshlink.io Git - meshlink/commit
Add a callback that notifies the application when it is blacklisted.
authorGuus Sliepen <guus@meshlink.io>
Thu, 29 Oct 2020 22:30:41 +0000 (23:30 +0100)
committerGuus Sliepen <guus@meshlink.io>
Thu, 29 Oct 2020 22:30:41 +0000 (23:30 +0100)
commita23ddd4f4e273b2ed68fe173b4faa69aadc98756
treeb4de86eff02c857ef9f081cc60c5a22a1154eb20
parent8ccad64979db3f96e935c6fbfaf9733dafe2ee66
Add a callback that notifies the application when it is blacklisted.

If an outgoing connection is made to a node that blacklists the local node,
a callback can now be set that informs the application of it.
12 files changed:
src/meshlink++.h
src/meshlink.c
src/meshlink.h
src/meshlink.sym
src/meshlink_internal.h
src/net.h
src/net_socket.c
src/protocol.c
src/protocol.h
src/protocol_auth.c
src/protocol_misc.c
test/blacklist.c