GNUnet  0.10.x
Macros | Functions
Memory management

Macros

#define GNUNET_MAX_MALLOC_CHECKED   (1024 * 1024 * 40)
 Maximum allocation with GNUNET_malloc macro. More...
 
#define GNUNET_new(type)   (type *) GNUNET_malloc (sizeof (type))
 Allocate a struct or union of the given type. More...
 
#define GNUNET_new_array(n, type)   (type *) GNUNET_malloc ((n) * sizeof (type))
 Allocate a size n array with structs or unions of the given type. More...
 
#define GNUNET_new_array_2d(n, m, type)   (type **) GNUNET_xnew_array_2d_ (n, m, sizeof (type), __FILE__, __LINE__)
 Allocate a size n times m array with structs or unions of the given type. More...
 
#define GNUNET_new_array_3d(n, m, o, type)   (type ***) GNUNET_xnew_array_3d_ (n, m, o, sizeof (type), __FILE__, __LINE__)
 Allocate a size n times m times o array with structs or unions of the given type. More...
 
#define GNUNET_malloc(size)   GNUNET_xmalloc_ (size, __FILE__, __LINE__)
 Wrapper around malloc. More...
 
#define GNUNET_memdup(buf, size)   GNUNET_xmemdup_ (buf, size, __FILE__, __LINE__)
 Allocate and initialize a block of memory. More...
 
#define GNUNET_malloc_large(size)   GNUNET_xmalloc_unchecked_ (size, __FILE__, __LINE__)
 Wrapper around malloc. More...
 
#define GNUNET_realloc(ptr, size)   GNUNET_xrealloc_ (ptr, size, __FILE__, __LINE__)
 Wrapper around realloc. More...
 
#define GNUNET_free(ptr)   GNUNET_xfree_ (ptr, __FILE__, __LINE__)
 Wrapper around free. More...
 
#define GNUNET_free_non_null(ptr)
 Free the memory pointed to by ptr if ptr is not NULL. More...
 
#define GNUNET_strdup(a)   GNUNET_xstrdup_ (a, __FILE__, __LINE__)
 Wrapper around GNUNET_xstrdup_. More...
 
#define GNUNET_strndup(a, length)   GNUNET_xstrndup_ (a, length, __FILE__, __LINE__)
 Wrapper around GNUNET_xstrndup_. More...
 
#define GNUNET_array_grow(arr, size, tsize)
 Grow a well-typed (!) array. More...
 
#define GNUNET_array_append(arr, size, element)
 Append an element to a list (growing the list by one). More...
 

Functions

int GNUNET_snprintf (char *buf, size_t size, const char *format,...)
 Like snprintf, just aborts if the buffer is of insufficient size. More...
 
int GNUNET_asprintf (char **buf, const char *format,...)
 Like asprintf, just portable. More...
 
struct GNUNET_MessageHeaderGNUNET_copy_message (const struct GNUNET_MessageHeader *msg)
 Create a copy of the given message. More...
 

Detailed Description

Macro Definition Documentation

◆ GNUNET_MAX_MALLOC_CHECKED

#define GNUNET_MAX_MALLOC_CHECKED   (1024 * 1024 * 40)

◆ GNUNET_new

#define GNUNET_new (   type)    (type *) GNUNET_malloc (sizeof (type))

Allocate a struct or union of the given type.

Wrapper around GNUNET_malloc that returns a pointer to the newly created object of the correct type.

Parameters
typename of the struct or union, i.e. pass 'struct Foo'.

Definition at line 1094 of file gnunet_common.h.

Referenced by activate_core_visible_dv_path(), add_channel_ctx(), add_entry(), add_file(), add_host(), add_host_to_known_hosts(), add_plugin(), add_services(), add_setter_action(), add_to_meta_counter(), add_unixpath(), add_without_sets(), addr_cb(), addr_info_cb(), agent_init(), api_connect(), associate_shared_service(), ats_perf_cb(), ats_perf_mon_cb(), backward_resolution(), cache_answers(), cadet_test_run(), change_service(), change_state(), channel_new_cb(), check_peer_info_ready(), client_connect_cb(), code_redirect(), connect_cb(), connect_nse_service(), connect_peer(), connection_create(), consider_path_cb(), conversation_string_to_value(), core_startup_cb(), create_ats_address(), create_channel(), create_channel_to_destination(), create_download_context(), create_download_request(), create_experiment(), create_internal(), create_listen_socket(), create_macendpoint(), create_meter(), create_peer_ctx(), create_peers(), create_response(), create_session(), create_set_copy_for_task(), create_step(), cummulative_ack(), curl_check_hdr(), CustomPeerMap_create(), CustomPeerMap_put(), database_setup(), db_read_whitelist(), delegation_chain_resolution_start(), deserialize_download(), deserialize_fi_node(), deserialize_publish_file(), deserialize_search(), deserialize_search_result(), deserialize_unindex_file(), dfa_add_multi_strides_helper(), dfa_compress_paths_helper(), dfa_state_create(), diff_create(), diff_insert(), dns_post_request_handler(), dns_pre_request_handler(), dns_string_to_value(), do_accept(), do_connect(), ego_callback(), enforce_add_address(), exop_insert(), expand_tree(), extend_path(), find_validation_entry(), forward_overlay_connect(), GAS_handle_request_address(), GAS_mlp_address_add(), GAS_mlp_get_preferred_address(), GAS_proportional_address_add(), GAS_reservations_set_bandwidth(), GAS_ril_address_add(), GCCH_bind(), GCCH_channel_incoming_new(), GCCH_channel_local_new(), GCCH_handle_channel_plaintext_data(), GCCH_handle_local_data(), GCD_search(), GCP_get(), GCP_request_mq(), GCPP_get_path_from_route(), GCPP_try_path_from_dht(), GCT_add_inbound_connection(), GCT_create_tunnel(), GCT_handle_kx(), generate_gns_certificate(), get_benchmark_data(), get_cadet(), get_ip_from_hostname(), get_random_peer_from_peermap(), get_valid_peers(), getopt_set_keywords(), GN_external_ipv4_monitor_start(), GN_start_gnunet_nat_server_(), GNS_resolver_lookup(), gns_string_to_value(), GNUNET_ABE_cpabe_create_key(), GNUNET_ABE_cpabe_create_master_key(), GNUNET_ABE_cpabe_deserialize_key(), GNUNET_ABE_cpabe_deserialize_master_key(), GNUNET_ARM_connect(), GNUNET_ARM_monitor_start(), GNUNET_ARM_request_service_list(), GNUNET_ARM_request_service_start(), GNUNET_ATS_address_add(), GNUNET_ATS_application_init(), GNUNET_ATS_application_suggest(), GNUNET_ATS_connectivity_init(), GNUNET_ATS_connectivity_suggest(), GNUNET_ATS_performance_init(), GNUNET_ATS_performance_list_addresses(), GNUNET_ATS_reserve_bandwidth(), GNUNET_ATS_scheduling_init(), GNUNET_ATS_solver_generate_preferences_start(), GNUNET_ATS_solver_generate_property_start(), GNUNET_ATS_solver_logging_now(), GNUNET_ATS_solver_logging_start(), GNUNET_ATS_solver_logging_write_to_disk(), GNUNET_ATS_solvers_solver_start(), GNUNET_ATS_TEST_create_topology(), GNUNET_ATS_TEST_generate_preferences_start(), GNUNET_ATS_TEST_generate_traffic_start(), GNUNET_ATS_TEST_logging_now(), GNUNET_ATS_TEST_logging_start(), GNUNET_ATS_transport_init(), GNUNET_BLOCK_context_create(), GNUNET_BLOCK_GROUP_bf_create(), GNUNET_CADET_connect(), GNUNET_CADET_get_channel(), GNUNET_CADET_get_path(), GNUNET_CADET_list_peers(), GNUNET_CADET_list_tunnels(), GNUNET_CADET_open_port(), GNUNET_CADET_TEST_ruN(), GNUNET_CLIENT_connect(), GNUNET_CONFIGURATION_create(), GNUNET_CONFIGURATION_set_value_string(), GNUNET_CONNECTION_create_from_accept(), GNUNET_CONNECTION_create_from_connect(), GNUNET_CONNECTION_create_from_connect_to_unixpath(), GNUNET_CONNECTION_create_from_existing(), GNUNET_CONSENSUS_create(), GNUNET_CONSENSUS_insert(), GNUNET_CONTAINER_bloomfilter_init(), GNUNET_CONTAINER_bloomfilter_load(), GNUNET_CONTAINER_heap_create(), GNUNET_CONTAINER_heap_insert(), GNUNET_CONTAINER_meta_data_create(), GNUNET_CONTAINER_meta_data_insert(), GNUNET_CONTAINER_meta_data_serialize(), GNUNET_CONTAINER_multihashmap32_create(), GNUNET_CONTAINER_multihashmap32_iterator_create(), GNUNET_CONTAINER_multihashmap32_put(), GNUNET_CONTAINER_multihashmap_create(), GNUNET_CONTAINER_multihashmap_iterator_create(), GNUNET_CONTAINER_multihashmap_put(), GNUNET_CONTAINER_multipeermap_create(), GNUNET_CONTAINER_multipeermap_iterator_create(), GNUNET_CONTAINER_multipeermap_put(), GNUNET_CONTAINER_multishortmap_create(), GNUNET_CONTAINER_multishortmap_iterator_create(), GNUNET_CONTAINER_multishortmap_put(), GNUNET_CONTAINER_multiuuidmap_create(), GNUNET_CONTAINER_multiuuidmap_iterator_create(), GNUNET_CONTAINER_multiuuidmap_put(), GNUNET_CONVERSATION_call_start(), GNUNET_CONVERSATION_phone_create(), GNUNET_CORE_connect(), GNUNET_CORE_monitor_start(), GNUNET_CREDENTIAL_collect(), GNUNET_CREDENTIAL_connect(), GNUNET_CREDENTIAL_verify(), GNUNET_CRYPTO_cpabe_create_key(), GNUNET_CRYPTO_cpabe_create_master_key(), GNUNET_CRYPTO_cpabe_deserialize_key(), GNUNET_CRYPTO_cpabe_deserialize_master_key(), GNUNET_CRYPTO_ecc_dlog_prepare(), GNUNET_CRYPTO_ecdhe_key_create(), GNUNET_CRYPTO_ecdsa_key_create(), GNUNET_CRYPTO_ecdsa_private_key_derive(), GNUNET_CRYPTO_eddsa_key_create(), GNUNET_CRYPTO_hash_context_start(), GNUNET_CRYPTO_rsa_private_key_create(), GNUNET_CRYPTO_rsa_private_key_decode(), GNUNET_CRYPTO_rsa_private_key_dup(), GNUNET_CRYPTO_rsa_private_key_get_public(), GNUNET_CRYPTO_rsa_public_key_decode(), GNUNET_CRYPTO_rsa_public_key_dup(), GNUNET_CRYPTO_rsa_signature_decode(), GNUNET_CRYPTO_rsa_signature_dup(), GNUNET_CRYPTO_rsa_unblind(), GNUNET_CURL_gnunet_rc_create(), GNUNET_CURL_gnunet_rc_create_with_parser(), GNUNET_CURL_init(), GNUNET_CURL_job_add2(), GNUNET_DATACACHE_create(), GNUNET_DATASTORE_connect(), GNUNET_DEFRAGMENT_context_create(), GNUNET_DHT_connect(), GNUNET_DHT_monitor_start(), GNUNET_DHT_put(), GNUNET_DHT_TEST_run(), GNUNET_DISK_file_close(), GNUNET_DISK_file_map(), GNUNET_DISK_file_open(), GNUNET_DISK_get_handle_from_int_fd(), GNUNET_DISK_pipe(), GNUNET_DISK_pipe_from_fd(), GNUNET_DNS_connect(), GNUNET_DNSPARSER_parse(), GNUNET_DNSPARSER_parse_cert(), GNUNET_DNSPARSER_parse_mx(), GNUNET_DNSPARSER_parse_soa(), GNUNET_DNSPARSER_parse_srv(), GNUNET_DNSSTUB_add_dns_ip(), GNUNET_DNSSTUB_add_dns_sa(), GNUNET_DNSSTUB_start(), GNUNET_FRIENDS_write_start(), GNUNET_FS_directory_builder_create(), GNUNET_FS_directory_scan_start(), GNUNET_FS_file_information_create_empty_directory(), GNUNET_FS_file_information_create_from_reader(), GNUNET_FS_get_indexed_files(), GNUNET_FS_make_file_reader_context_(), GNUNET_FS_make_top(), GNUNET_FS_probe(), GNUNET_FS_publish_ksk(), GNUNET_FS_publish_sks(), GNUNET_FS_publish_start(), GNUNET_FS_publish_ublock_(), GNUNET_FS_queue_(), GNUNET_FS_start(), GNUNET_FS_TEST_download(), GNUNET_FS_TEST_publish(), GNUNET_FS_tree_encoder_create(), GNUNET_FS_tree_encoder_next(), GNUNET_FS_unindex_start(), GNUNET_FS_uri_dup(), GNUNET_FS_uri_ksk_create_from_args(), GNUNET_FS_uri_ksk_create_from_meta_data(), GNUNET_FS_uri_ksk_merge(), GNUNET_FS_uri_loc_create(), GNUNET_FS_uri_loc_get_uri(), GNUNET_FS_uri_sks_create(), GNUNET_GETOPT_option_base32_fixed_size(), GNUNET_GNS_connect(), GNUNET_GNS_lookup(), GNUNET_GNS_lookup_with_tld(), GNUNET_HELPER_start(), GNUNET_IDENTITY_connect(), GNUNET_IDENTITY_create(), GNUNET_IDENTITY_delete(), GNUNET_IDENTITY_ego_lookup(), GNUNET_IDENTITY_ego_lookup_by_suffix(), GNUNET_IDENTITY_get(), GNUNET_IDENTITY_rename(), GNUNET_IDENTITY_set(), GNUNET_JSON_post_parser(), GNUNET_JSON_spec_gnsrecord(), GNUNET_LOAD_value_init(), GNUNET_logger_add(), GNUNET_MICROPHONE_create_from_hardware(), GNUNET_MQ_destroy_notify(), GNUNET_MQ_queue_for_callbacks(), GNUNET_MST_create(), GNUNET_MYSQL_context_create(), GNUNET_MYSQL_statement_prepare(), GNUNET_NAMECACHE_block_cache(), GNUNET_NAMECACHE_connect(), GNUNET_NAMECACHE_lookup_block(), GNUNET_NAMESTORE_connect(), GNUNET_NAMESTORE_records_lookup(), GNUNET_NAMESTORE_records_store(), GNUNET_NAMESTORE_zone_iteration_start(), GNUNET_NAMESTORE_zone_monitor_start(), GNUNET_NAMESTORE_zone_to_name(), GNUNET_NAT_AUTO_autoconfig_start(), GNUNET_NAT_AUTO_test_start(), GNUNET_NAT_autoconfig_start(), GNUNET_NAT_mini_get_external_ipv4_(), GNUNET_NAT_mini_map_start(), GNUNET_NAT_register(), GNUNET_NAT_stun_make_request(), GNUNET_NAT_test_start(), GNUNET_NETWORK_fdset_create(), GNUNET_NETWORK_socket_accept(), GNUNET_NETWORK_socket_box_native(), GNUNET_NETWORK_socket_create(), GNUNET_notification_context_add(), GNUNET_notification_context_create(), GNUNET_NSE_connect(), GNUNET_NT_scanner_init(), GNUNET_OP_add(), GNUNET_OP_create(), GNUNET_OS_command_run(), GNUNET_PEER_intern(), GNUNET_PEERINFO_connect(), GNUNET_PEERINFO_iterate(), GNUNET_PEERINFO_notify(), GNUNET_PEERSTORE_connect(), GNUNET_PEERSTORE_iterate(), GNUNET_PEERSTORE_store(), GNUNET_PEERSTORE_watch(), GNUNET_PLUGIN_load(), GNUNET_RECLAIM_attribute_delete(), GNUNET_RECLAIM_ATTRIBUTE_list_add(), GNUNET_RECLAIM_ATTRIBUTE_list_deserialize(), GNUNET_RECLAIM_ATTRIBUTE_list_dup(), GNUNET_RECLAIM_attribute_store(), GNUNET_RECLAIM_connect(), GNUNET_RECLAIM_get_attributes_start(), GNUNET_RECLAIM_ticket_consume(), GNUNET_RECLAIM_ticket_issue(), GNUNET_RECLAIM_ticket_iteration_start(), GNUNET_RECLAIM_ticket_revoke(), GNUNET_REGEX_announce(), GNUNET_REGEX_search(), GNUNET_REVOCATION_query(), GNUNET_REVOCATION_revoke(), GNUNET_RPS_connect(), GNUNET_RPS_request_peer_info(), GNUNET_RPS_request_peers(), GNUNET_SCALARPRODUCT_accept_computation(), GNUNET_SCALARPRODUCT_start_computation(), GNUNET_SCHEDULER_add_at_with_priority(), GNUNET_SCHEDULER_add_select(), GNUNET_SCHEDULER_add_shutdown(), GNUNET_SCHEDULER_add_with_reason_and_priority(), GNUNET_SCHEDULER_driver_init(), GNUNET_SCHEDULER_driver_select(), GNUNET_SECRETSHARING_create_session(), GNUNET_SECRETSHARING_decrypt(), GNUNET_SECRETSHARING_share_read(), GNUNET_SERVER_add_handlers(), GNUNET_SERVER_connect_notify(), GNUNET_SERVER_connect_socket(), GNUNET_SERVER_create_with_sockets(), GNUNET_SERVER_disconnect_notify(), GNUNET_SERVER_mst_create(), GNUNET_SERVICE_start(), GNUNET_SET_accept(), GNUNET_SET_copy_lazy(), GNUNET_SET_listen(), GNUNET_SET_prepare(), GNUNET_SIGNAL_handler_install(), GNUNET_SOCKS_init_handshake(), GNUNET_SPEAKER_create_from_hardware(), GNUNET_STATISTICS_create(), GNUNET_STATISTICS_get(), GNUNET_STATISTICS_watch(), GNUNET_TESTBED_barrier_init_(), GNUNET_TESTBED_barrier_wait(), GNUNET_TESTBED_controller_connect(), GNUNET_TESTBED_controller_link(), GNUNET_TESTBED_controller_start(), GNUNET_TESTBED_forward_operation_msg_(), GNUNET_TESTBED_get_slave_config_(), GNUNET_TESTBED_get_statistics(), GNUNET_TESTBED_host_create_with_id(), GNUNET_TESTBED_is_host_habitable(), GNUNET_TESTBED_LOGGER_connect(), GNUNET_TESTBED_mark_host_registered_at_(), GNUNET_TESTBED_operation_create_(), GNUNET_TESTBED_operation_queue_create_(), GNUNET_TESTBED_overlay_configure_topology_va(), GNUNET_TESTBED_overlay_connect(), GNUNET_TESTBED_peer_create(), GNUNET_TESTBED_peer_destroy(), GNUNET_TESTBED_peer_get_information(), GNUNET_TESTBED_peer_manage_service(), GNUNET_TESTBED_peer_start(), GNUNET_TESTBED_peer_stop(), GNUNET_TESTBED_peer_update_configuration(), GNUNET_TESTBED_register_host(), GNUNET_TESTBED_run(), GNUNET_TESTBED_SD_add_data_(), GNUNET_TESTBED_SD_init_(), GNUNET_TESTBED_service_connect(), GNUNET_TESTBED_shutdown_peers(), GNUNET_TESTBED_underlaylinkmodel_add_peer(), GNUNET_TESTBED_underlaylinkmodel_create(), GNUNET_TESTBED_underlaylinkmodel_set_link(), GNUNET_TESTING_hostkey_get(), GNUNET_TESTING_peer_configure(), GNUNET_TESTING_peer_get_identity(), GNUNET_TESTING_system_create_with_portrange(), GNUNET_TRANSPORT_address_to_string(), GNUNET_TRANSPORT_application_init(), GNUNET_TRANSPORT_application_suggest(), GNUNET_TRANSPORT_blacklist(), GNUNET_TRANSPORT_communicator_address_add(), GNUNET_TRANSPORT_communicator_connect(), GNUNET_TRANSPORT_communicator_mq_add(), GNUNET_TRANSPORT_communicator_receive(), GNUNET_TRANSPORT_core_connect(), GNUNET_TRANSPORT_core_get_mq(), GNUNET_TRANSPORT_hello_get(), GNUNET_TRANSPORT_manipulation_connect(), GNUNET_TRANSPORT_monitor(), GNUNET_TRANSPORT_monitor_peers(), GNUNET_TRANSPORT_monitor_plugins(), GNUNET_TRANSPORT_offer_hello(), GNUNET_TRANSPORT_TESTING_connect_peers(), GNUNET_TRANSPORT_TESTING_init(), GNUNET_TRANSPORT_TESTING_start_peer(), GNUNET_TRANSPORT_TESTING_transport_communicator_open_queue(), GNUNET_TRANSPORT_TESTING_transport_communicator_service_start(), GNUNET_VPN_connect(), GNUNET_VPN_redirect_to_peer(), GPI_plugins_load(), GSC_SESSIONS_create(), GSC_TYPEMAP_create(), GSC_TYPEMAP_extend(), GSC_TYPEMAP_get_from_message(), GSF_cadet_query(), GSF_peer_connect_handler(), GSF_peer_transmit_(), GSF_plan_add_(), GSF_push_start_(), GST_ats_add_address(), GST_ats_add_inbound_address(), GST_blacklist_test_allowed(), GST_connection_pool_get_handle(), GST_create_neighbour(), GST_hello_modify_addresses(), GST_manipulation_set_metric(), GST_neighbour_get_connection(), GST_neighbours_switch_to_address(), GST_plugins_load(), GST_process_next_focc(), GST_queue_host_registration(), handle_add_queue_message(), handle_alice_client_message(), handle_alice_client_message_multipart(), handle_attribute_delete_message(), handle_attribute_store_message(), handle_autoconfig_request(), handle_barrier_init(), handle_bob_client_message(), handle_bob_client_message_multipart(), handle_client_address_to_string(), handle_client_call_message(), handle_client_copy_lazy_connect(), handle_client_copy_lazy_prepare(), handle_client_create_set(), handle_client_decrypt(), handle_client_evaluate(), handle_client_index_start(), handle_client_join(), handle_client_keygen(), handle_client_listen(), handle_client_mutation(), handle_client_redirect_to_ip(), handle_client_redirect_to_service(), handle_client_send(), handle_client_send_request(), handle_client_start_search(), handle_collect(), handle_connect(), handle_connection_create(), handle_consume_ticket_message(), handle_core_connect(), handle_create_message(), handle_cred_collection_cb(), handle_dht_local_monitor(), handle_dht_reply(), handle_dht_response(), handle_dht_result(), handle_dns_request(), handle_event(), handle_gns_cname_result(), handle_gns_resolution_result(), handle_identity_update(), handle_incoming_msg(), handle_init(), handle_issue_ticket_message(), handle_iteration_start(), handle_link_controllers(), handle_lookup(), handle_manage_peer_service(), handle_monitor_event(), handle_monitor_start(), handle_overlay_connect(), handle_p2p_get(), handle_p2p_put(), handle_p2p_reply(), handle_peer_config(), handle_peer_create(), handle_peer_destroy(), handle_peer_get_config(), handle_peer_pull_reply(), handle_peer_push(), handle_peer_reconfigure(), handle_peer_start(), handle_peer_stop(), handle_phone_ring(), handle_port_open(), handle_raw_message(), handle_remote_overlay_connect(), handle_request(), handle_reserve(), handle_revoke_ticket_message(), handle_send_msg(), handle_session_add(), handle_shutdown_peers(), handle_stun(), handle_suggest(), handle_tcp_nat_probe(), handle_ticket_iteration_start(), handle_transport_notify_connect(), handle_validation_challenge(), handle_validation_response(), handle_verify(), handle_watch(), heap_plugin_put(), http_client_plugin_get_session(), http_common_dns_ip_lookup(), http_common_dns_reverse_lookup(), http_common_socket_from_address(), http_split_address(), ibf_create(), id_connect_cb(), identity_cb(), iface_proc(), inbound_channel(), init_egos(), insert_pending_message(), intersection_accept(), intersection_evaluate(), intersection_set_create(), iter_cb(), iteration_start(), kce_generate(), keygen_round2_conclude(), kill_session(), learn_dv_path(), LEGACY_SERVICE_start(), libgnunet_plugin_ats2_simple_init(), libgnunet_plugin_ats_mlp_init(), libgnunet_plugin_ats_proportional_init(), libgnunet_plugin_ats_ril_init(), libgnunet_plugin_block_consensus_init(), libgnunet_plugin_block_dht_init(), libgnunet_plugin_block_dns_init(), libgnunet_plugin_block_fs_init(), libgnunet_plugin_block_gns_init(), libgnunet_plugin_block_regex_init(), libgnunet_plugin_block_revocation_init(), libgnunet_plugin_block_SERVICE_init(), libgnunet_plugin_block_set_test_init(), libgnunet_plugin_block_template_init(), libgnunet_plugin_block_test_init(), libgnunet_plugin_datacache_heap_init(), libgnunet_plugin_datacache_postgres_init(), libgnunet_plugin_datacache_sqlite_init(), libgnunet_plugin_datacache_template_init(), libgnunet_plugin_datastore_heap_init(), libgnunet_plugin_datastore_mysql_init(), libgnunet_plugin_datastore_postgres_init(), libgnunet_plugin_datastore_sqlite_init(), libgnunet_plugin_datastore_template_init(), libgnunet_plugin_gnsrecord_conversation_init(), libgnunet_plugin_gnsrecord_credential_init(), libgnunet_plugin_gnsrecord_dns_init(), libgnunet_plugin_gnsrecord_gns_init(), libgnunet_plugin_gnsrecord_reclaim_init(), libgnunet_plugin_namecache_flat_init(), libgnunet_plugin_namecache_postgres_init(), libgnunet_plugin_namecache_sqlite_init(), libgnunet_plugin_namestore_flat_init(), libgnunet_plugin_namestore_postgres_init(), libgnunet_plugin_namestore_sqlite_init(), libgnunet_plugin_peerstore_flat_init(), libgnunet_plugin_peerstore_sqlite_init(), libgnunet_plugin_reclaim_attribute_gnuid_init(), libgnunet_plugin_rest_config_init(), libgnunet_plugin_rest_copying_init(), libgnunet_plugin_rest_credential_init(), libgnunet_plugin_rest_gns_init(), libgnunet_plugin_rest_identity_init(), libgnunet_plugin_rest_namestore_init(), libgnunet_plugin_rest_openid_connect_init(), libgnunet_plugin_rest_peerinfo_init(), libgnunet_plugin_rest_reclaim_init(), libgnunet_plugin_transport_http_client_init(), libgnunet_plugin_transport_http_server_init(), LIBGNUNET_PLUGIN_TRANSPORT_INIT(), libgnunet_plugin_transport_tcp_init(), libgnunet_plugin_transport_template_init(), libgnunet_plugin_transport_udp_init(), libgnunet_plugin_transport_unix_init(), list_ego(), listen_cb(), listenAndDistribute(), load_episode(), load_episodes(), load_plugin(), load_state(), login_cont(), lookup_authz_cb(), lookup_hole_external(), lookup_ssl_httpd(), lower_rung(), make_oplist_entry(), make_peer(), make_queue_entry(), merge_pr(), mq_init(), my_nc(), namestore_flat_store_records(), new_channel(), new_peer_entry(), new_regex_ctx(), new_service_channel(), new_stream_request(), new_sub(), new_value_set(), nfa_fragment_create(), nfa_state_create(), notify_connect(), oidc_attr_collect(), op_register_element(), opstart_get_stats(), overlay_link_completed(), parse_pattern(), parse_ticket(), peer_add(), peerinfo_list_iteration(), peerstore_flat_store_record(), PEERSTORE_parse_record_message(), persist_access_token(), phone_event_handler(), plugin_monitoring_cb(), pong(), prepare_pending_acknowledgement(), preprocess_file(), print_examples_ecdh(), print_peer_info(), process_ego_file(), process_external_ip(), process_ksk_result(), process_notify(), process_parallel_lookup_result(), process_peer_monitoring_cb(), process_sks_result(), proto_read_kx(), put_gns_record(), qconv_abs_time(), qconv_uint16(), qconv_uint32(), qconv_uint64(), queue(), queue_send_msg(), read_download_request(), read_service_conf(), read_update_information_graph(), RECLAIM_TICKETS_consume(), RECLAIM_TICKETS_issue(), RECLAIM_TICKETS_iteration_start(), RECLAIM_TICKETS_revoke(), recursive_dns_resolution(), recursive_gns2dns_resolution(), recursive_pkey_resolution(), refresh_block(), REGEX_INTERNAL_announce(), REGEX_INTERNAL_construct_dfa(), REGEX_INTERNAL_search(), regex_next_edge(), register_host(), register_hosts(), request_peers(), resolve_and_cache(), resolve_peer_address(), rest_config_process_request(), rest_copying_process_request(), rest_credential_process_request(), rest_identity_process_request(), rest_process_request(), result_processor(), revoke_attrs_cb(), rfn_create(), rfn_vote(), route_message(), route_packet(), RPS_sampler_elem_create(), RPS_sampler_get_n_rand_peers(), RPS_sampler_get_rand_peer_info(), RPS_sampler_init(), RPS_sampler_mod_init(), rq_add(), rsa_blinding_key_derive(), rsa_sign_mpi(), run(), rvk_ticket_update(), s2i_full(), sampler_notify_on_update(), schedule_missing_requests(), schedule_watch_request(), search_start(), select_add(), send_with_fragmentation(), server_add_address(), server_configure_plugin(), server_lookup_connection(), set_copy_cb(), setup_neighbour(), setup_queue(), setup_sender(), setup_service(), setup_shared_secret_dec(), setup_shared_secret_enc(), start_address_validation(), start_client(), start_dv_learn(), start_peers_task(), start_process(), start_resolver_lookup(), state_add_transition(), store_all_states(), store_skipped_key(), strata_estimator_create(), strata_estimator_dup(), task_start_apply_round(), task_start_eval_echo(), tcp_plugin_address_pretty_printer(), tcp_plugin_string_to_address(), test_connection_ok(), ticket_iter(), tokenizer_cb(), try_connect(), try_connection_reversal(), try_send_tcp(), udp_plugin_address_pretty_printer(), udp_plugin_create_session(), udp_plugin_send(), udp_string_to_address(), union_accept(), union_copy_state(), union_evaluate(), union_set_create(), unix_address_to_sockaddr(), unix_plugin_get_session(), unix_plugin_send(), update_preference(), uri_chk_parse(), uri_ksk_parse(), uri_loc_parse(), uri_sks_parse(), View_change_len(), View_create(), View_put(), wait_op_completion(), and wlan_plugin_string_to_address().

◆ GNUNET_new_array

#define GNUNET_new_array (   n,
  type 
)    (type *) GNUNET_malloc ((n) * sizeof (type))

Allocate a size n array with structs or unions of the given type.

Wrapper around GNUNET_malloc that returns a pointer to the newly created objects of the correct type.

Parameters
nnumber of elements in the array
typename of the struct or union, i.e. pass 'struct Foo'.

Definition at line 1150 of file gnunet_common.h.

Referenced by cadet_connect_adapter(), check_n_peers_ready(), compute_diversity(), create_download_request(), database_setup(), decrypt_conclude(), do_shutdown(), GCPP_get_path_from_route(), GCPP_try_path_from_dht(), gen_topo_clique(), gen_topo_line(), gen_topo_star(), generate_presecret_polynomial(), get_server_addresses(), get_target_peers(), GNUNET_ATS_TEST_create_topology(), GNUNET_CADET_TEST_ruN(), GNUNET_CONTAINER_multihashmap_create(), GNUNET_DHT_TEST_run(), GNUNET_DNSPARSER_parse(), GNUNET_DNSSTUB_start(), GNUNET_FS_directory_builder_finish(), GNUNET_FS_search_start_searching_(), GNUNET_FS_tree_encoder_create(), GNUNET_FS_uri_dup(), GNUNET_FS_uri_ksk_create(), GNUNET_FS_uri_ksk_create_from_args(), GNUNET_FS_uri_ksk_create_from_meta_data(), GNUNET_FS_uri_ksk_merge(), GNUNET_GETOPT_run(), GNUNET_MQ_copy_handlers(), GNUNET_MQ_copy_handlers2(), GNUNET_SECRETSHARING_share_read(), GNUNET_TRANSPORT_core_connect(), GNUNET_TRANSPORT_core_get_mq(), GNUNET_TRANSPORT_TESTING_start_peer(), GSF_pending_request_create_(), handle_alices_cryptodata_message(), handle_bobs_cryptodata_message(), handle_client_decrypt(), handle_client_join(), handle_client_keygen(), handle_register(), handle_stream_input(), init_fd_info(), initialize_session_peer_list(), keygen_round2_conclude(), main(), main_run(), make_reverse_hostname(), namestore_flat_store_records(), new_value_set(), normalize_peers(), rfn_create(), rfn_vote(), RPS_sampler_get_n_rand_peers(), run(), run_with_zone_pkey(), send_alices_cryptodata_message(), set_result_cb(), setup_service(), strata_estimator_create(), strata_estimator_dup(), test_master(), test_run(), uri_ksk_parse(), and View_create().

◆ GNUNET_new_array_2d

#define GNUNET_new_array_2d (   n,
  m,
  type 
)    (type **) GNUNET_xnew_array_2d_ (n, m, sizeof (type), __FILE__, __LINE__)

Allocate a size n times m array with structs or unions of the given type.

Parameters
nsize of the first dimension
msize of the second dimension
typename of the struct or union, i.e. pass 'struct Foo'.

Definition at line 1161 of file gnunet_common.h.

◆ GNUNET_new_array_3d

#define GNUNET_new_array_3d (   n,
  m,
  o,
  type 
)    (type ***) GNUNET_xnew_array_3d_ (n, m, o, sizeof (type), __FILE__, __LINE__)

Allocate a size n times m times o array with structs or unions of the given type.

Parameters
nsize of the first dimension
msize of the second dimension
osize of the third dimension
typename of the struct or union, i.e. pass 'struct Foo'.

Definition at line 1174 of file gnunet_common.h.

◆ GNUNET_malloc

#define GNUNET_malloc (   size)    GNUNET_xmalloc_ (size, __FILE__, __LINE__)

Wrapper around malloc.

Allocates size bytes of memory. The memory will be zero'ed out.

Parameters
sizethe number of bytes to allocate, must be smaller than 40 MB.
Returns
pointer to size bytes of memory, never NULL (!)

Definition at line 1186 of file gnunet_common.h.

Referenced by _make_continuous_arg_copy(), ack_proc(), adaptive_queue_set_max_active(), add_dns_result(), add_host(), add_record(), add_to_keyword_counter(), address_notification(), aes_128_cbc_decrypt(), aes_128_cbc_encrypt(), agent_init(), api_connect(), api_create_hello(), api_send(), attr_store_task(), auth_key_to_string(), bf_group_serialize_cb(), block_create(), buffer_append(), buffer_init(), cache_nick(), collector(), compose_address_iterate_response_message(), compute_probabilities(), compute_service_response(), connect_probe_continuation(), consider_for_advertising(), copy_argv(), create_address(), create_ats_address(), create_peers(), create_session(), create_string_array(), credential_string_to_value(), curl_check_hdr(), database_setup(), deserialize_search_result(), dfa_state_create(), dht_get_string_handler(), discard_hosts_helper(), dns_string_to_value(), do_connect_peers(), do_restart_typemap_message(), enqueue_fragment(), envi_get_state(), escape_name(), execute_add(), expand_dollar(), extract_box_cb(), extract_var_blob(), extract_varsize_blob(), find_full_data(), find_subsystem_entry(), format_help(), forward_dv_box(), fragment_message(), GCCH_handle_local_data(), GCT_send(), GDS_ROUTING_add(), gen_topo_2dtorus(), gen_topo_from_file(), gen_topo_random(), gen_topo_scale_free(), get_app(), get_ip_from_hostname(), get_my_cnf_path(), get_nick_record(), get_path_from_PATH(), get_server_addresses(), getopt_set_keywords(), gns_string_to_value(), GNUNET_asprintf(), GNUNET_ATS_session_add(), GNUNET_ATS_TEST_logging_now(), GNUNET_ATS_TEST_logging_start(), GNUNET_BIO_read_meta_data(), GNUNET_BIO_read_open(), GNUNET_BIO_read_string(), GNUNET_BIO_write_open(), GNUNET_CONFIGURATION_append_value_filename(), GNUNET_CONFIGURATION_parse(), GNUNET_CONFIGURATION_serialize(), GNUNET_CONNECTION_connect_socket(), GNUNET_CONNECTION_create_from_accept(), GNUNET_CONNECTION_create_from_connect(), GNUNET_CONNECTION_create_from_connect_to_unixpath(), GNUNET_CONNECTION_create_from_existing(), GNUNET_CONNECTION_get_address(), GNUNET_CONTAINER_bloomfilter_load(), GNUNET_CONTAINER_bloomfilter_resize(), GNUNET_CONTAINER_meta_data_get_thumbnail(), GNUNET_CONTAINER_meta_data_insert(), GNUNET_CONTAINER_meta_data_serialize(), GNUNET_copy_message(), GNUNET_CREDENTIAL_credential_deserialize(), GNUNET_CREDENTIAL_credential_from_string(), GNUNET_CREDENTIAL_credential_issue(), GNUNET_CREDENTIAL_credential_serialize(), GNUNET_CRYPTO_ecdsa_key_create_from_file(), GNUNET_CRYPTO_ecdsa_private_key_to_string(), GNUNET_CRYPTO_ecdsa_public_key_to_string(), GNUNET_CRYPTO_eddsa_key_create_from_file(), GNUNET_CRYPTO_eddsa_private_key_to_string(), GNUNET_CRYPTO_eddsa_public_key_to_string(), GNUNET_CRYPTO_hash_file(), GNUNET_CRYPTO_random_permute(), GNUNET_CRYPTO_rsa_private_key_encode(), GNUNET_CRYPTO_rsa_public_key_encode(), GNUNET_CRYPTO_rsa_signature_encode(), GNUNET_decompress(), GNUNET_DEFRAGMENT_process_fragment(), GNUNET_DHT_get_start(), GNUNET_DISK_directory_scan(), GNUNET_DISK_file_backup(), GNUNET_DISK_file_copy(), GNUNET_DNSPARSER_bin_to_hex(), GNUNET_DNSPARSER_pack(), GNUNET_DNSPARSER_parse_cert(), GNUNET_DNSPARSER_parse_record(), GNUNET_FRAGMENT_context_create(), GNUNET_FS_add_to_index(), GNUNET_FS_directory_builder_add(), GNUNET_FS_publish_ublock_(), GNUNET_FS_uri_ksk_to_string_fancy(), GNUNET_GETOPT_run(), GNUNET_HELLO_address_allocate(), GNUNET_HELLO_create(), GNUNET_HELLO_iterate_addresses(), GNUNET_HELPER_send(), GNUNET_HELPER_start(), GNUNET_MQ_msg_(), GNUNET_MQ_msg_copy(), GNUNET_MQ_send_copy(), GNUNET_MST_create(), GNUNET_NAT_register(), GNUNET_NETWORK_socket_bind(), GNUNET_OS_init(), GNUNET_OS_process_destroy(), GNUNET_OS_start_process_s(), GNUNET_OS_start_process_va(), GNUNET_PROGRAM_run2(), GNUNET_RECLAIM_ATTRIBUTE_claim_new(), GNUNET_RECLAIM_ATTRIBUTE_deserialize(), GNUNET_RESOLVER_hostname_get(), GNUNET_RESOLVER_ip_get(), GNUNET_SERVER_create(), GNUNET_SERVER_mst_create(), GNUNET_SET_element_dup(), GNUNET_STRINGS_base64_decode(), GNUNET_STRINGS_base64_encode(), GNUNET_STRINGS_byte_size_fancy(), GNUNET_STRINGS_conv(), GNUNET_STRINGS_data_to_string_alloc(), GNUNET_STRINGS_filename_expand(), GNUNET_STRINGS_get_utf8_args(), GNUNET_STRINGS_parse_ipv4_policy(), GNUNET_STRINGS_parse_ipv6_policy(), GNUNET_STRINGS_parse_socket_addr(), GNUNET_STRINGS_parse_uri(), GNUNET_STRINGS_pp2s(), GNUNET_TESTBED_2dtorus_calc_links(), GNUNET_TESTBED_compress_config_(), GNUNET_TESTBED_controller_link(), GNUNET_TESTBED_extract_config_(), GNUNET_TESTBED_generate_peergetconfig_msg_(), GNUNET_TESTBED_generate_slavegetconfig_msg_(), GNUNET_TESTBED_hosts_load_from_file(), GNUNET_TESTBED_operation_inactivate_(), GNUNET_TESTBED_register_host(), GNUNET_TESTBED_run(), GNUNET_TESTBED_test_run(), GNUNET_TESTING_peer_configure(), GNUNET_TRANSPORT_TESTING_transport_communicator_send(), GNUNET_try_compression(), GNUNET_VPN_redirect_to_ip(), GSC_SESSIONS_set_typemap(), GSC_SESSIONS_transmit(), GSC_TYPEMAP_compute_type_map_message(), GSF_pending_request_create_(), GST_manipulation_send(), GST_neighbours_send(), GST_stats_init(), GST_validation_handle_ping(), handle_add_address(), handle_add_host(), handle_add_queue_message(), handle_address_change_notification(), handle_barrier_cancel(), handle_barrier_init(), handle_barrier_status(), handle_barrier_wait(), handle_block_cache(), handle_client_init(), handle_client_insert(), handle_client_response(), handle_client_send(), handle_dht_local_get(), handle_dv_box(), handle_fragment_box(), handle_gns_resolution_result(), handle_intersection_p2p_bf(), handle_link_controllers_result(), handle_record_store(), handle_remote_overlay_connect(), handle_request(), handle_set(), handle_union_p2p_elements(), handle_union_p2p_full_element(), handle_verify(), handle_watch(), handler_advertisement(), hash_pkey_and_label(), heap_plugin_put(), hello_update_cb(), helper_mst(), host_habitable_cb(), http_client_plugin_send(), http_common_address_from_socket(), http_common_plugin_string_to_address(), http_server_plugin_send(), ibf_dup(), iface_proc(), ifc_proc(), inflate_data(), insert_round1_element(), insert_round2_element(), interface_proc(), issue_ticket(), iterate_cb(), json_to_credential(), learn_dv_path(), LEGACY_SERVICE_get_server_addresses(), LEGACY_SERVICE_start(), libgnunet_plugin_ats_proportional_init(), libgnunet_plugin_ats_ril_init(), libgnunet_plugin_transport_tcp_init(), libgnunet_plugin_transport_unix_done(), listenAndDistribute(), load(), load_file(), load_hostlist_file(), load_search_strings(), logger_run(), lookup_it(), lookup_nick_it(), main(), main_run(), make_info_message(), make_peer(), merge_with_nick_records(), mktemp_name(), mlp_create_problem(), mlp_create_problem_update_value(), multirecord_process(), namecache_cache_block(), namestore_flat_store_records(), new_regex_ctx(), normalize_metadata(), notify_listeners(), numeric_mpi_alloc_n_print(), OIDC_build_authz_code(), OIDC_parse_authz_code(), opstart_get_stats(), opus_init(), parse_record_data(), parse_rsa_public_key(), parse_rsa_signature(), parse_variable_data(), peerinfo_list_iteration(), peerstore_flat_store_record(), PEERSTORE_hash_key(), PEERSTORE_parse_record_message(), percent_decode_keyword(), plugin_session_info_cb(), policy_filename_cb(), port_to_regex(), post_extract_rsa_public_key(), post_extract_rsa_signature(), post_extract_string(), post_extract_varsize_blob(), post_profiler(), print_key(), print_peer_info(), process_dns_result(), process_hello(), process_helper_messages(), process_ksk_result(), process_migration_content(), publish_content(), queue(), read_cpabe(), read_download_request(), read_index_list(), read_process_fragment(), read_update_information_graph(), record(), REGEX_BLOCK_create(), regex_split(), REGEX_TEST_generate_random_regex(), REGEX_TEST_generate_random_string(), REGEX_TEST_read_from_file(), reliability_box_message(), restore_valid_peers(), ril_cut_from_vector(), RPS_sampler_get_rand_peer_info(), run(), run_process_and_wait(), rvk_move_attr_cb(), rvk_ticket_update(), save(), sb_init(), sb_realloc(), sb_wrap(), send_alices_cryptodata_message(), send_bloomfilter(), send_hello_thru_rocc(), server_get_addresses(), server_log(), server_notify_external_hostname(), service_task(), setup_service(), simple_session_add(), start_process(), store_all_states(), store_prefix_file_name(), tcp_address_to_sockaddr(), tcp_plugin_send(), test_master(), ticket_iter(), tokenizer_cb(), transmit_cryptographic_reply(), try_connect_using_address(), udp_address_to_sockaddr(), udp_plugin_send(), union_accept(), unix_plugin_do_read(), unix_plugin_send(), unix_plugin_string_to_address(), update_config_sections(), update_hello(), update_zoneinfo_page(), uri_ksk_to_string(), url_decode(), url_encode(), watch_cb(), and write_cpabe().

◆ GNUNET_memdup

#define GNUNET_memdup (   buf,
  size 
)    GNUNET_xmemdup_ (buf, size, __FILE__, __LINE__)

◆ GNUNET_malloc_large

#define GNUNET_malloc_large (   size)    GNUNET_xmalloc_unchecked_ (size, __FILE__, __LINE__)

◆ GNUNET_realloc

#define GNUNET_realloc (   ptr,
  size 
)    GNUNET_xrealloc_ (ptr, size, __FILE__, __LINE__)

Wrapper around realloc.

Reallocates size bytes of memory. The content of the intersection of the new and old size will be unchanged.

Parameters
ptrthe pointer to reallocate
sizethe number of bytes to reallocate
Returns
pointer to size bytes of memory

Definition at line 1218 of file gnunet_common.h.

Referenced by dfa_state_create(), download_cb(), expand_dollar(), gen_topo_from_file(), gen_topo_random(), gen_topo_ring(), gen_topo_scale_free(), get_url_benchmark_data(), GNUNET_CONFIGURATION_expand_dollar(), GNUNET_MST_from_buffer(), GNUNET_OS_init(), GNUNET_SERVER_mst_receive(), GNUNET_TESTBED_create_helper_init_msg_(), GNUNET_TESTBED_host_destroy(), inflate_data(), peer_list_remove(), REGEX_TEST_read_from_file(), resize_logdefs(), tokenizer_cb(), and transmit_ready().

◆ GNUNET_free

#define GNUNET_free (   ptr)    GNUNET_xfree_ (ptr, __FILE__, __LINE__)

Wrapper around free.

Frees the memory referred to by ptr. Note that it is generally better to free memory that was allocated with GNUNET_array_grow using GNUNET_array_grow(mem, size, 0) instead of GNUNET_free.

Parameters
ptrlocation where to free the memory. ptr must have been returned by GNUNET_strdup, GNUNET_strndup, GNUNET_malloc or GNUNET_array_grow earlier.

Definition at line 1230 of file gnunet_common.h.

Referenced by __attribute__(), _GSS_operation_destroy(), _GSS_operation_destroy2(), abort_all_requests(), abort_parallel_lookups(), access_handler_callback(), ack_proc(), add_address_to_hello(), add_address_to_uri(), add_host_to_known_hosts(), add_services(), addr_cb(), address_notification(), address_to_regex(), advertise_dns_exit(), aes_128_cbc_decrypt(), aes_128_cbc_encrypt(), agent_die(), agent_step(), api_create_hello(), api_disconnect(), api_send(), append_port(), associate_shared_service(), ats_perf_mon_cb(), ats_performance_info_cb(), attach_path(), attr_collect(), attr_iter_finished(), attr_store_task(), attribute_delegation_to_json(), auth_key_to_string(), automaton_create_proofs(), automaton_destroy_state(), automaton_fragment_clear(), automaton_merge_states(), backward_resolution(), base64_encode(), bf_group_destroy_cb(), bf_group_serialize_cb(), bi_destroy(), bind_rsa_pub(), bind_rsa_sig(), blacklist_cfg_iter(), block_create(), boot_queue(), broadcast_my_type_map(), buffer_append(), buffer_deinit(), build_authz_response(), build_dns_query(), build_redirect(), cadet_disconnect_adapter(), calculate_pow_shutdown(), call_event_handler(), cancel_aps(), cancel_pending_req(), cancel_request(), cancel_wrappers(), cb_intersection_element_removed(), channel_destroy(), check_authorization(), check_client_index_start(), check_config(), check_n_peers_ready(), check_peer_info_ready(), check_pkey(), check_readiness(), churn(), churn_cb(), clean_attr(), clean_channel(), clean_gnsrecordobject(), clean_request(), clean_string(), clean_task(), clean_ticket(), clean_up(), clean_up_channel(), clean_utf8_string(), clean_var_blob(), clean_variable_data(), clean_varsize_blob(), cleaning_task(), cleanup(), cleanup_adh(), cleanup_as_handle(), cleanup_client(), cleanup_cth(), cleanup_delegation_set(), cleanup_handle(), cleanup_issue_handle(), cleanup_iter(), cleanup_mctx(), cleanup_ncc(), cleanup_occ(), cleanup_prc(), cleanup_recordinfo(), cleanup_rocc(), cleanup_rs(), cleanup_rvk(), cleanup_s5r(), cleanup_shared_service_instance(), cleanup_task(), cleanup_validation_entry(), cleanup_varsize_blob(), clear_msg(), client_configure_plugin(), client_connect_get(), client_delete_session(), client_disconnect_cb(), client_receive_mst_cb(), client_release_ports(), client_request_destroy(), client_send_cb(), close_monitor_connections(), code_redirect(), collect_cred_cont(), collector(), comm_connect_cb(), comm_disconnect_cb(), communicator_start(), completed_pending_message(), compute_diversity(), compute_policy(), compute_probabilities(), compute_scalar_product(), compute_service_response(), con_val_iter(), conclude_autoconfig_request(), connect_bl_check_cont(), connect_cb(), connect_probe_continuation(), connection_client_destroy_impl(), consider_for_advertising(), consume_cont(), consume_result_cb(), consume_ticket(), conversation_string_to_value(), conversation_value_to_string(), convert_with_table(), cookie_identity_interpretation(), copy_from_reader(), core_env_sent_cb(), core_read_finished_cb(), create_channel_to_destination(), create_finished(), create_hostkeys(), create_internal(), create_keys(), create_listen_socket(), create_response(), create_string_array(), create_unique_cfgs(), credential_string_to_value(), credential_to_json(), credential_value_to_string(), curl_check_hdr(), CustomPeerMap_destroy(), CustomPeerMap_remove_peer(), data_sent_cb(), database_setup(), decide_capacity(), decrypt_conclude(), decrypt_new_element(), decrypt_session_destroy(), delete_attribute_cont(), delete_migration_block(), delete_networks(), delete_skipped_key(), delete_value(), demultiplex_with_cmc(), deserialization_master(), deserialize_download(), deserialize_download_file(), deserialize_fi_node(), deserialize_file_information(), deserialize_publish_file(), deserialize_search(), deserialize_search_file(), deserialize_search_result(), deserialize_subdownload(), deserialize_unindex_file(), destroy_ack_cummulator(), destroy_active_client_request(), destroy_ai(), destroy_channel(), destroy_cli_ctx(), destroy_elements_iterator(), destroy_hosts(), destroy_it(), destroy_key_to_element_iter(), destroy_peer(), destroy_pooled_connection(), destroy_route(), destroy_service_session(), destroy_slave(), destroy_sub(), destroy_task(), destroy_tunnel(), dfa_compress_paths(), dfa_compress_paths_helper(), dfa_merge_nondistinguishable_states(), dht_put_continuation(), dht_put_monitor_continuation(), discard_all_from_rung_tail(), discard_hosts_helper(), discard_oldest_mc(), disconnect(), disconnect_and_free_peer_entry(), disconnect_cb(), display_record(), display_records_from_block(), dns_result_parser(), dns_string_to_value(), dns_value_to_string(), do_accept(), do_cleanup(), do_connect(), do_directory_scan(), do_error(), do_read(), do_reconnect(), do_redirect_error(), do_reject(), do_rekey(), do_restart_typemap_message(), do_round(), do_shutdown(), do_stop_task(), do_timeout(), do_transmit(), do_userinfo_error(), done(), donetransport_smtp(), download_timeout(), dump_my_hello(), dump_pc(), ego_callback(), ego_get_all(), ego_get_for_subsystem(), ego_get_response(), encapsulate_for_dv(), encode_cont(), end(), enforce_del_address(), enforce_start_preference(), enforce_start_property(), enqueue(), event_cb(), execute_delayed_mutations(), exop_check(), expand_dollar(), expire_oldest_entry(), extract_filename(), extract_hosts(), file_hash_finish(), final_cleanup(), final_disconnect(), find_libraries(), finish_cache_operation(), finish_client_drop(), finish_cmc_handling(), finish_request(), finish_response(), fip_signal_stop(), force_reconnect(), format_help(), fragmented_message_done(), free_ack_cummulator_cb(), free_action_item(), free_active_lookup(), free_addr_it(), free_address(), free_address_list_entry(), free_all_it(), free_argv(), free_backtalker(), free_bc(), free_cache_entry(), free_channel_client(), free_channel_state(), free_connect_info(), free_destination_entry(), free_distance_vector_hop(), free_download_context(), free_dv_route(), free_ego(), free_element_cb(), free_entry(), free_experiment(), free_fragment_message(), free_fragment_tree(), free_hello(), free_host_entry(), free_hosts_entry(), free_incoming_request(), free_it(), free_item(), free_iterate(), free_iterator(), free_lal(), free_link_properties(), free_macendpoint(), free_matching_requests(), free_meter(), free_neighbour(), free_op(), free_peer(), free_pending_acknowledgement(), free_pending_message(), free_pending_request(), free_preference(), free_proto_queue(), free_qe(), free_queue(), free_queue_entry(), free_reassembly_context(), free_record(), free_records(), free_request(), free_result(), free_search_context(), free_service(), free_service_record(), free_session(), free_store_activity(), free_sug_handle(), free_tmps(), free_tracker(), free_tree(), free_update_information_graph(), free_validation_state(), free_virtual_link(), free_ze(), full_recursive_download(), GAS_mlp_address_delete(), GAS_mlp_solve_problem(), GAS_mlp_stop_get_preferred_address(), GAS_plugin_done(), GAS_plugin_init(), GAS_preference_client_disconnect(), GAS_preference_done(), GAS_proportional_address_delete(), GAS_reservations_set_bandwidth(), GAS_ril_address_delete(), gather_uri_data(), GCC_destroy(), GCCH_handle_channel_plaintext_data(), GCCH_handle_local_ack(), GCD_search_stop(), GCH_shutdown(), GCP_2s(), GCP_request_mq_cancel(), GCP_set_hello(), GCPP_release(), GCPP_try_path_from_dht(), GCT_add_inbound_connection(), GCT_connection_lost(), GCT_handle_encrypted(), GCT_handle_kx_auth(), GCT_send_cancel(), GDS_NEIGHBOURS_handle_get(), GDS_NEIGHBOURS_handle_put(), gen_rsh_args(), gen_rsh_suffix_args(), gen_topo_2dtorus(), gen_topo_from_file(), gen_topo_scale_free(), get_bootstrap_server(), get_cont(), get_download_sync_filename(), get_ip_from_hostname(), get_keywords_from_parens(), get_keywords_from_tokens(), get_my_cnf_path(), get_path_from_PATH(), get_quota(), get_random_peer_from_peermap(), get_read_handle(), get_request_socket(), get_serialization_file_name(), get_serialization_file_name_in_dir(), get_server_addresses(), get_target_peers(), get_update_information_directory(), get_valid_peers(), get_write_handle(), get_write_handle_in_dir(), getopt_set_metadata(), GN_external_ipv4_monitor_stop(), GN_request_connection_reversal(), GN_stop_gnunet_nat_server_(), GNS_interceptor_done(), GNS_resolver_done(), GNS_resolver_lookup_cancel(), gns_string_to_value(), gns_value_to_string(), GNUNET_ABE_cpabe_create_key(), GNUNET_ABE_cpabe_decrypt(), GNUNET_ABE_cpabe_delete_key(), GNUNET_ABE_cpabe_delete_master_key(), GNUNET_ABE_cpabe_deserialize_key(), GNUNET_ABE_cpabe_deserialize_master_key(), GNUNET_ABE_cpabe_encrypt(), GNUNET_ABE_cpabe_serialize_key(), GNUNET_ABE_cpabe_serialize_master_key(), GNUNET_ARM_connect(), GNUNET_ARM_disconnect(), GNUNET_ARM_monitor_start(), GNUNET_ARM_monitor_stop(), GNUNET_ARM_operation_cancel(), GNUNET_ATS_application_done(), GNUNET_ATS_application_suggest_cancel(), GNUNET_ATS_connectivity_done(), GNUNET_ATS_connectivity_suggest(), GNUNET_ATS_connectivity_suggest_cancel(), GNUNET_ATS_performance_done(), GNUNET_ATS_performance_init(), GNUNET_ATS_performance_list_addresses_cancel(), GNUNET_ATS_scheduling_done(), GNUNET_ATS_solver_generate_preferences_stop(), GNUNET_ATS_solver_generate_property_stop(), GNUNET_ATS_solver_logging_free(), GNUNET_ATS_solver_logging_write_to_disk(), GNUNET_ATS_solvers_load_quotas(), GNUNET_ATS_solvers_solver_start(), GNUNET_ATS_solvers_solver_stop(), GNUNET_ATS_TEST_generate_preferences_stop(), GNUNET_ATS_TEST_generate_traffic_stop(), GNUNET_ATS_TEST_logging_clean_up(), GNUNET_ATS_TEST_logging_write_to_file(), GNUNET_ATS_transport_done(), GNUNET_BIO_read_close(), GNUNET_BIO_read_meta_data(), GNUNET_BIO_read_string(), GNUNET_BIO_write_close(), GNUNET_BIO_write_meta_data(), GNUNET_BLOCK_context_destroy(), GNUNET_CADET_close_port(), GNUNET_CADET_disconnect(), GNUNET_CADET_get_channel(), GNUNET_CADET_get_channel_cancel(), GNUNET_CADET_get_path(), GNUNET_CADET_get_path_cancel(), GNUNET_CADET_list_peers(), GNUNET_CADET_list_peers_cancel(), GNUNET_CADET_list_tunnels(), GNUNET_CADET_list_tunnels_cancel(), GNUNET_CADET_open_port(), GNUNET_CADET_TEST_cleanup(), GNUNET_CLIENT_connect(), GNUNET_CONFIGURATION_append_value_filename(), GNUNET_CONFIGURATION_deserialize(), GNUNET_CONFIGURATION_destroy(), GNUNET_CONFIGURATION_expand_dollar(), GNUNET_CONFIGURATION_get_data(), GNUNET_CONFIGURATION_get_value_filename(), GNUNET_CONFIGURATION_iterate_value_filenames(), GNUNET_CONFIGURATION_load(), GNUNET_CONFIGURATION_parse(), GNUNET_CONFIGURATION_remove_section(), GNUNET_CONFIGURATION_remove_value_filename(), GNUNET_CONFIGURATION_serialize(), GNUNET_CONFIGURATION_write(), GNUNET_CONNECTION_create_from_accept(), GNUNET_CONNECTION_create_from_connect_to_unixpath(), GNUNET_CONNECTION_destroy(), GNUNET_CONSENSUS_create(), GNUNET_CONSENSUS_destroy(), GNUNET_CONTAINER_bloomfilter_free(), GNUNET_CONTAINER_bloomfilter_init(), GNUNET_CONTAINER_bloomfilter_load(), GNUNET_CONTAINER_bloomfilter_resize(), GNUNET_CONTAINER_heap_destroy(), GNUNET_CONTAINER_heap_remove_node(), GNUNET_CONTAINER_heap_remove_root(), GNUNET_CONTAINER_meta_data_destroy(), GNUNET_CONTAINER_meta_data_get_serialized_size(), GNUNET_CONTAINER_meta_data_serialize(), GNUNET_CONTAINER_multihashmap32_create(), GNUNET_CONTAINER_multihashmap32_destroy(), GNUNET_CONTAINER_multihashmap32_iterator_destroy(), GNUNET_CONTAINER_multihashmap32_remove(), GNUNET_CONTAINER_multihashmap32_remove_all(), GNUNET_CONTAINER_multihashmap_create(), GNUNET_CONTAINER_multihashmap_destroy(), GNUNET_CONTAINER_multihashmap_iterator_destroy(), GNUNET_CONTAINER_multihashmap_remove(), GNUNET_CONTAINER_multihashmap_remove_all(), GNUNET_CONTAINER_multipeermap_create(), GNUNET_CONTAINER_multipeermap_destroy(), GNUNET_CONTAINER_multipeermap_iterator_destroy(), GNUNET_CONTAINER_multipeermap_remove(), GNUNET_CONTAINER_multipeermap_remove_all(), GNUNET_CONTAINER_multishortmap_create(), GNUNET_CONTAINER_multishortmap_destroy(), GNUNET_CONTAINER_multishortmap_iterator_destroy(), GNUNET_CONTAINER_multishortmap_remove(), GNUNET_CONTAINER_multishortmap_remove_all(), GNUNET_CONTAINER_multiuuidmap_create(), GNUNET_CONTAINER_multiuuidmap_destroy(), GNUNET_CONTAINER_multiuuidmap_iterator_destroy(), GNUNET_CONTAINER_multiuuidmap_remove(), GNUNET_CONTAINER_multiuuidmap_remove_all(), GNUNET_CONVERSATION_call_start(), GNUNET_CONVERSATION_call_stop(), GNUNET_CONVERSATION_caller_hang_up(), GNUNET_CONVERSATION_phone_create(), GNUNET_CONVERSATION_phone_destroy(), GNUNET_CORE_disconnect(), GNUNET_CORE_monitor_start(), GNUNET_CORE_monitor_stop(), GNUNET_CREDENTIAL_connect(), GNUNET_CREDENTIAL_credential_from_string(), GNUNET_CREDENTIAL_credential_issue(), GNUNET_CREDENTIAL_credential_to_string(), GNUNET_CREDENTIAL_disconnect(), GNUNET_CREDENTIAL_request_cancel(), GNUNET_CRYPTO_cpabe_create_key(), GNUNET_CRYPTO_cpabe_decrypt(), GNUNET_CRYPTO_cpabe_delete_key(), GNUNET_CRYPTO_cpabe_delete_master_key(), GNUNET_CRYPTO_cpabe_deserialize_key(), GNUNET_CRYPTO_cpabe_deserialize_master_key(), GNUNET_CRYPTO_cpabe_encrypt(), GNUNET_CRYPTO_cpabe_serialize_key(), GNUNET_CRYPTO_cpabe_serialize_master_key(), GNUNET_CRYPTO_ecc_dlog_release(), GNUNET_CRYPTO_ecdhe_key_create(), GNUNET_CRYPTO_ecdsa_private_key_to_string(), GNUNET_CRYPTO_ecdsa_public_key_to_string(), GNUNET_CRYPTO_eddsa_key_create(), GNUNET_CRYPTO_eddsa_key_create_from_configuration(), GNUNET_CRYPTO_eddsa_key_create_from_file(), GNUNET_CRYPTO_eddsa_private_key_to_string(), GNUNET_CRYPTO_eddsa_public_key_to_string(), GNUNET_CRYPTO_eddsa_setup_key(), GNUNET_CRYPTO_get_peer_identity(), GNUNET_CRYPTO_hash_context_abort(), GNUNET_CRYPTO_hash_file(), GNUNET_CRYPTO_hash_file_cancel(), GNUNET_CRYPTO_rsa_private_key_cmp(), GNUNET_CRYPTO_rsa_private_key_decode(), GNUNET_CRYPTO_rsa_private_key_free(), GNUNET_CRYPTO_rsa_public_key_cmp(), GNUNET_CRYPTO_rsa_public_key_decode(), GNUNET_CRYPTO_rsa_public_key_free(), GNUNET_CRYPTO_rsa_public_key_hash(), GNUNET_CRYPTO_rsa_signature_cmp(), GNUNET_CRYPTO_rsa_signature_decode(), GNUNET_CRYPTO_rsa_signature_free(), GNUNET_CURL_fini(), GNUNET_CURL_gnunet_rc_destroy(), GNUNET_CURL_job_add2(), GNUNET_CURL_job_cancel(), GNUNET_DATACACHE_destroy(), GNUNET_DATASTORE_connect(), GNUNET_DATASTORE_disconnect(), GNUNET_decompress(), GNUNET_DEFRAGMENT_context_destroy(), GNUNET_DHT_disconnect(), GNUNET_DHT_get_stop(), GNUNET_DHT_monitor_stop(), GNUNET_DHT_put_cancel(), GNUNET_DHT_TEST_cleanup(), GNUNET_DISK_directory_create(), GNUNET_DISK_directory_create_for_file(), GNUNET_DISK_directory_scan(), GNUNET_DISK_file_backup(), GNUNET_DISK_file_close(), GNUNET_DISK_file_copy(), GNUNET_DISK_file_map(), GNUNET_DISK_file_open(), GNUNET_DISK_file_test(), GNUNET_DISK_file_unmap(), GNUNET_DISK_mkdtemp(), GNUNET_DISK_mktemp(), GNUNET_DISK_pipe(), GNUNET_DISK_pipe_close(), GNUNET_DISK_pipe_from_fd(), GNUNET_DNS_disconnect(), GNUNET_DNS_request_answer(), GNUNET_DNS_request_drop(), GNUNET_DNS_request_forward(), GNUNET_DNSPARSER_check_name(), GNUNET_DNSPARSER_free_cert(), GNUNET_DNSPARSER_free_mx(), GNUNET_DNSPARSER_free_packet(), GNUNET_DNSPARSER_free_soa(), GNUNET_DNSPARSER_free_srv(), GNUNET_DNSSTUB_add_dns_ip(), GNUNET_DNSSTUB_add_dns_sa(), GNUNET_DNSSTUB_stop(), GNUNET_FRAGMENT_context_destroy(), GNUNET_FRIENDS_parse(), GNUNET_FRIENDS_write(), GNUNET_FRIENDS_write_start(), GNUNET_FRIENDS_write_stop(), GNUNET_FS_data_reader_file_(), GNUNET_FS_dequeue_(), GNUNET_FS_directory_builder_add(), GNUNET_FS_directory_builder_finish(), GNUNET_FS_directory_list_contents(), GNUNET_FS_directory_scan_abort(), GNUNET_FS_directory_scan_start(), GNUNET_FS_download_signal_suspend_(), GNUNET_FS_download_stop(), GNUNET_FS_download_sync_(), GNUNET_FS_end_top(), GNUNET_FS_file_information_destroy(), GNUNET_FS_file_information_sync_(), GNUNET_FS_free_download_request_(), GNUNET_FS_get_indexed_files(), GNUNET_FS_get_indexed_files_cancel(), GNUNET_FS_indexing_do_unindex(), GNUNET_FS_indexing_done(), GNUNET_FS_make_file_reader_context_(), GNUNET_FS_meta_data_make_directory(), GNUNET_FS_meta_data_suggest_filename(), GNUNET_FS_meta_data_test_for_directory(), GNUNET_FS_probe_stop(), GNUNET_FS_publish_ksk(), GNUNET_FS_publish_ksk_cancel(), GNUNET_FS_publish_main_(), GNUNET_FS_publish_sks_cancel(), GNUNET_FS_publish_stop(), GNUNET_FS_publish_sync_(), GNUNET_FS_publish_ublock_(), GNUNET_FS_publish_ublock_cancel_(), GNUNET_FS_remove_sync_dir_(), GNUNET_FS_remove_sync_file_(), GNUNET_FS_search_result_sync_(), GNUNET_FS_search_signal_suspend_(), GNUNET_FS_search_stop(), GNUNET_FS_search_sync_(), GNUNET_FS_share_tree_free(), GNUNET_FS_start(), GNUNET_FS_stop(), GNUNET_FS_tree_encoder_finish(), GNUNET_FS_unindex_signal_suspend_(), GNUNET_FS_unindex_stop(), GNUNET_FS_unindex_sync_(), GNUNET_FS_uri_destroy(), GNUNET_FS_uri_dup(), GNUNET_FS_uri_ksk_create(), GNUNET_FS_uri_ksk_remove_keyword(), GNUNET_FS_uri_parse(), GNUNET_GETOPT_run(), GNUNET_GNS_connect(), GNUNET_GNS_disconnect(), GNUNET_GNS_lookup_cancel(), GNUNET_GNS_lookup_with_tld(), GNUNET_GNS_lookup_with_tld_cancel(), GNUNET_GNSRECORD_pkey_to_zkey(), GNUNET_GNSRECORD_records_deserialize(), GNUNET_GNSRECORD_records_get_size(), GNUNET_GNSRECORD_records_serialize(), GNUNET_HELLO_compose_uri(), GNUNET_HELLO_extract_address(), GNUNET_HELLO_sign_address(), GNUNET_HELPER_destroy(), GNUNET_HELPER_kill(), GNUNET_HELPER_send_cancel(), GNUNET_HELPER_wait(), GNUNET_HOSTLIST_client_start(), GNUNET_HOSTLIST_server_start(), GNUNET_HOSTLIST_server_stop(), GNUNET_i2s(), GNUNET_i2s2(), GNUNET_i2s_full(), GNUNET_IDENTITY_cancel(), GNUNET_IDENTITY_connect(), GNUNET_IDENTITY_disconnect(), GNUNET_IDENTITY_ego_lookup(), GNUNET_IDENTITY_ego_lookup_by_suffix(), GNUNET_IDENTITY_ego_lookup_by_suffix_cancel(), GNUNET_IDENTITY_ego_lookup_cancel(), GNUNET_JSON_from_data(), GNUNET_JSON_from_gnsrecord(), GNUNET_JSON_from_rsa_public_key(), GNUNET_JSON_from_rsa_signature(), GNUNET_JSON_from_time_abs(), GNUNET_JSON_from_time_rel(), GNUNET_JSON_post_parser(), GNUNET_JSON_post_parser_cleanup(), GNUNET_logger_remove(), GNUNET_MICROPHONE_destroy(), GNUNET_MQ_destroy(), GNUNET_MQ_destroy_notify_cancel(), GNUNET_MQ_discard(), GNUNET_MQ_impl_send_continue(), GNUNET_MQ_send_cancel(), GNUNET_MST_destroy(), GNUNET_MYSQL_context_destroy(), GNUNET_NAMECACHE_cancel(), GNUNET_NAMECACHE_connect(), GNUNET_NAMECACHE_disconnect(), GNUNET_NAMESTORE_connect(), GNUNET_NAMESTORE_disconnect(), GNUNET_NAMESTORE_records_store(), GNUNET_NAMESTORE_zone_monitor_start(), GNUNET_NAMESTORE_zone_monitor_stop(), GNUNET_NAT_AUTO_autoconfig_cancel(), GNUNET_NAT_AUTO_autoconfig_start(), GNUNET_NAT_AUTO_test_stop(), GNUNET_NAT_autoconfig_cancel(), GNUNET_NAT_mini_get_external_ipv4_cancel_(), GNUNET_NAT_mini_map_stop(), GNUNET_NAT_register(), GNUNET_NAT_stun_make_request_cancel(), GNUNET_NAT_test_stop(), GNUNET_NAT_unregister(), GNUNET_NETWORK_fdset_destroy(), GNUNET_NETWORK_shorten_unixpath(), GNUNET_NETWORK_socket_accept(), GNUNET_NETWORK_socket_close(), GNUNET_NETWORK_socket_free_memory_only_(), GNUNET_notification_context_destroy(), GNUNET_NSE_connect(), GNUNET_NSE_disconnect(), GNUNET_NT_scanner_done(), GNUNET_OP_destroy(), GNUNET_OS_check_helper_binary(), GNUNET_OS_command_stop(), GNUNET_OS_init(), GNUNET_OS_installation_get_path(), GNUNET_OS_process_destroy(), GNUNET_OS_start_process_s(), GNUNET_OS_start_process_va(), GNUNET_PEERINFO_connect(), GNUNET_PEERINFO_disconnect(), GNUNET_PEERINFO_iterate_cancel(), GNUNET_PEERINFO_notify(), GNUNET_PEERINFO_notify_cancel(), GNUNET_PEERSTORE_connect(), GNUNET_PEERSTORE_iterate_cancel(), GNUNET_PEERSTORE_store_cancel(), GNUNET_PEERSTORE_watch_cancel(), GNUNET_PLUGIN_load(), GNUNET_PLUGIN_load_all(), GNUNET_PLUGIN_unload(), GNUNET_PQ_exec_prepared(), GNUNET_PROGRAM_run2(), GNUNET_RECLAIM_ATTRIBUTE_claim_new(), GNUNET_RECLAIM_ATTRIBUTE_list_destroy(), GNUNET_RECLAIM_connect(), GNUNET_RECLAIM_disconnect(), GNUNET_RECLAIM_ticket_iteration_stop(), GNUNET_REGEX_announce(), GNUNET_REGEX_announce_cancel(), GNUNET_REGEX_search(), GNUNET_REGEX_search_cancel(), GNUNET_RESOLVER_disconnect(), GNUNET_RESOLVER_ip_get(), GNUNET_RESOLVER_request_cancel(), GNUNET_REST_handle_request(), GNUNET_REVOCATION_query(), GNUNET_REVOCATION_query_cancel(), GNUNET_REVOCATION_revoke(), GNUNET_REVOCATION_revoke_cancel(), GNUNET_RPS_connect(), GNUNET_RPS_disconnect(), GNUNET_RPS_request_cancel(), GNUNET_RPS_request_single_info_cancel(), GNUNET_SCALARPRODUCT_accept_computation(), GNUNET_SCALARPRODUCT_cancel(), GNUNET_SCALARPRODUCT_start_computation(), GNUNET_SCHEDULER_driver_done(), GNUNET_SCHEDULER_run(), GNUNET_SECRETSHARING_create_session(), GNUNET_SECRETSHARING_decrypt(), GNUNET_SECRETSHARING_decrypt_cancel(), GNUNET_SECRETSHARING_session_destroy(), GNUNET_SECRETSHARING_share_destroy(), GNUNET_SERVER_client_disconnect(), GNUNET_SERVER_connect_notify_cancel(), GNUNET_SERVER_create(), GNUNET_SERVER_destroy(), GNUNET_SERVER_disconnect_notify_cancel(), GNUNET_SERVER_mst_destroy(), GNUNET_SERVER_stop_listening(), GNUNET_SERVICE_run_(), GNUNET_SERVICE_start(), GNUNET_SERVICE_stop(), GNUNET_SET_destroy(), GNUNET_SET_listen(), GNUNET_SET_listen_cancel(), GNUNET_SIGNAL_handler_uninstall(), GNUNET_SOCKS_do_connect(), GNUNET_SPEAKER_destroy(), GNUNET_STATISTICS_destroy(), GNUNET_STATISTICS_get_cancel(), GNUNET_STATISTICS_watch_cancel(), GNUNET_STRINGS_data_to_string_alloc(), GNUNET_STRINGS_filename_expand(), GNUNET_STRINGS_get_utf8_args(), GNUNET_STRINGS_parse_ipv4_policy(), GNUNET_STRINGS_parse_ipv6_policy(), GNUNET_STRINGS_parse_socket_addr(), GNUNET_TESTBED_2dtorus_calc_links(), GNUNET_TESTBED_barrier_remove_(), GNUNET_TESTBED_barrier_wait(), GNUNET_TESTBED_barrier_wait_cancel(), GNUNET_TESTBED_cancel_registration(), GNUNET_TESTBED_cleanup_peers_(), GNUNET_TESTBED_compress_cfg_(), GNUNET_TESTBED_controller_connect(), GNUNET_TESTBED_controller_destroy_(), GNUNET_TESTBED_controller_disconnect(), GNUNET_TESTBED_controller_start(), GNUNET_TESTBED_create_helper_init_msg_(), GNUNET_TESTBED_deregister_host_at_(), GNUNET_TESTBED_extract_config_(), GNUNET_TESTBED_forward_operation_msg_cancel_(), GNUNET_TESTBED_host_destroy(), GNUNET_TESTBED_host_resolve_(), GNUNET_TESTBED_hosts_load_from_file(), GNUNET_TESTBED_is_host_habitable(), GNUNET_TESTBED_is_host_habitable_cancel(), GNUNET_TESTBED_LOGGER_connect(), GNUNET_TESTBED_LOGGER_disconnect(), GNUNET_TESTBED_operation_inactivate_(), GNUNET_TESTBED_operation_release_(), GNUNET_TESTBED_overlay_configure_topology_va(), GNUNET_TESTBED_peer_update_configuration(), GNUNET_TESTBED_queue_message_(), GNUNET_TESTBED_register_host(), GNUNET_TESTBED_run(), GNUNET_TESTBED_SD_destroy_(), GNUNET_TESTBED_test_run(), GNUNET_TESTBED_underlaylinkmodel_commit(), GNUNET_TESTING_configuration_create_(), GNUNET_TESTING_peer_configure(), GNUNET_TESTING_peer_destroy(), GNUNET_TESTING_peer_get_identity(), GNUNET_TESTING_reserve_port(), GNUNET_TESTING_service_run(), GNUNET_TESTING_system_create_with_portrange(), GNUNET_TESTING_system_destroy(), GNUNET_TIME_absolute_get_monotonic(), GNUNET_TRANSPORT_address_to_string(), GNUNET_TRANSPORT_address_to_string_cancel(), GNUNET_TRANSPORT_application_done(), GNUNET_TRANSPORT_application_suggest_cancel(), GNUNET_TRANSPORT_blacklist(), GNUNET_TRANSPORT_blacklist_cancel(), GNUNET_TRANSPORT_communicator_address_remove(), GNUNET_TRANSPORT_communicator_connect(), GNUNET_TRANSPORT_communicator_disconnect(), GNUNET_TRANSPORT_communicator_mq_del(), GNUNET_TRANSPORT_core_connect(), GNUNET_TRANSPORT_core_disconnect(), GNUNET_TRANSPORT_core_get_mq(), GNUNET_TRANSPORT_hello_get(), GNUNET_TRANSPORT_hello_get_cancel(), GNUNET_TRANSPORT_manipulation_connect(), GNUNET_TRANSPORT_manipulation_disconnect(), GNUNET_TRANSPORT_monitor(), GNUNET_TRANSPORT_monitor_cancel(), GNUNET_TRANSPORT_monitor_peers(), GNUNET_TRANSPORT_monitor_peers_cancel(), GNUNET_TRANSPORT_monitor_plugins(), GNUNET_TRANSPORT_monitor_plugins_cancel(), GNUNET_TRANSPORT_offer_hello(), GNUNET_TRANSPORT_offer_hello_cancel(), GNUNET_TRANSPORT_TESTING_connect_peers_cancel(), GNUNET_TRANSPORT_TESTING_done(), GNUNET_TRANSPORT_TESTING_get_config_name(), GNUNET_TRANSPORT_TESTING_get_test_name(), GNUNET_TRANSPORT_TESTING_get_test_plugin_name(), GNUNET_TRANSPORT_TESTING_init(), GNUNET_TRANSPORT_TESTING_log_connect(), GNUNET_TRANSPORT_TESTING_log_disconnect(), GNUNET_TRANSPORT_TESTING_main_(), GNUNET_TRANSPORT_TESTING_send(), GNUNET_TRANSPORT_TESTING_start_peer(), GNUNET_TRANSPORT_TESTING_stop_peer(), GNUNET_TRANSPORT_TESTING_transport_communicator_open_queue(), GNUNET_TRANSPORT_TESTING_transport_communicator_send(), GNUNET_TRANSPORT_TESTING_transport_communicator_service_start(), GNUNET_try_compression(), GNUNET_TUN_ipv4policy2regex(), GNUNET_TUN_ipv6policy2regex(), gnunet_uri(), GNUNET_VPN_cancel_request(), GNUNET_VPN_connect(), GNUNET_VPN_disconnect(), GPI_plugins_find(), GPI_plugins_load(), GPI_plugins_unload(), grow(), GSC_CLIENTS_reject_request(), GSC_KX_done(), GSC_KX_init(), GSC_SESSIONS_end(), GSC_SESSIONS_set_typemap(), GSC_TYPEMAP_destroy(), GSC_TYPEMAP_get_from_message(), GSF_cadet_query_cancel(), GSF_peer_disconnect_handler(), GSF_plan_notify_peer_disconnect_(), GSF_plan_notify_request_done_(), GSF_push_stop_(), GST_blacklist_test_cancel(), GST_cleanup_focc(), GST_clear_fopcq(), GST_clients_broadcast_peer_notification(), GST_connection_pool_get_handle_done(), GST_destroy_peer(), GST_destroy_peers(), GST_forwarded_operation_reply_relay(), GST_forwarded_operation_timeout(), GST_free_lcf(), GST_hello_modify_addresses(), GST_hello_stop(), GST_link_notify_disconnect(), GST_manipulation_peer_disconnect(), GST_manipulation_stop(), GST_neighbour_get_connection_cancel(), GST_neighbour_list_clean(), GST_notify_client_disconnect_peers(), GST_plugins_load(), GST_plugins_printer_find(), GST_plugins_unload(), GST_process_next_focc(), GST_route_list_clear(), GST_stats_init(), GST_validation_handle_ping(), GST_validation_handle_pong(), habitability_check(), handle_add_host(), handle_add_host_confirm(), handle_address_change_notification(), handle_address_list(), handle_alice_client_message(), handle_alice_client_message_multipart(), handle_arm_result(), handle_attribute_result(), handle_autoconfig_request(), handle_backchannel_encapsulation(), handle_barrier_init(), handle_barrier_wait(), handle_block_cache(), handle_block_cache_response(), handle_bob_client_message(), handle_bob_client_message_multipart(), handle_client_copy_lazy_connect(), handle_client_create_set(), handle_client_evaluate(), handle_client_insert(), handle_client_send(), handle_collect_response(), handle_collect_result(), handle_copy_lazy(), handle_core_disconnect(), handle_create_message(), handle_delete_message(), handle_dht_local_monitor_stop(), handle_dht_p2p_get(), handle_dht_p2p_put(), handle_dht_p2p_result(), handle_dns_response(), handle_dv_box(), handle_dv_learn(), handle_ego_delete(), handle_ego_rename(), handle_end_iteration(), handle_event(), handle_forwarded_operation_msg(), handle_get_default_message(), handle_gns2dns_ip(), handle_gns2dns_result(), handle_gns_cname_result(), handle_gns_resolution_result(), handle_gns_response(), handle_helper_message(), handle_identity_result_code(), handle_identity_set_default(), handle_identity_update(), handle_incoming_ack(), handle_index_start_failed(), handle_init(), handle_intersection_p2p_bf(), handle_iteration_stop(), handle_link_controllers_result(), handle_local_result(), handle_lookup_block_response(), handle_lookup_timeout(), handle_manage_peer_service(), handle_matching_ack(), handle_monitor_event(), handle_mq_destroy(), handle_op_fail_event(), handle_opsuccess(), handle_overlay_connect(), handle_peer_config(), handle_peer_create(), handle_peer_create_success(), handle_peer_event(), handle_peer_get_config(), handle_peer_push(), handle_peer_reconfigure(), handle_phone_hangup(), handle_port_close(), handle_record_lookup(), handle_record_store(), handle_release_reserve(), handle_rename_message(), handle_reservation_result(), handle_resolve_result(), handle_response(), handle_result(), handle_send_message_ack(), handle_send_transmit_continuation(), handle_session_del(), handle_set_default_message(), handle_shutdown(), handle_shutdown_peers(), handle_slave_get_config(), handle_suggest(), handle_suggest_cancel(), handle_tcp_nat_probe(), handle_tcp_welcome(), handle_ticket_iteration_stop(), handle_ticket_result(), handle_transport_notify_disconnect(), handle_union_p2p_elements(), handle_union_p2p_full_element(), handle_use_ip(), handle_verify_response(), handle_verify_result(), hash_for_index_cb(), hash_for_index_val(), hash_pkey_and_label(), header_iterator(), heap_cleanup_iterator(), heap_plugin_del(), helper_mst(), helper_write(), host_habitable_cb(), host_processor(), hostkeys_load(), hosts_directory_scan_callback(), hr_completion(), http_client_plugin_get_session(), http_client_plugin_send(), http_common_address_from_socket(), http_common_dns_ip_lookup(), http_common_dns_ip_lookup_cb(), http_common_dns_reverse_lookup(), http_common_dns_reverse_lookup_cb(), http_common_get_network_for_address(), http_common_plugin_address_to_string(), http_common_plugin_dnsresult_to_address(), http_common_plugin_string_to_address(), http_common_socket_from_address(), http_server_plugin_send(), http_split_address(), ibf_create(), ibf_destroy(), idc_adapter(), identity_cb(), identity_continuation(), iface_proc(), inflate_data(), info_cb(), init_callback(), init_cb(), initialize_network_handle(), inittransport_smtp(), insert_decrypt_element(), insert_hostlist(), insert_round1_element(), insert_round2_element(), interface_proc(), intersection_op_cancel(), intersection_set_destroy(), invalidate_sbuf(), iopen(), ipv4_to_regex(), ipv6_to_regex(), issue_ticket(), issue_ticket_result_cb(), iter_cb(), iter_finished(), iterate_cb(), iterate_initial_edge(), iterate_reachables(), json_to_credential(), kce_destroy(), keygen_session_destroy(), kill_httpd(), kill_session_task(), kill_slave(), lcf_proc_task(), LEGACY_SERVICE_get_server_addresses(), LEGACY_SERVICE_run(), LEGACY_SERVICE_stop(), libgnunet_plugin_ats2_simple_done(), libgnunet_plugin_ats_mlp_done(), libgnunet_plugin_ats_mlp_init(), libgnunet_plugin_ats_proportional_done(), libgnunet_plugin_ats_ril_done(), libgnunet_plugin_ats_ril_init(), libgnunet_plugin_block_consensus_done(), libgnunet_plugin_block_dht_done(), libgnunet_plugin_block_dns_done(), libgnunet_plugin_block_fs_done(), libgnunet_plugin_block_gns_done(), libgnunet_plugin_block_regex_done(), libgnunet_plugin_block_revocation_done(), libgnunet_plugin_block_SERVICE_done(), libgnunet_plugin_block_set_test_done(), libgnunet_plugin_block_template_done(), libgnunet_plugin_block_test_done(), libgnunet_plugin_datacache_heap_done(), libgnunet_plugin_datacache_postgres_done(), libgnunet_plugin_datacache_postgres_init(), libgnunet_plugin_datacache_sqlite_done(), libgnunet_plugin_datacache_sqlite_init(), libgnunet_plugin_datacache_template_done(), libgnunet_plugin_datastore_heap_done(), libgnunet_plugin_datastore_mysql_done(), libgnunet_plugin_datastore_mysql_init(), libgnunet_plugin_datastore_postgres_done(), libgnunet_plugin_datastore_postgres_init(), libgnunet_plugin_datastore_sqlite_done(), libgnunet_plugin_datastore_template_done(), libgnunet_plugin_gnsrecord_conversation_done(), libgnunet_plugin_gnsrecord_credential_done(), libgnunet_plugin_gnsrecord_dns_done(), libgnunet_plugin_gnsrecord_gns_done(), libgnunet_plugin_gnsrecord_reclaim_done(), libgnunet_plugin_namecache_flat_done(), libgnunet_plugin_namecache_postgres_done(), libgnunet_plugin_namecache_sqlite_done(), libgnunet_plugin_namestore_flat_done(), libgnunet_plugin_namestore_postgres_done(), libgnunet_plugin_namestore_sqlite_done(), libgnunet_plugin_peerstore_flat_done(), libgnunet_plugin_peerstore_sqlite_done(), libgnunet_plugin_reclaim_attribute_gnuid_done(), libgnunet_plugin_rest_config_done(), libgnunet_plugin_rest_copying_done(), libgnunet_plugin_rest_credential_done(), libgnunet_plugin_rest_gns_done(), libgnunet_plugin_rest_identity_done(), libgnunet_plugin_rest_namestore_done(), libgnunet_plugin_rest_openid_connect_done(), libgnunet_plugin_rest_peerinfo_done(), libgnunet_plugin_rest_reclaim_done(), LIBGNUNET_PLUGIN_TRANSPORT_DONE(), libgnunet_plugin_transport_http_client_done(), libgnunet_plugin_transport_http_server_done(), LIBGNUNET_PLUGIN_TRANSPORT_INIT(), libgnunet_plugin_transport_tcp_done(), libgnunet_plugin_transport_tcp_init(), libgnunet_plugin_transport_template_done(), libgnunet_plugin_transport_udp_done(), libgnunet_plugin_transport_udp_init(), libgnunet_plugin_transport_unix_done(), libgnunet_plugin_transport_unix_init(), list_callback(), list_ego(), listenAndDistribute(), load(), load_episode(), load_episodes(), load_file(), load_hostlist_file(), load_keys(), load_op_add_address(), load_op_del_address(), load_op_start_request(), load_op_start_set_preference(), load_op_start_set_property(), load_op_stop_request(), load_op_stop_set_preference(), load_op_stop_set_property(), load_plugin(), load_quota(), load_search_strings(), load_state(), log_rotate(), logger_run(), login_cont(), login_redirect(), lookup_hole_external(), lookup_it(), lookup_redirect_uri_result(), lookup_ssl_httpd(), loopback_resolution(), main(), main_init(), maint_child_death(), make_reverse_hostname(), make_serialization_file_name(), make_serialization_file_name_in_dir(), manage_service_cb(), meta_item_free(), mhd_completed_cb(), migrate_and_drop_keywords(), migrate_and_drop_metadata(), mktemp_name(), mlp_create_problem_add_address_information(), mlp_create_problem_add_invariant_columns(), mlp_create_problem_add_invariant_rows(), mlp_create_problem_create_constraint(), mlp_create_problem_update_value(), mlp_delete_problem(), mlp_free_peers(), move_attr_finished(), move_attrs(), mq_error_handler(), mq_init(), multirecord_process(), my_clean_query(), my_nd(), namecache_cache_block(), namecache_cache_continuation(), nat_address_cb(), neighbour_connect_notify_task(), neighbour_delete(), netint_proc(), new_sub(), notify_all(), notify_connect(), notify_disconnect(), notify_listeners(), notify_running(), notify_send_probe(), notify_starting(), notify_update(), ns_lookup_result_cb(), numeric_resolution(), numeric_reverse(), offer_hello(), oidc_attr_collect(), OIDC_build_authz_code(), OIDC_id_token_new(), OIDC_parse_authz_code(), oidc_ticket_issue_cb(), op_result(), opc_free_iterator(), operation_timeout(), oprelease_get_slave_config(), oprelease_get_stats(), oprelease_link_controllers(), oprelease_manage_service(), oprelease_overlay_configure_topology(), oprelease_overlay_connect(), oprelease_peer_create(), oprelease_peer_destroy(), oprelease_peer_getinfo(), oprelease_peer_reconfigure(), oprelease_peer_start(), oprelease_peer_stop(), oprelease_service_connect(), oprelease_shutdown_peers(), opstart_get_slave_config(), opstart_manage_service(), opstart_peer_create(), opstart_peer_reconfigure(), opstart_service_connect(), overlay_connect_notify(), overlay_link_completed(), parse_definitions(), parse_hello_uri(), parse_name(), parse_rsa_public_key(), parse_rsa_signature(), parse_ticket(), parse_variable_data(), peer_create_cb(), peer_create_forward_timeout(), peer_free(), peer_transmit(), peerinfo_list_iteration(), peers_terminate(), PEERSTORE_destroy_record(), PEERSTORE_hash_key(), percent_decode_keyword(), perform_dht_put(), phone_event_handler(), pid_file_delete(), plugin_env_session_end(), plugin_fini(), plugin_init(), plugin_monitoring_cb(), plugin_session_info_cb(), policy_filename_cb(), port_to_regex(), post_data_iter(), post_extract_rsa_public_key(), post_extract_rsa_signature(), post_extract_string(), post_extract_varsize_blob(), post_profiler(), post_test_shutdown_ready_cb(), print_ego(), print_entry(), print_examples_ecdh(), print_key(), print_my_uri(), print_option(), print_quotas(), printer(), process_acl4(), process_acl6(), process_attrs(), process_client_result(), process_ego_file(), process_external_ip(), process_lookup_result(), process_map_output(), process_parallel_lookup_result(), process_peer_monitoring_cb(), process_peer_string(), process_record(), process_resolved_address(), process_result(), process_sks_result(), process_tickets(), process_udp_message(), process_unmap_output(), progress_cb(), proto_read_kx(), publish_cleanup(), publish_content(), publish_fs_connect_complete_cb(), publish_inspector(), publish_timeout(), purge_cfg_dir(), put_gns_record(), put_migration_continuation(), queue(), queue_destroy(), rc_cleanup_operations(), rcop_cleanup_iterator(), read_host_file(), read_index_list(), read_process_fragment(), read_service_conf(), read_update_information_graph(), reannounce_regex(), receiver_destroy(), RECLAIM_TICKETS_consume(), RECLAIM_TICKETS_revoke(), reconnect(), recursive_cname_resolution(), recursive_dns_resolution(), recursive_gns2dns_resolution(), refresh_block(), regex_combine(), regex_ctx_destroy(), regex_free_result(), REGEX_INTERNAL_announce_cancel(), REGEX_INTERNAL_automaton_destroy(), REGEX_INTERNAL_dfa_add_multi_strides(), REGEX_INTERNAL_search_cancel(), regex_iterator(), regex_split(), REGEX_TEST_automaton_save_graph_step(), REGEX_TEST_free_from_file(), REGEX_TEST_read_from_file(), reghost_free_iterator(), reghost_match_iterator(), release_session(), remove_barrier(), remove_channel_ctx(), remove_client_record(), remove_expired(), remove_pending_message(), remove_stream_request(), remove_sync_file_in_dir(), remove_timeout_messages_and_select(), reply_to_dns(), report_success(), report_uri(), request_completed_callback(), reschedule_connect(), resolve_and_cache(), resolve_function(), resolver_lookup_get_next_label(), restart_nat_server(), restore_valid_peers(), return_response(), return_userinfo_response(), revoke_result_cb(), rfn_create(), ril_cut_from_vector(), route_message(), RPS_sampler_destroy(), RPS_sampler_elem_destroy(), RPS_sampler_request_cancel(), RPS_sampler_request_single_info_cancel(), rq_remove(), rsa_blinding_key_derive(), rsa_blinding_key_free(), rsa_full_domain_hash(), run(), run_cont(), run_process_and_wait(), run_scan(), run_with_zone_pkey(), rvk_move_attr_cb(), sample_load_task(), sampler_get_rand_peer(), sampler_mod_get_rand_peer(), save(), save_hostlist_file(), save_state(), search_result_free(), search_result_stop(), search_result_suspend(), search_start(), secret_destroy(), select_del(), send_ack_cb(), send_bloomfilter(), send_controller_link_response(), send_cred_response(), send_delayed(), send_hello(), send_hello_thru_rocc(), send_lookup_response(), send_peer_information(), send_response(), sender_destroy(), server_add_address(), server_configure_plugin(), server_delete_session(), server_disconnect_cb(), server_get_addresses(), server_log(), server_notify_external_hostname(), server_receive_mst_cb(), server_remove_address(), server_send_callback(), server_start_report_addresses(), server_stop(), server_stop_report_addresses(), set_copy_cb(), set_mutation_done(), set_operation_destroy(), set_result_cb(), set_user_id(), setup_ac(), setup_data_transfer(), setup_log_file(), setup_queue(), setup_service(), setup_state_record(), shutdown_op(), shutdown_peers_reply_cb(), shutdown_task(), signal_external_ip_error(), signal_index_ok(), simple_session_del(), slave_status_cb(), sock_read(), start_arm_service(), start_dv_learn(), start_process(), start_shared_service_instance(), stat_iterator(), state_machine(), state_remove_transition(), statistics_da(), stop_broadcast(), stop_callback(), stop_peer_request(), store_and_free_entries(), store_pi(), store_service(), strata_estimator_create(), strata_estimator_destroy(), strata_estimator_write(), stun_ip_timeout(), suggest_start_cb(), suggest_to_connect(), switch_address_bl_check_cont(), task_start_apply_round(), task_start_eval_echo(), tcp_address_to_sockaddr(), tcp_plugin_address_pretty_printer(), tcp_plugin_disconnect_session(), tcp_plugin_send(), tcp_plugin_string_to_address(), tcp_send(), teardown_service(), term_callback(), test_icmp_client(), test_icmp_server(), test_run(), testbed_run(), ticket_collect(), ticket_issue_cb(), ticket_iter(), ticket_iter_cb(), timeout_request(), tmt_rdy_pong(), token_endpoint(), tokenizer_cb(), translate_dot_plus(), transmit_address_to_client(), transmit_client_response(), transmit_delayed_now(), transmit_send_continuation(), transmit_typemap_task(), transport_addr_to_str_cb(), trigger_recursive_download(), try_combine_recent(), try_connect_using_address(), try_send_normal_payload(), try_transmission(), try_unixpath(), ublock_put_cont(), udp_address_to_sockaddr(), udp_disconnect_session(), udp_select_send(), udp_string_to_address(), union_accept(), union_op_cancel(), union_set_create(), union_set_destroy(), unix_plugin_do_read(), unix_plugin_do_write(), unix_plugin_session_disconnect(), unix_plugin_string_to_address(), unix_real_send(), unix_transport_server_start(), unload_plugin(), update_config(), update_config_sections(), update_friend_hello(), update_hello(), update_hostlist(), update_tickets(), uri_ksk_parse(), uri_loc_to_string(), userinfo_endpoint(), verify_cred_cont(), View_change_len(), View_clear(), View_destroy(), View_remove_peer(), vpn_allocation_callback(), vpn_allocation_cb(), wait_op_completion(), watch_cb(), wlan_plugin_disconnect_session(), write_benchmark_data(), write_bw_gnuplot_script(), write_histogram_to_file(), write_index_list(), write_pid_file(), write_proof(), write_rtt_gnuplot_script(), write_task(), write_throughput_gnuplot_script(), write_update_information_graph(), zone_iteration_done_client_continue(), zone_iteration_end(), and zone_iteration_error().

◆ GNUNET_free_non_null

#define GNUNET_free_non_null (   ptr)
Value:
do \
{ \
void *__x__ = ptr; \
if (__x__ != NULL) \
{ \
GNUNET_free (__x__); \
} \
} while (0)

Free the memory pointed to by ptr if ptr is not NULL.

Equivalent to if (NULL != ptr) GNUNET_free(ptr).

Parameters
ptrthe location in memory to free

Definition at line 1239 of file gnunet_common.h.

Referenced by __attribute__(), add_host_to_known_hosts(), address_to_regex(), advertise_dns_exit(), agent_die(), automaton_create_proofs(), automaton_destroy_state(), bi_destroy(), cache_nick(), check_authorization(), check_readiness(), clean_request(), clean_task(), clean_up(), cleaning_task(), cleanup(), cleanup_cth(), cleanup_delegation_set(), cleanup_handle(), cleanup_occ(), cleanup_rocc(), cleanup_rr(), cleanup_s5r(), cleanup_shared_service_instance(), cleanup_task(), cleanup_tslots(), cleanup_url_map(), client_configure_plugin(), client_disconnect_cb(), connection_client_destroy_impl(), curl_check_hdr(), database_setup(), database_shutdown(), decide_capacity(), del_monitor(), deserialize_download(), deserialize_fi_node(), deserialize_publish_file(), deserialize_search(), deserialize_search_result(), deserialize_unindex_file(), destroy_elements_iterator(), destroy_it(), destroy_peer(), dfa_add_multi_strides_helper(), dfa_compress_paths(), discard_hosts_helper(), display_record(), dns_value_to_string(), do_disconnect(), do_shutdown(), do_stop_task(), dump_pc(), enforce_del_address(), event_cb(), expand_dollar(), free_action_item(), free_active_lookup(), free_blacklist_entry(), free_cache_entry(), free_download_context(), free_entry(), free_experiment(), free_host_entry(), free_hosts_entry(), free_meter(), free_peer(), free_search_context(), free_service(), free_service_record(), GAS_ril_address_delete(), GDS_CLIENTS_process_get(), GDS_CLIENTS_process_get_resp(), GDS_CLIENTS_process_put(), GDS_NEIGHBOURS_handle_get(), gen_topo_from_file(), get_hello(), get_ip_from_hostname(), get_server_addresses(), GNS_resolver_lookup_cancel(), gns_value_to_string(), GNUNET_BIO_read_close(), GNUNET_BIO_read_string(), GNUNET_CADET_close_port(), GNUNET_CONFIGURATION_deserialize(), GNUNET_CONFIGURATION_remove_section(), GNUNET_CONFIGURATION_set_value_string(), GNUNET_CONNECTION_destroy(), GNUNET_CONTAINER_bloomfilter_free(), GNUNET_CONTAINER_meta_data_clear(), GNUNET_CONTAINER_meta_data_deserialize(), GNUNET_CONTAINER_meta_data_destroy(), GNUNET_CONTAINER_meta_data_serialize(), GNUNET_CORE_disconnect(), GNUNET_CURL_download_get_result_(), GNUNET_CURL_job_cancel(), GNUNET_DHT_monitor_stop(), GNUNET_DISK_pipe_from_fd(), GNUNET_DNSPARSER_free_cert(), GNUNET_DNSPARSER_free_mx(), GNUNET_DNSPARSER_free_packet(), GNUNET_DNSPARSER_free_record(), GNUNET_DNSPARSER_free_soa(), GNUNET_DNSPARSER_free_srv(), GNUNET_FS_data_reader_copy_(), GNUNET_FS_directory_builder_finish(), GNUNET_FS_directory_list_contents(), GNUNET_FS_directory_scan_abort(), GNUNET_FS_download_signal_suspend_(), GNUNET_FS_download_stop(), GNUNET_FS_download_sync_(), GNUNET_FS_file_information_destroy(), GNUNET_FS_file_information_set_filename(), GNUNET_FS_file_information_sync_(), GNUNET_FS_free_download_request_(), GNUNET_FS_search_result_sync_(), GNUNET_FS_search_signal_suspend_(), GNUNET_FS_search_stop(), GNUNET_FS_search_sync_(), GNUNET_FS_share_tree_free(), GNUNET_FS_tree_encoder_finish(), GNUNET_FS_unindex_do_extract_keywords_(), GNUNET_FS_unindex_signal_suspend_(), GNUNET_FS_unindex_stop(), GNUNET_FS_uri_ksk_create_from_args(), GNUNET_FS_uri_ksk_create_from_meta_data(), GNUNET_GNS_lookup_with_tld_cancel(), GNUNET_HELLO_extract_address(), GNUNET_HELLO_iterate_addresses(), GNUNET_HOSTLIST_client_start(), GNUNET_HOSTLIST_client_stop(), GNUNET_HOSTLIST_server_stop(), GNUNET_IDENTITY_disconnect(), GNUNET_log_setup(), GNUNET_MQ_destroy(), GNUNET_NETWORK_socket_free_memory_only_(), GNUNET_OS_installation_get_path(), GNUNET_PEERSTORE_iterate_cancel(), GNUNET_PQ_connect_with_cfg(), GNUNET_PROGRAM_run2(), GNUNET_SERVICE_run_(), GNUNET_SERVICE_start(), GNUNET_SERVICE_stop(), GNUNET_SOCKS_do_connect(), GNUNET_STRINGS_path_is_absolute(), GNUNET_TESTBED_controller_destroy_(), GNUNET_TESTBED_host_destroy(), GNUNET_TESTBED_hosts_load_from_file(), GNUNET_TESTBED_operation_release_(), GNUNET_TESTBED_overlay_configure_topology_va(), GNUNET_TESTBED_underlay_construct_(), GNUNET_TESTING_configuration_create_(), GNUNET_TESTING_peer_configure(), GNUNET_TESTING_peer_destroy(), GNUNET_TESTING_system_destroy(), GNUNET_TRANSPORT_core_connect(), GNUNET_TRANSPORT_core_disconnect(), GNUNET_TRANSPORT_core_get_mq(), GNUNET_TRANSPORT_TESTING_main_(), GNUNET_TRANSPORT_TESTING_start_peer(), GNUNET_TUN_ipv4policy2regex(), GNUNET_TUN_ipv6policy2regex(), got_hello(), GSF_pending_request_get_message_(), GST_blacklist_test_cancel(), GST_cache_add_hello(), GST_cleanup_focc(), GST_destroy_peers(), GST_neighbour_list_clean(), GST_route_list_clear(), GST_slave_list_clear(), GST_stats_destroy(), handle_add_host(), handle_barrier_status(), handle_client_response(), handle_consume_ticket_result(), handle_dht_local_monitor_stop(), handle_get(), handle_gns_resolution_result(), handle_gns_result(), handle_identity_result_code(), handle_link_controllers_result(), handle_peer_reconfigure(), handle_record_lookup(), handle_stream_input(), handle_tcp_data(), handle_tcp_welcome(), heap_plugin_del(), hello_update_cb(), host_processor(), http_clean_splitted(), http_common_plugin_address_pretty_printer(), identity_cb(), identity_continuation(), init_cb(), iopen(), kill_httpd(), LEGACY_SERVICE_get_server_addresses(), LEGACY_SERVICE_run(), LEGACY_SERVICE_stop(), libgnunet_plugin_ats_proportional_done(), libgnunet_plugin_datacache_heap_done(), libgnunet_plugin_datacache_sqlite_done(), libgnunet_plugin_rest_gns_done(), libgnunet_plugin_rest_identity_done(), libgnunet_plugin_rest_namestore_done(), libgnunet_plugin_rest_openid_connect_done(), libgnunet_plugin_rest_peerinfo_done(), libgnunet_plugin_rest_reclaim_done(), LIBGNUNET_PLUGIN_TRANSPORT_DONE(), libgnunet_plugin_transport_http_client_done(), libgnunet_plugin_transport_http_server_done(), libgnunet_plugin_transport_tcp_init(), libgnunet_plugin_transport_udp_init(), load_cert_from_file(), load_episode(), load_hostlist_file(), load_key_from_file(), load_op_start_set_property(), load_op_stop_set_property(), load_state(), login_cont(), main(), meta_item_free(), modify_request(), namestore_list_finished(), num_to_regex(), occ_cache_get_handle_ats_occ_cb(), occ_cache_get_handle_core_cb(), occ_hello_sent_cb(), OIDC_build_authz_code(), OIDC_parse_authz_code(), oprelease_get_handle_core(), oprelease_get_stats(), oprelease_link_controllers(), oprelease_manage_service(), overlay_connect_get_config(), overlay_connect_notify(), p1_transport_connect_cache_callback(), p2_controller_connect_cb(), parse_args(), peerinfo_list_finished(), plugin_monitoring_cb(), print_entry(), process_dns_result(), process_hello(), process_helper_messages(), process_kblock(), process_lookup_result(), process_notify(), process_peer(), process_sblock(), progress_cb(), publish_cleanup(), publish_content(), publish_timeout(), read_update_information_graph(), recursive_cname_resolution(), recursive_gns2dns_resolution(), refresh_hello_task(), regex_combine(), regex_ctx_destroy(), REGEX_INTERNAL_automaton_destroy(), REGEX_INTERNAL_construct_nfa(), REGEX_INTERNAL_dfa_add_multi_strides(), REGEX_TEST_read_from_file(), report_uri(), reschedule_connect(), run(), run_no_scheduler(), save(), sb_realloc(), sb_wrap(), search_result_free(), search_result_suspend(), server_log(), server_lookup_connection(), server_start_report_addresses(), service_manage_result_cb(), set_filename(), set_string(), setup_data_transfer(), setup_exit_helper_args(), setup_service(), shutdown_rest(), shutdown_task(), sqlite_plugin_put(), start_arm_service(), start_phone(), start_process(), state_remove_transition(), store_service(), strata_estimator_read(), suspend_operation(), teardown_service(), test_icmp_client(), test_icmp_server(), test_service_configuration(), tokenizer_cb(), trigger_recursive_download(), try_unixpath(), update_config_sections(), update_hello(), uri_ksk_parse(), and write_pid_file().

◆ GNUNET_strdup

#define GNUNET_strdup (   a)    GNUNET_xstrdup_ (a, __FILE__, __LINE__)

Wrapper around GNUNET_xstrdup_.

Makes a copy of the zero-terminated string pointed to by a.

Parameters
apointer to a zero-terminated string
Returns
a copy of the string including zero-termination

Definition at line 1257 of file gnunet_common.h.

Referenced by access_handler_callback(), add_address_to_uri(), add_file(), add_host(), add_plugin(), add_setter_action(), address_cb(), announce_regex(), api_send(), ats_performance_info_cb(), authorize_endpoint(), backward_resolution(), blacklist_cfg_iter(), build_authz_response(), cache_answers(), check_authorization(), code_redirect(), collect_cred_cont(), comm_connect_cb(), comm_disconnect_cb(), compute_policy(), connect_cb(), construct_task_graph(), consume_ticket_cont(), convert_with_table(), cookie_identity_interpretation(), copy_argv(), create_address(), create_download_context(), create_finished(), create_meter(), create_response(), credential_string_to_value(), curl_check_hdr(), database_setup(), del_finished(), delegation_chain_resolution_start(), deserialize_download(), deserialize_fi_node(), deserialize_search(), dfa_add_multi_strides_helper(), dfa_compress_paths_helper(), dns_result_parser(), dns_string_to_value(), dns_value_to_string(), do_call(), do_connect(), do_error(), do_finished(), download_get_url(), ego_create(), ego_delete_name(), ego_delete_pubkey(), ego_edit(), ego_edit_name(), ego_edit_pubkey(), ego_edit_subsystem(), ego_get_for_subsystem(), ego_get_name(), ego_get_pubkey(), ego_get_subsystem(), encapsulate_for_dv(), expand_dollar(), expand_tree(), extract_filename(), extract_utf8_string(), fh_reader(), find_libraries(), GAS_plugin_init(), gen_rsh_args(), gen_rsh_suffix_args(), get_bootstrap_server(), get_cred_issuer_cb(), get_gns_cont(), get_keywords_from_parens(), get_keywords_from_tokens(), get_my_cnf_path(), get_path_from_GNUNET_PREFIX(), get_path_from_PATH(), get_serialization_short_name(), get_url_parameter_copy(), getopt_set_keywords(), getopt_set_metadata(), GNS_resolver_lookup(), gns_string_to_value(), gnuid_string_to_value(), GNUNET_ATS_solver_logging_write_to_disk(), GNUNET_CLIENT_connect(), GNUNET_CONFIGURATION_append_value_filename(), GNUNET_CONFIGURATION_deserialize(), GNUNET_CONFIGURATION_expand_dollar(), GNUNET_CONFIGURATION_get_value_string(), GNUNET_CONFIGURATION_load(), GNUNET_CONFIGURATION_set_value_string(), GNUNET_CONNECTION_create_from_connect(), GNUNET_CONTAINER_bloomfilter_load(), GNUNET_CONTAINER_meta_data_get_by_type(), GNUNET_CONTAINER_meta_data_insert(), GNUNET_CONVERSATION_call_start(), GNUNET_CRYPTO_hash_file(), GNUNET_DATACACHE_create(), GNUNET_DISK_directory_create_for_file(), GNUNET_DNSPARSER_check_name(), GNUNET_DNSPARSER_duplicate_cert_record(), GNUNET_DNSPARSER_duplicate_mx_record(), GNUNET_DNSPARSER_duplicate_record(), GNUNET_DNSPARSER_duplicate_soa_record(), GNUNET_DNSPARSER_duplicate_srv_record(), GNUNET_FS_directory_scan_start(), GNUNET_FS_file_information_create_empty_directory(), GNUNET_FS_file_information_create_from_file(), GNUNET_FS_file_information_set_filename(), GNUNET_FS_meta_data_suggest_filename(), GNUNET_FS_publish_sks(), GNUNET_FS_publish_start(), GNUNET_FS_search_start_searching_(), GNUNET_FS_start(), GNUNET_FS_unindex_do_remove_(), GNUNET_FS_unindex_do_remove_kblocks_(), GNUNET_FS_unindex_process_hash_(), GNUNET_FS_unindex_start(), GNUNET_FS_uri_dup(), GNUNET_FS_uri_ksk_create(), GNUNET_FS_uri_ksk_create_from_args(), GNUNET_FS_uri_ksk_merge(), GNUNET_FS_uri_parse(), GNUNET_FS_uri_sks_create(), GNUNET_FS_uri_sks_get_content_id(), GNUNET_GNS_lookup_with_tld(), GNUNET_GNSRECORD_string_to_lowercase(), GNUNET_HELLO_extract_address(), GNUNET_HELPER_start(), GNUNET_IDENTITY_ego_lookup(), GNUNET_IDENTITY_ego_lookup_by_suffix(), GNUNET_log_setup(), GNUNET_MYSQL_statement_prepare(), GNUNET_NAT_AUTO_test_start(), GNUNET_NAT_stun_make_request(), GNUNET_OS_check_helper_binary(), GNUNET_OS_get_libexec_binary_path(), GNUNET_OS_get_suid_binary_path(), GNUNET_OS_init(), GNUNET_OS_installation_get_path(), GNUNET_OS_start_process_s(), GNUNET_PEERSTORE_iterate(), GNUNET_PEERSTORE_store(), GNUNET_PLUGIN_load(), GNUNET_PROGRAM_run2(), GNUNET_RECLAIM_ATTRIBUTE_claim_new(), GNUNET_REGEX_announce(), GNUNET_REGEX_search(), GNUNET_RESOLVER_local_fqdn_get(), GNUNET_SERVICE_run_(), GNUNET_STATISTICS_create(), GNUNET_STATISTICS_get(), GNUNET_STATISTICS_watch(), GNUNET_STRINGS_filename_expand(), GNUNET_STRINGS_parse_ipv4_policy(), GNUNET_STRINGS_parse_ipv6_policy(), GNUNET_STRINGS_parse_socket_addr(), GNUNET_TESTBED_barrier_init_(), GNUNET_TESTBED_barrier_wait(), GNUNET_TESTBED_controller_start(), GNUNET_TESTBED_get_statistics(), GNUNET_TESTBED_host_create_with_id(), GNUNET_TESTBED_host_resolve_(), GNUNET_TESTBED_peer_manage_service(), GNUNET_TESTBED_test_run(), GNUNET_TESTBED_topology_to_str_(), GNUNET_TESTING_get_testname_from_underscore(), GNUNET_TESTING_peer_configure(), GNUNET_TESTING_service_run(), GNUNET_TESTING_system_create_with_portrange(), GNUNET_TRANSPORT_communicator_address_add(), GNUNET_TRANSPORT_communicator_mq_add(), GNUNET_TRANSPORT_TESTING_get_test_name(), GNUNET_TRANSPORT_TESTING_get_test_plugin_name(), GNUNET_TRANSPORT_TESTING_log_connect(), GNUNET_TRANSPORT_TESTING_log_disconnect(), GNUNET_TRANSPORT_TESTING_send(), GNUNET_TRANSPORT_TESTING_transport_communicator_service_start(), GNUNET_xstrndup_(), GPI_plugins_find(), GPI_plugins_load(), GST_blacklist_add_peer(), GST_plugins_load(), GST_plugins_printer_find(), GST_validation_handle_ping(), handle_add_address(), handle_collect(), handle_communicator_available(), handle_create_message(), handle_delete_message(), handle_dht_p2p_get(), handle_dht_p2p_put(), handle_dht_p2p_result(), handle_dv_box(), handle_dv_learn(), handle_get(), handle_get_default_message(), handle_gns_cname_result(), handle_gns_resolution_result(), handle_gns_response(), handle_identity_update(), handle_init(), handle_manage_peer_service(), handle_rename_message(), handle_set_default_message(), handle_verify(), header_iterator(), host_habitable_cb(), http_common_dns_ip_lookup(), http_common_dns_reverse_lookup(), http_common_plugin_string_to_address(), http_split_address(), identity_cb(), interface_proc(), iopen(), iter_cb(), iterate_initial_edge(), join_argv(), LEGACY_SERVICE_run(), libgnunet_plugin_datacache_sqlite_init(), libgnunet_plugin_datastore_sqlite_done(), list_ego(), load_plugin(), log_rotate(), login_redirect(), lookup_redirect_uri_result(), lookup_ssl_httpd(), mhd_log_callback(), mktemp_name(), multirecord_process(), namestore_add(), namestore_delete(), namestore_get(), namestore_iteration_error(), netint_proc(), new_value_set(), nibble_to_regex(), no_resolve(), ns_lookup_cb(), ns_lookup_error_cb(), offer_hello(), oidc_attr_collect(), oidc_collect_finished_cb(), oidc_iteration_error(), oidc_ticket_issue_cb(), overlay_connect_notify(), parse_args(), parse_definitions(), parse_gnsrecordobject(), parse_name(), parse_shared_services(), peerinfo_list_finished(), peerinfo_list_iteration(), peerstore_flat_store_record(), PEERSTORE_parse_record_message(), percent_decode_keyword(), plugin_init(), port_to_regex(), preprocess_file(), process_cont(), process_ego_file(), process_map_output(), process_resolved_address(), process_result_with_request(), process_sks_result(), progress_cb(), read_service_conf(), recursive_dns_resolution(), regex_add(), regex_add_multiple(), regex_combine(), REGEX_INTERNAL_construct_dfa(), REGEX_INTERNAL_construct_nfa(), REGEX_INTERNAL_search(), regex_iterator(), REGEX_TEST_generate_random_string(), resolve_and_cache(), resolve_peer_address(), rest_config_process_request(), rest_identity_process_request(), rest_process_request(), result_processor(), revoke_ticket_cont(), run(), run_zbar(), rvk_ticket_update(), scan(), schedule_watch_request(), send_hello(), send_hello_thru_rocc(), server_configure_plugin(), set_string(), setup_exit_helper_args(), setup_log_file(), setup_service(), signal_publish_error(), start_address_validation(), start_arm_service(), start_process(), start_resolver_lookup(), state_add_transition(), store_all_states(), store_service(), string_to_value(), tcp_address_to_sockaddr(), tcp_plugin_string_to_address(), ticket_iter(), tld_iter(), token_endpoint(), tokenizer_cb(), trigger_recursive_download(), udp_address_to_sockaddr(), udp_string_to_address(), unindex_directory_scan_cb(), unindex_finish(), unindex_mq_error_handler(), unindex_reader(), unix_plugin_string_to_address(), update_config_sections(), uri_chk_parse(), uri_ksk_parse(), uri_loc_parse(), uri_sks_parse(), userinfo_endpoint(), verify_cred_cont(), and write_pid_file().

◆ GNUNET_strndup

#define GNUNET_strndup (   a,
  length 
)    GNUNET_xstrndup_ (a, length, __FILE__, __LINE__)

◆ GNUNET_array_grow

#define GNUNET_array_grow (   arr,
  size,
  tsize 
)
Value:
GNUNET_xgrow_ ((void **) &(arr), \
sizeof ((arr)[0]), \
&size, \
tsize, \
__FILE__, \
__LINE__)
void GNUNET_xgrow_(void **old, size_t elementSize, unsigned int *oldCount, unsigned int newCount, const char *filename, int linenumber)
Grow an array, the new elements are zeroed out.
static unsigned int size
Size of the "table".
Definition: peer.c:67

Grow a well-typed (!) array.

This is a convenience method to grow a vector arr of size size to the new (target) size tsize.

Example (simple, well-typed stack):

static struct foo * myVector = NULL;
static int myVecLen = 0;
static void push(struct foo * elem) {
  GNUNET_array_grow(myVector, myVecLen, myVecLen+1);
  GNUNET_memcpy(&myVector[myVecLen-1], elem, sizeof(struct foo));
}
static void pop(struct foo * elem) {
  if (myVecLen == 0) die();
  GNUNET_memcpy(elem, myVector[myVecLen-1], sizeof(struct foo));
  GNUNET_array_grow(myVector, myVecLen, myVecLen-1);
}
Parameters
arrbase-pointer of the vector, may be NULL if size is 0; will be updated to reflect the new address. The TYPE of arr is important since size is the number of elements and not the size in bytes
sizethe number of elements in the existing vector (number of elements to copy over), will be updated with the new array size
tsizethe target size for the resulting vector, use 0 to free the vector (then, arr will be NULL afterwards).

Definition at line 1306 of file gnunet_common.h.

Referenced by attach_path(), clean_node(), cleanup_rr(), delete_value(), destroy_peer(), destroy_task(), do_round(), extend_path(), find_empty_session_slot(), free_update_information_graph(), GAS_ril_address_add(), GCP_path_entry_add(), gen_rsh_args(), GNUNET_ATS_scheduling_done(), GNUNET_ATS_scheduling_init(), GNUNET_DHT_get_filter_known_results(), GNUNET_DHT_get_stop(), GNUNET_FS_namespace_list_updateable(), GNUNET_FS_uri_destroy(), GNUNET_FS_uri_ksk_remove_keyword(), GNUNET_NETWORK_fdset_add(), GNUNET_NETWORK_fdset_copy(), GNUNET_NETWORK_fdset_destroy(), GNUNET_NETWORK_fdset_handle_set(), GNUNET_NETWORK_fdset_handle_set_first(), GNUNET_PEER_intern(), GNUNET_SCHEDULER_add_select(), GNUNET_STATISTICS_destroy(), GNUNET_TESTBED_host_create_with_id(), GSF_pending_request_update_(), handle_client_response(), handle_dht_local_get_result_seen(), heap_plugin_put(), host_processor(), iter_check_config(), main(), process_client_result(), process_helper_messages(), put_cb(), put_task(), REGEX_INTERNAL_construct_nfa(), REGEX_TEST_read_from_file(), rem_from_list(), remove_client_record(), remove_epsilon(), request_done(), run(), sampler_resize(), sb_free(), sb_strdup(), sb_strdup_cstr(), send_push(), set_peer_online(), shutdown_task(), start_process(), state_set_append(), state_set_clear(), step_depend_on(), View_change_len(), and view_update_cb().

◆ GNUNET_array_append

#define GNUNET_array_append (   arr,
  size,
  element 
)
Value:
do \
{ \
GNUNET_array_grow (arr, size, size + 1); \
(arr)[size - 1] = element; \
} while (0)
static unsigned int size
Size of the "table".
Definition: peer.c:67

Append an element to a list (growing the list by one).

Parameters
arrbase-pointer of the vector, may be NULL if size is 0; will be updated to reflect the new address. The TYPE of arr is important since size is the number of elements and not the size in bytes
sizethe number of elements in the existing vector (number of elements to copy over), will be updated with the new array size
elementthe element that will be appended to the array

Definition at line 1327 of file gnunet_common.h.

Referenced by add_plugin(), advance_generation(), associate_shared_service(), change_state(), decide_capacity(), execute_add(), execute_remove(), extract_handles(), forward_reply(), GDS_CLIENTS_process_get(), GDS_CLIENTS_process_get_resp(), GDS_CLIENTS_process_put(), gen_rsh_args(), gen_rsh_suffix_args(), getopt_set_keywords(), GNUNET_FS_namespace_list_updateable(), GNUNET_FS_uri_ksk_add_keyword(), GNUNET_PROGRAM_run2(), GNUNET_STATISTICS_watch(), GNUNET_TESTBED_operation_queue_destroy_(), GNUNET_TESTBED_operation_queue_insert2_(), GNUNET_TESTING_system_create_with_portrange(), join_argv(), lookup_dns_servers(), merge_ops(), next_phase(), REGEX_INTERNAL_search(), regex_next_edge(), result_processor(), run(), schedule_operation(), sks_publish_cont(), start_process(), and update_config().

Function Documentation

◆ GNUNET_snprintf()

int GNUNET_snprintf ( char *  buf,
size_t  size,
const char *  format,
  ... 
)

Like snprintf, just aborts if the buffer is of insufficient size.

Parameters
bufpointer to buffer that is written to
sizenumber of bytes in buf
formatformat strings
...data for format string
Returns
number of bytes written to buf or negative value on error

Like snprintf, just aborts if the buffer is of insufficient size.

Parameters
bufpointer to buffer that is written to
sizenumber of bytes in buf
formatformat strings
...data for format string
Returns
number of bytes written to buf or negative value on error

Definition at line 506 of file common_allocation.c.

References gnunet-chk::args, GNUNET_assert, ret, and VSNPRINTF.

Referenced by auth_key_to_string(), compute_policy(), compute_probabilities(), create_response(), dfa_state_create(), display_bar(), do_accept(), do_reject(), do_resume(), do_shutdown(), estate2s(), GCC_2s(), GCCH_2s(), GCPP_2s(), GCT_2s(), get_class(), get_type(), GN_request_connection_reversal(), GNUNET_a2s(), GNUNET_BIO_read_fn(), GNUNET_CONFIGURATION_set_value_number(), GNUNET_DISK_directory_scan(), GNUNET_DISK_file_backup(), GNUNET_FRAGMENT_print_ack(), GNUNET_GNSRECORD_pkey_to_zkey(), GNUNET_log_from_nocheck(), GNUNET_NAT_mini_map_stop(), GNUNET_NETWORK_test_port_free(), GNUNET_OS_check_helper_binary(), GNUNET_OS_init(), GNUNET_STRINGS_byte_size_fancy(), GNUNET_STRINGS_pp2s(), GNUNET_STRINGS_relative_time_to_string(), GNUNET_TUN_ipv4toregexsearch(), GNUNET_TUN_ipv6toregexsearch(), GSC_2s(), GSC_CLIENTS_deliver_message(), GST_plugins_a2s(), GST_validation_handle_ping(), handle_estimate(), handle_list(), handle_p2p_estimate(), mac_to_string(), make_keywords(), make_reverse_hostname(), new_sub(), port_to_regex(), print_channel_destination(), process_get(), process_refresh_output(), read_blacklist_configuration(), regex_found_handler(), run(), run_upnpc_r(), sb_printf1(), sb_printf2(), sb_printf3(), sb_wrap(), start_process(), stats_iterator(), store_peer_presistently_iterator(), store_prefix_file_name(), stun_msg2str(), tcp_plugin_address_to_string(), tokenized_cb(), udp_address_to_string(), unix_plugin_address_to_string(), update_config(), wlan_plugin_address_to_string(), work(), and write_histogram_to_file().

509 {
510  int ret;
511  va_list args;
512 
513  va_start (args, format);
514  ret = VSNPRINTF (buf,
515  size,
516  format,
517  args);
518  va_end (args);
519  GNUNET_assert ( (ret >= 0) &&
520  (((size_t) ret) < size) );
521  return ret;
522 }
#define GNUNET_assert(cond)
Use this for fatal errors that cannot be handled.
static int ret
Final status code.
Definition: gnunet-arm.c:89
static char buf[2048]
static unsigned int size
Size of the "table".
Definition: peer.c:67
#define VSNPRINTF(str, size, fmt, a)
Definition: plibc.h:687

◆ GNUNET_asprintf()

int GNUNET_asprintf ( char **  buf,
const char *  format,
  ... 
)

Like asprintf, just portable.

Parameters
bufset to a buffer of sufficient size (allocated, caller must free)
formatformat string (see printf, fprintf, etc.)
...data for format string
Returns
number of bytes in "*buf" excluding 0-termination

Like asprintf, just portable.

Parameters
bufset to a buffer of sufficient size (allocated, caller must free)
formatformat string (see printf(), fprintf(), etc.)
...data for format string
Returns
number of bytes in *@a buf, excluding 0-termination

Definition at line 477 of file common_allocation.c.

References gnunet-chk::args, GNUNET_assert, GNUNET_malloc, ret, VSNPRINTF, and VSPRINTF.

Referenced by access_handler_callback(), add_address_to_uri(), address_to_regex(), append_port(), associate_shared_service(), automaton_merge_states(), backward_resolution(), boot_queue(), build_authz_response(), build_redirect(), client_connect(), client_connect_get(), client_receive_mst_cb(), client_send_cb(), code_redirect(), compute_policy(), con_val_iter(), construct_task_graph(), construct_task_graph_gradecast(), conversation_value_to_string(), create_channel_to_destination(), create_response(), create_string_array(), create_unique_cfgs(), credential_value_to_string(), curl_check_hdr(), dfa_add_multi_strides_helper(), dfa_compress_paths_helper(), dfa_state_create(), display_record(), dns_value_to_string(), do_directory_scan(), do_error(), do_redirect_error(), do_userinfo_error(), ds_put_cont(), dump_pc(), encapsulate_for_dv(), encode_cont(), expand_tree(), fill_s_reply(), finish_reserve(), GAS_mlp_solve_problem(), GAS_plugin_init(), gather_uri_data(), get_download_sync_filename(), get_ego_filename(), get_host_filename(), get_my_cnf_path(), get_path_from_PATH(), get_quota(), get_serialization_file_name(), get_serialization_file_name_in_dir(), get_state_file(), get_update_information_directory(), gns_value_to_string(), GNUNET_ATS_solver_logging_write_to_disk(), GNUNET_ATS_solvers_load_quotas(), GNUNET_ATS_solvers_solver_start(), GNUNET_ATS_TEST_logging_write_to_file(), GNUNET_BIO_read(), GNUNET_BIO_read_meta_data(), GNUNET_BIO_read_string(), GNUNET_CONFIGURATION_deserialize(), GNUNET_CONFIGURATION_load(), GNUNET_CONFIGURATION_serialize(), GNUNET_CREDENTIAL_credential_to_string(), GNUNET_DATACACHE_create(), GNUNET_FRIENDS_write(), GNUNET_FS_data_reader_file_(), GNUNET_FS_download_start_task_(), GNUNET_FS_meta_data_suggest_filename(), GNUNET_FS_publish_main_(), GNUNET_FS_uri_ksk_add_keyword(), GNUNET_FS_uri_ksk_create_from_args(), GNUNET_GNS_lookup_with_tld(), GNUNET_HELLO_compose_uri(), GNUNET_HELLO_sign_address(), GNUNET_HOSTLIST_server_start(), GNUNET_JSON_from_time_abs(), GNUNET_JSON_from_time_rel(), GNUNET_log_setup(), GNUNET_OS_check_helper_binary(), GNUNET_OS_get_libexec_binary_path(), GNUNET_OS_get_suid_binary_path(), GNUNET_OS_init(), GNUNET_OS_installation_get_path(), GNUNET_PROGRAM_run2(), GNUNET_REST_handle_request(), GNUNET_SERVICE_run_(), GNUNET_STRINGS_filename_expand(), GNUNET_TESTBED_controller_start(), GNUNET_TESTBED_is_host_habitable(), GNUNET_TESTING_configuration_create_(), GNUNET_TESTING_peer_configure(), GNUNET_TESTING_reserve_port(), GNUNET_TESTING_service_run(), GNUNET_TRANSPORT_TESTING_get_config_name(), GNUNET_TUN_ipv4policy2regex(), GNUNET_TUN_ipv6policy2regex(), GPI_plugins_load(), GST_plugins_load(), GST_stats_init(), handle_backchannel_encapsulation(), handle_collect_response(), handle_dv_box(), handle_dv_learn(), handle_gns_cname_result(), handle_index_start_failed(), handle_manage_peer_service(), handle_overlay_connect(), handle_peer_create(), handle_peer_reconfigure(), handle_verify_response(), header_iterator(), hostkeys_load(), http_client_plugin_send(), http_common_address_from_socket(), http_common_plugin_address_to_string(), http_common_plugin_dnsresult_to_address(), http_common_socket_from_address(), http_server_plugin_send(), id_connect_cb(), iface_proc(), init_egos(), insert_non_mandatory_keyword(), ipv4_to_regex(), ipv6_to_regex(), iterate_initial_edge(), LEGACY_SERVICE_run(), libgnunet_plugin_ats_proportional_init(), libgnunet_plugin_rest_gns_init(), libgnunet_plugin_rest_identity_init(), libgnunet_plugin_rest_namestore_init(), libgnunet_plugin_rest_openid_connect_init(), libgnunet_plugin_rest_peerinfo_init(), libgnunet_plugin_rest_reclaim_init(), list_callback(), load_episode(), load_episodes(), load_keys(), load_op_add_address(), load_op_del_address(), load_op_start_request(), load_op_start_set_preference(), load_op_start_set_property(), load_op_stop_request(), load_op_stop_set_preference(), load_op_stop_set_property(), load_plugin(), load_quota(), logger_run(), login_cont(), login_redirect(), main(), mktemp_name(), mlp_create_problem_add_address_information(), mlp_create_problem_add_invariant_columns(), mlp_create_problem_add_invariant_rows(), mlp_create_problem_create_constraint(), multirecord_process(), namestore_flat_store_records(), nat_address_cb(), netint_proc(), new_sub(), nfa_state_create(), nibble_to_regex(), notify_connect(), notify_disconnect(), ns_lookup_result_cb(), num_to_regex(), occ_cache_get_handle_ats_occ_cb(), occ_cache_get_handle_core_cb(), occ_hello_sent_cb(), OIDC_id_token_new(), OIDC_parse_authz_code(), oidc_ticket_issue_cb(), overlay_connect_get_config(), p1_transport_connect_cache_callback(), p2_controller_connect_cb(), p2_transport_connect(), p2_transport_connect_cache_callback(), parse_name(), plugin_init(), policy_filename_cb(), port_to_regex(), post_data_iter(), print_address(), print_quotas(), process_result_with_request(), profiler_reply_handle(), profiler_reply_handle_info(), recursive_gns2dns_resolution(), regex_combine(), REGEX_TEST_automaton_save_graph_step(), resolve_function(), run(), sample_load_task(), send_cred_response(), server_configure_plugin(), server_notify_external_hostname(), server_receive_mst_cb(), server_send_callback(), service_manage_result_cb(), setup_data_transfer(), setup_queue(), sockaddr_to_udpaddr_string(), start_arm_service(), start_process(), start_shared_service_instance(), stat_iterator(), stop_callback(), store_and_free_entries(), term_callback(), tokenizer_cb(), translate_dot_plus(), trigger_recursive_download(), try_ifconfig(), try_ip(), try_match_block(), update_config(), update_config_sections(), update_hostlist(), uri_chk_to_string(), uri_loc_to_string(), uri_sks_to_string(), url_iterator(), write_benchmark_data(), write_bw_gnuplot_script(), write_rtt_gnuplot_script(), write_throughput_gnuplot_script(), and zone_iteration_end().

480 {
481  int ret;
482  va_list args;
483 
484  va_start (args, format);
485  ret = VSNPRINTF (NULL, 0, format, args);
486  va_end (args);
487  GNUNET_assert (ret >= 0);
488  *buf = GNUNET_malloc (ret + 1);
489  va_start (args, format);
490  ret = VSPRINTF (*buf, format, args);
491  va_end (args);
492  return ret;
493 }
#define GNUNET_assert(cond)
Use this for fatal errors that cannot be handled.
static int ret
Final status code.
Definition: gnunet-arm.c:89
#define VSPRINTF(d, f, a)
Definition: plibc.h:686
static char buf[2048]
#define VSNPRINTF(str, size, fmt, a)
Definition: plibc.h:687
#define GNUNET_malloc(size)
Wrapper around malloc.

◆ GNUNET_copy_message()

struct GNUNET_MessageHeader* GNUNET_copy_message ( const struct GNUNET_MessageHeader msg)

Create a copy of the given message.

Parameters
msgmessage to copy
Returns
duplicate of the message

Definition at line 532 of file common_allocation.c.

References GNUNET_assert, GNUNET_malloc, GNUNET_memcpy, ret, and GNUNET_MessageHeader::size.

Referenced by forward_overlay_connect(), get_hello(), got_hello(), GST_cache_add_hello(), GST_receive_callback(), handle_barrier_status(), handle_client_mutation(), handle_incoming_msg(), handle_remote_overlay_connect(), hello_callback(), occ_cache_get_handle_core_cb(), publicize_rm(), and send_with_fragmentation().

533 {
534  struct GNUNET_MessageHeader *ret;
535  uint16_t msize;
536 
537  msize = ntohs (msg->size);
538  GNUNET_assert (msize >= sizeof (struct GNUNET_MessageHeader));
539  ret = GNUNET_malloc (msize);
540  GNUNET_memcpy (ret,
541  msg,
542  msize);
543  return ret;
544 }
#define GNUNET_assert(cond)
Use this for fatal errors that cannot be handled.
uint16_t size
The length of the struct (in bytes, including the length field itself), in big-endian format...
static int ret
Final status code.
Definition: gnunet-arm.c:89
#define GNUNET_memcpy(dst, src, n)
Header for all communications.
#define GNUNET_malloc(size)
Wrapper around malloc.
Here is the caller graph for this function: