aboutsummaryrefslogtreecommitdiff
path: root/src/dns/dns.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dns/dns.h')
-rw-r--r--src/dns/dns.h17
1 files changed, 6 insertions, 11 deletions
diff --git a/src/dns/dns.h b/src/dns/dns.h
index af86bbaed..12d8f6025 100644
--- a/src/dns/dns.h
+++ b/src/dns/dns.h
@@ -11,7 +11,7 @@
11 WITHOUT ANY WARRANTY; without even the implied warranty of 11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Affero General Public License for more details. 13 Affero General Public License for more details.
14 14
15 You should have received a copy of the GNU Affero General Public License 15 You should have received a copy of the GNU Affero General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>. 16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
@@ -32,10 +32,9 @@ GNUNET_NETWORK_STRUCT_BEGIN
32/** 32/**
33 * Message from client to DNS service to register itself. 33 * Message from client to DNS service to register itself.
34 */ 34 */
35struct GNUNET_DNS_Register 35struct GNUNET_DNS_Register {
36{
37 /** 36 /**
38 * Header of type #GNUNET_MESSAGE_TYPE_DNS_CLIENT_INIT 37 * Header of type #GNUNET_MESSAGE_TYPE_DNS_CLIENT_INIT
39 */ 38 */
40 struct GNUNET_MessageHeader header; 39 struct GNUNET_MessageHeader header;
41 40
@@ -49,10 +48,9 @@ struct GNUNET_DNS_Register
49/** 48/**
50 * Message from DNS service to client: please handle a request. 49 * Message from DNS service to client: please handle a request.
51 */ 50 */
52struct GNUNET_DNS_Request 51struct GNUNET_DNS_Request {
53{
54 /** 52 /**
55 * Header of type #GNUNET_MESSAGE_TYPE_DNS_CLIENT_REQUEST 53 * Header of type #GNUNET_MESSAGE_TYPE_DNS_CLIENT_REQUEST
56 */ 54 */
57 struct GNUNET_MessageHeader header; 55 struct GNUNET_MessageHeader header;
58 56
@@ -67,15 +65,13 @@ struct GNUNET_DNS_Request
67 uint64_t request_id GNUNET_PACKED; 65 uint64_t request_id GNUNET_PACKED;
68 66
69 /* followed by original DNS request (without UDP header) */ 67 /* followed by original DNS request (without UDP header) */
70
71}; 68};
72 69
73 70
74/** 71/**
75 * Message from client to DNS service: here is my reply. 72 * Message from client to DNS service: here is my reply.
76 */ 73 */
77struct GNUNET_DNS_Response 74struct GNUNET_DNS_Response {
78{
79 /** 75 /**
80 * Header of type #GNUNET_MESSAGE_TYPE_DNS_CLIENT_RESPONSE 76 * Header of type #GNUNET_MESSAGE_TYPE_DNS_CLIENT_RESPONSE
81 */ 77 */
@@ -92,7 +88,6 @@ struct GNUNET_DNS_Response
92 uint64_t request_id GNUNET_PACKED; 88 uint64_t request_id GNUNET_PACKED;
93 89
94 /* followed by original DNS request (without UDP header) */ 90 /* followed by original DNS request (without UDP header) */
95
96}; 91};
97 92
98 93