diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-08-21 15:16:58 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-08-21 15:16:58 +0000 |
commit | 5a38c8f0d1826ea964e3e3452e1a3a2a24d7d35b (patch) | |
tree | 7ba261fc1882bcfa6dc0da916272a0ed0d17468e /src/include/gnunet_namestore_service.h | |
parent | 1fca0c918c8468ba16666e8a1c41526cacdc6df2 (diff) | |
download | gnunet-5a38c8f0d1826ea964e3e3452e1a3a2a24d7d35b.tar.gz gnunet-5a38c8f0d1826ea964e3e3452e1a3a2a24d7d35b.zip |
-misc doxygen fixes
Diffstat (limited to 'src/include/gnunet_namestore_service.h')
-rw-r--r-- | src/include/gnunet_namestore_service.h | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/src/include/gnunet_namestore_service.h b/src/include/gnunet_namestore_service.h index 75e9224ef..1e459a850 100644 --- a/src/include/gnunet_namestore_service.h +++ b/src/include/gnunet_namestore_service.h | |||
@@ -147,6 +147,7 @@ enum GNUNET_NAMESTORE_RecordFlags | |||
147 | * This peer is the authority for this record; it must thus | 147 | * This peer is the authority for this record; it must thus |
148 | * not be deleted (other records can be deleted if we run | 148 | * not be deleted (other records can be deleted if we run |
149 | * out of space). | 149 | * out of space). |
150 | * @deprecated | ||
150 | */ | 151 | */ |
151 | GNUNET_NAMESTORE_RF_AUTHORITY = 1, | 152 | GNUNET_NAMESTORE_RF_AUTHORITY = 1, |
152 | 153 | ||
@@ -157,8 +158,8 @@ enum GNUNET_NAMESTORE_RecordFlags | |||
157 | GNUNET_NAMESTORE_RF_PRIVATE = 2, | 158 | GNUNET_NAMESTORE_RF_PRIVATE = 2, |
158 | 159 | ||
159 | /** | 160 | /** |
160 | * This record was added by the system | 161 | * This record was added automatically by the system |
161 | * and is pending user confimation | 162 | * and is pending user confimation. |
162 | */ | 163 | */ |
163 | GNUNET_NAMESTORE_RF_PENDING = 4, | 164 | GNUNET_NAMESTORE_RF_PENDING = 4, |
164 | 165 | ||
@@ -196,20 +197,16 @@ struct GNUNET_NAMESTORE_RecordData | |||
196 | { | 197 | { |
197 | 198 | ||
198 | /** | 199 | /** |
199 | * Binary value stored in the DNS record. | 200 | * Binary value stored in the DNS record. Note: "data" must never |
200 | * FIXME: goofy API: sometimes 'data' is individually | 201 | * be individually 'malloc'ed, but instead always points into some |
201 | * 'malloc'ed, sometimes it points into some existing | 202 | * existing data area. |
202 | * data area (so sometimes this should be a 'void *', | ||
203 | * sometimes a 'const void *'). This is unclean. We | ||
204 | * should go over the code and make sure that 'data' | ||
205 | * is NEVER individually alloc'ed here but always points | ||
206 | * to some "other" location. | ||
207 | */ | 203 | */ |
208 | const void *data; | 204 | const void *data; |
209 | 205 | ||
210 | /** | 206 | /** |
211 | * Expiration time for the DNS record. Can be relative | 207 | * Expiration time for the DNS record. Can be relative |
212 | * or absolute, depending on 'flags'. | 208 | * or absolute, depending on 'flags'. Measured in the same |
209 | * unit as GNUnet time (microseconds). | ||
213 | */ | 210 | */ |
214 | uint64_t expiration_time; | 211 | uint64_t expiration_time; |
215 | 212 | ||