diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-08-06 14:18:31 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-08-06 14:18:31 +0000 |
commit | fe76c075e315c0351e2fe465434ae39087daf014 (patch) | |
tree | 436887ccaf331932a3c13a8b9d2a2a710dad4be6 /src/gns/gns.h | |
parent | 7eb2835d8a494c83aedb720a2ac6f6e5ba23f22f (diff) | |
download | gnunet-fe76c075e315c0351e2fe465434ae39087daf014.tar.gz gnunet-fe76c075e315c0351e2fe465434ae39087daf014.zip |
moving to new, fixed-size encoding of public and private ECC keys everywhere, also improving ECC API to better support ECRS/GADS operations
Diffstat (limited to 'src/gns/gns.h')
-rw-r--r-- | src/gns/gns.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/gns/gns.h b/src/gns/gns.h index e5d48fa27..a4830bda4 100644 --- a/src/gns/gns.h +++ b/src/gns/gns.h | |||
@@ -71,9 +71,9 @@ struct GNUNET_GNS_ClientLookupMessage | |||
71 | uint32_t only_cached GNUNET_PACKED; | 71 | uint32_t only_cached GNUNET_PACKED; |
72 | 72 | ||
73 | /** | 73 | /** |
74 | * Should we look up in the default zone? | 74 | * Should we look up in the given zone, instead of the default zone? |
75 | */ | 75 | */ |
76 | uint32_t use_default_zone GNUNET_PACKED; | 76 | uint32_t have_zone GNUNET_PACKED; |
77 | 77 | ||
78 | /** | 78 | /** |
79 | * Is a shorten key attached? | 79 | * Is a shorten key attached? |
@@ -84,8 +84,11 @@ struct GNUNET_GNS_ClientLookupMessage | |||
84 | * the type of record to look up | 84 | * the type of record to look up |
85 | */ | 85 | */ |
86 | /* enum GNUNET_GNS_RecordType */ uint32_t type; | 86 | /* enum GNUNET_GNS_RecordType */ uint32_t type; |
87 | 87 | ||
88 | /* Followed by the key for shorten (optional) see have_key */ | 88 | /** |
89 | * The key for shorten, if 'have_key' is set | ||
90 | */ | ||
91 | struct GNUNET_CRYPTO_EccPrivateKey shorten_key; | ||
89 | 92 | ||
90 | /* Followed by the name to look up */ | 93 | /* Followed by the name to look up */ |
91 | }; | 94 | }; |