aboutsummaryrefslogtreecommitdiff
path: root/src/gns/gns.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-01-07 09:44:59 +0100
committerChristian Grothoff <christian@grothoff.org>2020-01-07 09:45:52 +0100
commitc0a6838a1b8a3ca2c73af04b8829d6736521cba1 (patch)
tree076148fca0a229738510bd023a3271127963383f /src/gns/gns.h
parente8533c8a41e3fb29e51200d643382c8d5f882e5e (diff)
downloadgnunet-c0a6838a1b8a3ca2c73af04b8829d6736521cba1.tar.gz
gnunet-c0a6838a1b8a3ca2c73af04b8829d6736521cba1.zip
allow GNS clients to control recursion depth limit
Diffstat (limited to 'src/gns/gns.h')
-rw-r--r--src/gns/gns.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gns/gns.h b/src/gns/gns.h
index 1fa812c23..5f51b7108 100644
--- a/src/gns/gns.h
+++ b/src/gns/gns.h
@@ -1,6 +1,6 @@
1/* 1/*
2 This file is part of GNUnet 2 This file is part of GNUnet
3 Copyright (C) 2012-2013 GNUnet e.V. 3 Copyright (C) 2012-2020 GNUnet e.V.
4 4
5 GNUnet is free software: you can redistribute it and/or modify it 5 GNUnet is free software: you can redistribute it and/or modify it
6 under the terms of the GNU Affero General Public License as published 6 under the terms of the GNU Affero General Public License as published
@@ -57,9 +57,11 @@ struct LookupMessage
57 int16_t options GNUNET_PACKED; 57 int16_t options GNUNET_PACKED;
58 58
59 /** 59 /**
60 * Always 0. 60 * Recursion depth limit, i.e. how many more
61 * GNS zones may be traversed during the resolution
62 * of this name.
61 */ 63 */
62 int16_t reserved GNUNET_PACKED; 64 uint16_t recursion_depth_limit GNUNET_PACKED;
63 65
64 /** 66 /**
65 * the type of record to look up 67 * the type of record to look up