diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-03-01 06:42:05 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-03-01 06:42:05 +0100 |
commit | 68bb9f39967ca45166bd070ee1f3fa1304cb6e98 (patch) | |
tree | a3d57ca1bb2c5e5fc54a784ee1239f1b1167b0d8 /src/fastd.h | |
parent | e5415f2b024119a8f32879db10976336d56ae1bc (diff) | |
download | fastd-68bb9f39967ca45166bd070ee1f3fa1304cb6e98.tar fastd-68bb9f39967ca45166bd070ee1f3fa1304cb6e98.zip |
Identify peers be key in log output when no name is available
Diffstat (limited to 'src/fastd.h')
-rw-r--r-- | src/fastd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fastd.h b/src/fastd.h index 391b47a..880b6f0 100644 --- a/src/fastd.h +++ b/src/fastd.h @@ -82,6 +82,7 @@ struct fastd_protocol { void (*generate_key)(fastd_context_t *ctx); void (*show_key)(fastd_context_t *ctx); void (*set_shell_env)(fastd_context_t *ctx, const fastd_peer_t *peer); + bool (*describe_peer)(const fastd_context_t *ctx, const fastd_peer_t *peer, char *buf, size_t len); }; struct fastd_method { |