A GNS record. More...
#include <gnunet_gnsrecord_lib.h>
Data Fields | |
const void * | data |
Binary value stored in the DNS record. More... | |
uint64_t | expiration_time |
Expiration time for the DNS record. More... | |
size_t | data_size |
Number of bytes in data. More... | |
uint32_t | record_type |
Type of the GNS/DNS record. More... | |
enum GNUNET_GNSRECORD_Flags | flags |
Flags for the record. More... | |
A GNS record.
Definition at line 176 of file gnunet_gnsrecord_lib.h.
const void* GNUNET_GNSRECORD_Data::data |
Binary value stored in the DNS record.
Note: "data" must never be individually 'malloc'ed, but instead always points into some existing data area.
Definition at line 183 of file gnunet_gnsrecord_lib.h.
Referenced by add_record(), attr_iter_cb(), attr_store_task(), backward_resolution(), cache_nick(), collect_tickets_cb(), cred_add_cb(), cred_iter_cb(), DID_create_namestore_lookup_cb(), dns_result_parser(), filter_tickets_cb(), get_existing_record(), get_nick_record(), GNUNET_CONVERSATION_phone_get_record(), GNUNET_GNSRECORD_records_cmp(), handle_gns2dns_result(), handle_gns_resolution_result(), handle_gns_response(), handle_gns_result(), issue_ticket(), lookup_authz_cb(), lookup_nick_it(), merge_with_nick_records(), namestore_flat_store_records(), namestore_list_iteration(), ns_get_lookup_cb(), ns_lookup_result_cb(), typescriptdomain.TypeScriptDomain::objects(), parse(), parse_record(), print_record(), process_command_stdin(), process_tickets(), recursive_cname_resolution(), recursive_pkey_resolution(), recursive_redirect_resolution(), httpdomain.httpdomain.HTTPDomain::resolve_xref(), result_processor(), httpdomain.httpdomain.HTTPDomain::routes(), run(), run_with_zone_pkey(), rvk_move_attr_cb(), start_phone(), start_resolver_lookup(), store_record_set(), transmit_lookup_dns_result(), update_tickets(), vpn_allocation_cb(), and zone_to_name().
uint64_t GNUNET_GNSRECORD_Data::expiration_time |
Expiration time for the DNS record.
Can be relative or absolute, depending on flags. Measured in the same unit as GNUnet time (microseconds).
Definition at line 190 of file gnunet_gnsrecord_lib.h.
Referenced by add_record(), attr_store_task(), block_create_ecdsa(), block_create_eddsa(), block_decrypt_ecdsa(), block_decrypt_eddsa(), cred_add_cb(), DID_create_namestore_lookup_cb(), display_record(), dns_result_parser(), get_existing_record(), GNUNET_CONVERSATION_phone_get_record(), GNUNET_GNSRECORD_is_expired(), GNUNET_GNSRECORD_record_get_expiration_time(), GNUNET_GNSRECORD_records_cmp(), issue_ticket(), lookup_nick_it(), merge_with_nick_records(), namestore_flat_store_records(), ns_lookup_result_cb(), parse(), parse_record(), print_record(), process_result(), reply_to_dns(), result_processor(), run(), run_with_zone_pkey(), rvk_move_attr_cb(), start_resolver_lookup(), store_record_set(), transmit_lookup_dns_result(), and vpn_allocation_cb().
size_t GNUNET_GNSRECORD_Data::data_size |
Number of bytes in data.
Definition at line 195 of file gnunet_gnsrecord_lib.h.
Referenced by add_record(), attr_iter_cb(), attr_store_task(), cache_nick(), cred_add_cb(), cred_iter_cb(), DID_create_namestore_lookup_cb(), dns_result_parser(), filter_tickets_cb(), get_existing_record(), get_nick_record(), GNUNET_CONVERSATION_phone_get_record(), GNUNET_GNSRECORD_records_cmp(), GNUNET_GNSRECORD_records_get_size(), GNUNET_GNSRECORD_records_serialize(), handle_gns_resolution_result(), handle_gns_response(), handle_gns_result(), issue_ticket(), lookup_nick_it(), lookup_redirect_uri_result(), merge_with_nick_records(), namestore_flat_store_records(), ns_lookup_result_cb(), parse(), parse_record(), print_record(), process_command_stdin(), process_tickets(), recursive_cname_resolution(), recursive_pkey_resolution(), reply_to_dns(), result_processor(), run(), run_with_zone_pkey(), rvk_move_attr_cb(), start_phone(), start_resolver_lookup(), store_record_set(), transmit_lookup_dns_result(), update_tickets(), vpn_allocation_cb(), and zone_to_name().
uint32_t GNUNET_GNSRECORD_Data::record_type |
Type of the GNS/DNS record.
Definition at line 200 of file gnunet_gnsrecord_lib.h.
Referenced by add_record(), attr_iter_cb(), attr_store_task(), cred_add_cb(), cred_iter_cb(), del_monitor(), DID_create_namestore_lookup_cb(), dns_result_parser(), get_existing_rd_exp(), get_existing_record(), GNUNET_CONVERSATION_phone_get_record(), GNUNET_GNSRECORD_records_cmp(), GNUNET_GNSRECORD_records_get_size(), handle_gns_resolution_result(), handle_gns_result(), issue_ticket(), lookup_nick_it(), namestore_flat_store_records(), namestore_list_iteration(), ns_get_lookup_cb(), ns_lookup_result_cb(), parse(), parse_record(), print_record(), process_tickets(), recursive_pkey_resolution(), reply_to_dns(), run(), run_with_zone_pkey(), rvk_move_attr_cb(), start_phone(), start_resolver_lookup(), store_record_set(), transmit_lookup_dns_result(), update_tickets(), vpn_allocation_cb(), and zone_to_name().
enum GNUNET_GNSRECORD_Flags GNUNET_GNSRECORD_Data::flags |
Flags for the record.
Definition at line 205 of file gnunet_gnsrecord_lib.h.
Referenced by add_record(), attr_store_task(), block_create_ecdsa(), block_create_eddsa(), block_decrypt_ecdsa(), block_decrypt_eddsa(), cred_add_cb(), DID_create_namestore_lookup_cb(), dns_result_parser(), get_existing_record(), GNUNET_CONVERSATION_phone_get_record(), GNUNET_GNSRECORD_is_expired(), GNUNET_GNSRECORD_normalize_record_set(), GNUNET_GNSRECORD_records_cmp(), issue_ticket(), lookup_it(), lookup_nick_it(), merge_with_nick_records(), namestore_flat_store_records(), ns_lookup_result_cb(), parse(), parse_record(), print_record(), run(), run_with_zone_pkey(), rvk_move_attr_cb(), send_lookup_response_with_filter(), start_resolver_lookup(), store_record_set(), transmit_lookup_dns_result(), and vpn_allocation_cb().