diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_dnsparser_lib.h | 4 | ||||
-rw-r--r-- | src/include/gnunet_namestore_service.h | 2 | ||||
-rw-r--r-- | src/include/gnunet_network_lib.h | 2 | ||||
-rw-r--r-- | src/include/gnunet_tun_lib.h | 4 |
4 files changed, 7 insertions, 5 deletions
diff --git a/src/include/gnunet_dnsparser_lib.h b/src/include/gnunet_dnsparser_lib.h index fb0ab1149..c4b4546c8 100644 --- a/src/include/gnunet_dnsparser_lib.h +++ b/src/include/gnunet_dnsparser_lib.h | |||
@@ -79,7 +79,7 @@ struct GNUNET_DNSPARSER_Query | |||
79 | /** | 79 | /** |
80 | * See GNUNET_TUN_DNS_CLASS_*. | 80 | * See GNUNET_TUN_DNS_CLASS_*. |
81 | */ | 81 | */ |
82 | uint16_t class; | 82 | uint16_t dns_traffic_class; |
83 | 83 | ||
84 | }; | 84 | }; |
85 | 85 | ||
@@ -318,7 +318,7 @@ struct GNUNET_DNSPARSER_Record | |||
318 | /** | 318 | /** |
319 | * See GNUNET_TUN_DNS_CLASS_*. | 319 | * See GNUNET_TUN_DNS_CLASS_*. |
320 | */ | 320 | */ |
321 | uint16_t class; | 321 | uint16_t dns_traffic_class; |
322 | 322 | ||
323 | }; | 323 | }; |
324 | 324 | ||
diff --git a/src/include/gnunet_namestore_service.h b/src/include/gnunet_namestore_service.h index fbb3a285c..ad98f745d 100644 --- a/src/include/gnunet_namestore_service.h +++ b/src/include/gnunet_namestore_service.h | |||
@@ -563,7 +563,7 @@ GNUNET_NAMESTORE_string_to_value (uint32_t type, | |||
563 | * @return corresponding number, UINT32_MAX on error | 563 | * @return corresponding number, UINT32_MAX on error |
564 | */ | 564 | */ |
565 | uint32_t | 565 | uint32_t |
566 | GNUNET_NAMESTORE_typename_to_number (const char *typename); | 566 | GNUNET_NAMESTORE_typename_to_number (const char *dns_typename); |
567 | 567 | ||
568 | 568 | ||
569 | /** | 569 | /** |
diff --git a/src/include/gnunet_network_lib.h b/src/include/gnunet_network_lib.h index e2ebd450e..d728414e7 100644 --- a/src/include/gnunet_network_lib.h +++ b/src/include/gnunet_network_lib.h | |||
@@ -27,6 +27,8 @@ | |||
27 | #ifndef GNUNET_NETWORK_LIB_H | 27 | #ifndef GNUNET_NETWORK_LIB_H |
28 | #define GNUNET_NETWORK_LIB_H | 28 | #define GNUNET_NETWORK_LIB_H |
29 | 29 | ||
30 | #include "platform.h" | ||
31 | |||
30 | #ifdef __cplusplus | 32 | #ifdef __cplusplus |
31 | extern "C" | 33 | extern "C" |
32 | { | 34 | { |
diff --git a/src/include/gnunet_tun_lib.h b/src/include/gnunet_tun_lib.h index 8383da0c3..ff24cb542 100644 --- a/src/include/gnunet_tun_lib.h +++ b/src/include/gnunet_tun_lib.h | |||
@@ -601,7 +601,7 @@ struct GNUNET_TUN_DnsQueryLine | |||
601 | /** | 601 | /** |
602 | * Desired class (usually GNUNET_TUN_DNS_CLASS_INTERNET). (NBO) | 602 | * Desired class (usually GNUNET_TUN_DNS_CLASS_INTERNET). (NBO) |
603 | */ | 603 | */ |
604 | uint16_t class GNUNET_PACKED; | 604 | uint16_t dns_traffic_class GNUNET_PACKED; |
605 | }; | 605 | }; |
606 | 606 | ||
607 | 607 | ||
@@ -618,7 +618,7 @@ struct GNUNET_TUN_DnsRecordLine | |||
618 | /** | 618 | /** |
619 | * Record class (usually GNUNET_TUN_DNS_CLASS_INTERNET). (NBO) | 619 | * Record class (usually GNUNET_TUN_DNS_CLASS_INTERNET). (NBO) |
620 | */ | 620 | */ |
621 | uint16_t class GNUNET_PACKED; | 621 | uint16_t dns_traffic_class GNUNET_PACKED; |
622 | 622 | ||
623 | /** | 623 | /** |
624 | * Expiration for the record (in seconds). (NBO) | 624 | * Expiration for the record (in seconds). (NBO) |