From 1bbef32baabfa9da3bb55754da06c0b05550aa46 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 22 Apr 2012 13:54:36 +0200 Subject: Add --show-key and --machine-readable options --- src/fastd.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/fastd.h') diff --git a/src/fastd.h b/src/fastd.h index 08ef666..df072a7 100644 --- a/src/fastd.h +++ b/src/fastd.h @@ -74,6 +74,7 @@ struct _fastd_protocol { void (*free_peer_state)(fastd_context *ctx, fastd_peer *peer); void (*generate_key)(fastd_context *ctx); + void (*show_key)(fastd_context *ctx); }; struct _fastd_method { @@ -157,7 +158,9 @@ struct _fastd_config { char *on_disestablish; char *on_disestablish_dir; + bool machine_readable; bool generate_key; + bool show_key; }; struct _fastd_context { -- cgit v1.2.3