diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-04-22 13:54:36 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-04-22 13:54:36 +0200 |
commit | 1bbef32baabfa9da3bb55754da06c0b05550aa46 (patch) | |
tree | 43f06a3c17e12a09e6dbdc60095470586a27b43d /src/fastd.h | |
parent | f21a6e3cec1fcc9930f06d3d0b8714cd34718815 (diff) | |
download | fastd-1bbef32baabfa9da3bb55754da06c0b05550aa46.tar fastd-1bbef32baabfa9da3bb55754da06c0b05550aa46.zip |
Add --show-key and --machine-readable options
Diffstat (limited to 'src/fastd.h')
-rw-r--r-- | src/fastd.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 { |