summaryrefslogtreecommitdiffstats
path: root/src/peer.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-04-05 13:17:02 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-04-05 13:17:02 +0200
commit7b2cfb422af6a957aa90e22bd6e9b19f16b30319 (patch)
treeaaa2fd85662309af45ab4fced6b332445bdf0f10 /src/peer.h
parent329d15d50c54a69ce8e2be0865124744c0bf3428 (diff)
downloadfastd-7b2cfb422af6a957aa90e22bd6e9b19f16b30319.tar
fastd-7b2cfb422af6a957aa90e22bd6e9b19f16b30319.zip
Cleanly shutdown; add on-down command
Diffstat (limited to 'src/peer.h')
-rw-r--r--src/peer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/peer.h b/src/peer.h
index 94b9026..4afa9a1 100644
--- a/src/peer.h
+++ b/src/peer.h
@@ -79,6 +79,7 @@ void fastd_peer_config_purge(fastd_context *ctx, fastd_peer_config *conf);
bool fastd_peer_config_equal(const fastd_peer_config *peer1, const fastd_peer_config *peer2);
void fastd_peer_reset(fastd_context *ctx, fastd_peer *peer);
+void fastd_peer_delete(fastd_context *ctx, fastd_peer *peer);
fastd_peer* fastd_peer_add(fastd_context *ctx, fastd_peer_config *conf);
fastd_peer* fastd_peer_add_temp(fastd_context *ctx, const fastd_peer_address *address);
fastd_peer* fastd_peer_set_established_merge(fastd_context *ctx, fastd_peer *perm_peer, fastd_peer *temp_peer);