summaryrefslogtreecommitdiffstats
path: root/src/fastd.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-03-28 20:47:06 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-03-28 20:47:06 +0200
commit14a44b4016d3350c85c419e1e1b683c1574cd86e (patch)
tree3804218093a4ea3f56396efbc2c1e92b4a416dc3 /src/fastd.h
parentc8ea4868b37f53e138548b7adee756834ad7ea66 (diff)
downloadfastd-14a44b4016d3350c85c419e1e1b683c1574cd86e.tar
fastd-14a44b4016d3350c85c419e1e1b683c1574cd86e.zip
Add keygen function
Diffstat (limited to 'src/fastd.h')
-rw-r--r--src/fastd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fastd.h b/src/fastd.h
index cd6dbb2..5ea4260 100644
--- a/src/fastd.h
+++ b/src/fastd.h
@@ -71,6 +71,8 @@ struct _fastd_protocol {
void (*send)(fastd_context *ctx, fastd_peer *peer, fastd_buffer buffer);
void (*free_peer_state)(fastd_context *ctx, fastd_peer *peer);
+
+ void (*generate_key)(fastd_context *ctx);
};
struct _fastd_config {