small API change: do no longer pass rarely needed GNUNET_SCHEDULER_TaskContext to...
authorChristian Grothoff <christian@grothoff.org>
Sat, 9 Apr 2016 23:14:03 +0000 (23:14 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sat, 9 Apr 2016 23:14:03 +0000 (23:14 +0000)
commit29e6158507a0758192075ac6ece7ba8e75ddc49a
treeb91ded48da322f8ba4c9bb0f5504228aa036c2d1
parent5dfcb058ab5db9ae0c4b147d8a99c64ca0980028
small API change: do no longer pass rarely needed GNUNET_SCHEDULER_TaskContext to all scheduler tasks; instead, allow the relatively few tasks that need it to obtain the context via GNUNET_SCHEDULER_get_task_context()
393 files changed:
doc/testbed_test.c
src/Makefile.am
src/arm/arm_api.c
src/arm/arm_monitor_api.c
src/arm/gnunet-arm.c
src/arm/gnunet-service-arm.c
src/arm/test_arm_api.c
src/arm/test_exponential_backoff.c
src/arm/test_gnunet_service_arm.c
src/ats-tests/ats-testing-experiment.c
src/ats-tests/ats-testing-log.c
src/ats-tests/ats-testing-preferences.c
src/ats-tests/ats-testing-traffic.c
src/ats-tests/ats-testing.c
src/ats-tests/gnunet-solver-eval.c
src/ats-tests/perf_ats.c
src/ats-tests/perf_ats_logging.c
src/ats-tool/gnunet-ats.c
src/ats/ats_api_connectivity.c
src/ats/ats_api_performance.c
src/ats/ats_api_scanner.c
src/ats/ats_api_scheduling.c
src/ats/gnunet-ats-solver-eval.c
src/ats/gnunet-service-ats.c
src/ats/gnunet-service-ats_preferences.c
src/ats/plugin_ats_ril.c
src/ats/test_ats_lib.c
src/cadet/cadet_api.c
src/cadet/cadet_path.c
src/cadet/gnunet-cadet-profiler.c
src/cadet/gnunet-cadet.c
src/cadet/gnunet-service-cadet.c
src/cadet/gnunet-service-cadet_channel.c
src/cadet/gnunet-service-cadet_connection.c
src/cadet/gnunet-service-cadet_dht.c
src/cadet/gnunet-service-cadet_peer.c
src/cadet/gnunet-service-cadet_tunnel.c
src/cadet/test_cadet.c
src/cadet/test_cadet_local.c
src/cadet/test_cadet_single.c
src/consensus/gnunet-consensus-profiler.c
src/consensus/gnunet-service-consensus.c
src/consensus/test_consensus_api.c
src/conversation/gnunet-conversation-test.c
src/conversation/gnunet-conversation.c
src/conversation/gnunet-service-conversation.c
src/conversation/test_conversation_api.c
src/conversation/test_conversation_api_reject.c
src/conversation/test_conversation_api_twocalls.c
src/core/core_api.c
src/core/gnunet-core.c
src/core/gnunet-service-core.c
src/core/gnunet-service-core_kx.c
src/core/gnunet-service-core_sessions.c
src/core/test_core_api.c
src/core/test_core_api_mq.c
src/core/test_core_api_reliability.c
src/core/test_core_api_send_to_self.c
src/core/test_core_api_start_only.c
src/core/test_core_quota_compliance.c
src/datastore/datastore_api.c
src/datastore/gnunet-datastore.c
src/datastore/gnunet-service-datastore.c
src/datastore/perf_datastore_api.c
src/datastore/perf_plugin_datastore.c
src/datastore/test_datastore_api.c
src/datastore/test_datastore_api_management.c
src/datastore/test_plugin_datastore.c
src/dht/dht_api.c
src/dht/gnunet-dht-get.c
src/dht/gnunet-dht-monitor.c
src/dht/gnunet-dht-put.c
src/dht/gnunet-service-dht.c
src/dht/gnunet-service-dht_clients.c
src/dht/gnunet-service-dht_neighbours.c
src/dht/gnunet-service-wdht.c
src/dht/gnunet-service-wdht_clients.c
src/dht/gnunet-service-wdht_neighbours.c
src/dht/gnunet-service-xdht.c
src/dht/gnunet-service-xdht_clients.c
src/dht/gnunet-service-xdht_neighbours.c
src/dht/gnunet_dht_profiler.c
src/dht/test_dht_api.c
src/dht/test_dht_monitor.c
src/dht/test_dht_topo.c
src/dns/dns_api.c
src/dns/dnsstub.c
src/dns/gnunet-dns-monitor.c
src/dns/gnunet-dns-redirector.c
src/dns/gnunet-service-dns.c
src/dv/gnunet-dv.c
src/dv/gnunet-service-dv.c
src/dv/test_transport_dv.c
src/exit/gnunet-daemon-exit.c
src/fragmentation/defragmentation.c
src/fragmentation/fragmentation.c
src/fragmentation/test_fragmentation.c
src/fragmentation/test_fragmentation_parallel.c
src/fs/fs_api.c
src/fs/fs_api.h
src/fs/fs_dirmetascan.c
src/fs/fs_download.c
src/fs/fs_publish.c
src/fs/fs_publish_ksk.c
src/fs/fs_publish_ublock.c
src/fs/fs_search.c
src/fs/fs_test_lib.c
src/fs/fs_tree.c
src/fs/fs_unindex.c
src/fs/gnunet-auto-share.c
src/fs/gnunet-daemon-fsprofiler.c
src/fs/gnunet-download.c
src/fs/gnunet-fs-profiler.c
src/fs/gnunet-publish.c
src/fs/gnunet-search.c
src/fs/gnunet-service-fs.c
src/fs/gnunet-service-fs_cadet_client.c
src/fs/gnunet-service-fs_cadet_server.c
src/fs/gnunet-service-fs_cp.c
src/fs/gnunet-service-fs_lc.c
src/fs/gnunet-service-fs_pe.c
src/fs/gnunet-service-fs_pr.c
src/fs/gnunet-service-fs_push.c
src/fs/gnunet-service-fs_put.c
src/fs/gnunet-unindex.c
src/fs/perf_gnunet_service_fs_p2p.c
src/fs/perf_gnunet_service_fs_p2p_respect.c
src/fs/test_fs_download.c
src/fs/test_fs_download_persistence.c
src/fs/test_fs_list_indexed.c
src/fs/test_fs_namespace.c
src/fs/test_fs_publish.c
src/fs/test_fs_publish_persistence.c
src/fs/test_fs_search.c
src/fs/test_fs_search_persistence.c
src/fs/test_fs_search_probes.c
src/fs/test_fs_search_with_and.c
src/fs/test_fs_test_lib.c
src/fs/test_fs_unindex.c
src/fs/test_fs_unindex_persistence.c
src/fs/test_gnunet_service_fs_migration.c
src/fs/test_gnunet_service_fs_p2p.c
src/gns/gns_api.c
src/gns/gnunet-bcd.c
src/gns/gnunet-dns2gns.c
src/gns/gnunet-gns-helper-service-w32.c
src/gns/gnunet-gns-import.c
src/gns/gnunet-gns-proxy.c
src/gns/gnunet-gns.c
src/gns/gnunet-service-gns.c
src/gns/gnunet-service-gns_resolver.c
src/gns/plugin_rest_gns.c
src/gns/test_gns_proxy.c
src/hostlist/gnunet-daemon-hostlist.c
src/hostlist/gnunet-daemon-hostlist_client.c
src/hostlist/gnunet-daemon-hostlist_server.c
src/hostlist/test_gnunet_daemon_hostlist.c
src/hostlist/test_gnunet_daemon_hostlist_learning.c
src/hostlist/test_gnunet_daemon_hostlist_reconnect.c
src/identity-provider/gnunet-service-identity-provider.c
src/identity-provider/identity_provider_api.c
src/identity-provider/plugin_rest_identity_provider.c
src/identity/gnunet-identity.c
src/identity/gnunet-service-identity.c
src/identity/identity_api.c
src/identity/plugin_rest_identity.c
src/identity/test_identity.c
src/identity/test_identity_defaults.c
src/include/gnunet_os_lib.h
src/include/gnunet_scheduler_lib.h
src/include/gnunet_server_lib.h
src/multicast/gnunet-service-multicast.c
src/multicast/test_multicast.c
src/namecache/gnunet-namecache.c
src/namecache/gnunet-service-namecache.c
src/namecache/namecache_api.c
src/namecache/test_namecache_api_cache_block.c
src/namestore/gnunet-namestore-fcfsd.c
src/namestore/gnunet-namestore.c
src/namestore/gnunet-service-namestore.c
src/namestore/namestore_api.c
src/namestore/plugin_rest_namestore.c
src/namestore/test_namestore_api_lookup_nick.c
src/namestore/test_namestore_api_lookup_private.c
src/namestore/test_namestore_api_lookup_public.c
src/namestore/test_namestore_api_lookup_shadow.c
src/namestore/test_namestore_api_lookup_shadow_filter.c
src/namestore/test_namestore_api_monitoring.c
src/namestore/test_namestore_api_monitoring_existing.c
src/namestore/test_namestore_api_remove.c
src/namestore/test_namestore_api_remove_not_existing_record.c
src/namestore/test_namestore_api_store.c
src/namestore/test_namestore_api_store_update.c
src/namestore/test_namestore_api_zone_iteration.c
src/namestore/test_namestore_api_zone_iteration_nick.c
src/namestore/test_namestore_api_zone_iteration_specific_zone.c
src/namestore/test_namestore_api_zone_iteration_stop.c
src/namestore/test_namestore_api_zone_to_name.c
src/nat/gnunet-nat-server.c
src/nat/nat.c
src/nat/nat_auto.c
src/nat/nat_mini.c
src/nat/nat_test.c
src/nat/test_nat.c
src/nat/test_nat_mini.c
src/nat/test_nat_test.c
src/nat/test_stun.c
src/nse/gnunet-nse-profiler.c
src/nse/gnunet-nse.c
src/nse/gnunet-service-nse.c
src/nse/nse_api.c
src/nse/test_nse_api.c
src/nse/test_nse_multipeer.c
src/peerinfo-tool/gnunet-peerinfo.c
src/peerinfo/gnunet-service-peerinfo.c
src/peerinfo/peerinfo_api.c
src/peerinfo/peerinfo_api_notify.c
src/peerinfo/test_peerinfo_api_notify_friend_only.c
src/peerstore/gnunet-peerstore.c
src/peerstore/gnunet-service-peerstore.c
src/peerstore/peerstore_api.c
src/peerstore/test_peerstore_api_sync.c
src/pq/test_pq.c
src/psyc/gnunet-service-psyc.c
src/psyc/test_psyc.c
src/psycstore/gnunet-service-psycstore.c
src/psycstore/psycstore_api.c
src/psycstore/test_psycstore.c
src/pt/gnunet-daemon-pt.c
src/pt/test_gns_vpn.c
src/pt/test_gnunet_vpn.c
src/regex/gnunet-daemon-regexprofiler.c
src/regex/gnunet-regex-profiler.c
src/regex/gnunet-regex-simulation-profiler.c
src/regex/gnunet-service-regex.c
src/regex/test_regex_api.c
src/regex/test_regex_integration.c
src/rest/gnunet-rest-server.c
src/revocation/gnunet-revocation.c
src/revocation/gnunet-service-revocation.c
src/revocation/test_revocation.c
src/rps/gnunet-rps.c
src/rps/gnunet-service-rps.c
src/rps/gnunet-service-rps_sampler.c
src/rps/test_rps.c
src/scalarproduct/gnunet-scalarproduct.c
src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c
src/scalarproduct/gnunet-service-scalarproduct-ecc_bob.c
src/scalarproduct/gnunet-service-scalarproduct_alice.c
src/scalarproduct/gnunet-service-scalarproduct_bob.c
src/secretsharing/gnunet-secretsharing-profiler.c
src/secretsharing/gnunet-service-secretsharing.c
src/secretsharing/test_secretsharing_api.c
src/set/gnunet-service-set.c
src/set/gnunet-set-profiler.c
src/set/set_api.c
src/set/test_set_api.c
src/set/test_set_union_copy.c
src/set/test_set_union_result_symmetric.c
src/social/gnunet-service-social.c
src/social/test_social.c
src/statistics/gnunet-service-statistics.c
src/statistics/gnunet-statistics.c
src/statistics/statistics_api.c
src/statistics/test_statistics_api_watch.c
src/statistics/test_statistics_api_watch_zero_value.c
src/template/gnunet-service-template.c
src/testbed/gnunet-daemon-latency-logger.c
src/testbed/gnunet-daemon-testbed-blacklist.c
src/testbed/gnunet-daemon-testbed-underlay.c
src/testbed/gnunet-helper-testbed.c
src/testbed/gnunet-service-test-barriers.c
src/testbed/gnunet-service-testbed-logger.c
src/testbed/gnunet-service-testbed.c
src/testbed/gnunet-service-testbed.h
src/testbed/gnunet-service-testbed_barriers.c
src/testbed/gnunet-service-testbed_connectionpool.c
src/testbed/gnunet-service-testbed_cpustatus.c
src/testbed/gnunet-service-testbed_links.c
src/testbed/gnunet-service-testbed_oc.c
src/testbed/gnunet-service-testbed_peers.c
src/testbed/gnunet-testbed-profiler.c
src/testbed/gnunet_testbed_mpi_spawn.c
src/testbed/test_gnunet_helper_testbed.c
src/testbed/test_testbed_api.c
src/testbed/test_testbed_api_2peers_1controller.c
src/testbed/test_testbed_api_3peers_3controllers.c
src/testbed/test_testbed_api_barriers.c
src/testbed/test_testbed_api_controllerlink.c
src/testbed/test_testbed_api_hosts.c
src/testbed/test_testbed_api_operations.c
src/testbed/test_testbed_api_peer_reconfiguration.c
src/testbed/test_testbed_api_peers_manage_services.c
src/testbed/test_testbed_api_statistics.c
src/testbed/test_testbed_api_test.c
src/testbed/test_testbed_api_testbed_run.c
src/testbed/test_testbed_api_topology.c
src/testbed/test_testbed_api_topology_clique.c
src/testbed/test_testbed_logger_api.c
src/testbed/test_testbed_underlay.c
src/testbed/testbed_api_hosts.c
src/testbed/testbed_api_operations.c
src/testbed/testbed_api_statistics.c
src/testbed/testbed_api_testbed.c
src/testbed/testbed_logger_api.c
src/testing/gnunet-testing.c
src/testing/test_testing_peerstartup.c
src/testing/test_testing_peerstartup2.c
src/testing/test_testing_sharedservices.c
src/testing/testing.c
src/topology/gnunet-daemon-topology.c
src/transport/gnunet-service-transport.c
src/transport/gnunet-service-transport_ats.c
src/transport/gnunet-service-transport_blacklist.c
src/transport/gnunet-service-transport_hello.c
src/transport/gnunet-service-transport_manipulation.c
src/transport/gnunet-service-transport_neighbours.c
src/transport/gnunet-service-transport_validation.c
src/transport/gnunet-transport-profiler.c
src/transport/gnunet-transport.c
src/transport/plugin_transport_http_client.c
src/transport/plugin_transport_http_server.c
src/transport/plugin_transport_tcp.c
src/transport/plugin_transport_udp.c
src/transport/plugin_transport_udp_broadcasting.c
src/transport/plugin_transport_unix.c
src/transport/plugin_transport_wlan.c
src/transport/test_plugin_transport.c
src/transport/test_quota_compliance.c
src/transport/test_transport_address_switch.c
src/transport/test_transport_api.c
src/transport/test_transport_api_bidirectional_connect.c
src/transport/test_transport_api_blacklisting.c
src/transport/test_transport_api_disconnect.c
src/transport/test_transport_api_limited_sockets.c
src/transport/test_transport_api_manipulation_cfg.c
src/transport/test_transport_api_manipulation_recv_tcp.c
src/transport/test_transport_api_manipulation_send_tcp.c
src/transport/test_transport_api_monitor_peers.c
src/transport/test_transport_api_monitor_validation.c
src/transport/test_transport_api_reliability.c
src/transport/test_transport_api_restart_1peer.c
src/transport/test_transport_api_restart_2peers.c
src/transport/test_transport_api_timeout.c
src/transport/test_transport_blacklisting.c
src/transport/test_transport_startonly.c
src/transport/transport-testing.c
src/transport/transport_api.c
src/transport/transport_api_monitor_peers.c
src/transport/transport_api_monitor_plugins.c
src/transport/transport_api_monitor_validation.c
src/util/bandwidth.c
src/util/client.c
src/util/client_manager.c
src/util/connection.c
src/util/crypto_hash_file.c
src/util/disk_iterator.c
src/util/gnunet-scrypt.c
src/util/gnunet-uri.c
src/util/helper.c
src/util/mq.c
src/util/os_priority.c
src/util/program.c
src/util/resolver_api.c
src/util/scheduler.c
src/util/server.c
src/util/service.c
src/util/socks.c
src/util/speedup.c
src/util/test_client.c
src/util/test_common_logging_runtime_loglevels.c
src/util/test_connection.c
src/util/test_connection_addressing.c
src/util/test_connection_receive_cancel.c
src/util/test_connection_timeout.c
src/util/test_connection_timeout_no_connect.c
src/util/test_connection_transmit_cancel.c
src/util/test_crypto_hash.c
src/util/test_disk.c
src/util/test_mq_client.c
src/util/test_os_start_process.c
src/util/test_scheduler.c
src/util/test_scheduler_delay.c
src/util/test_server.c
src/util/test_server_disconnect.c
src/util/test_server_with_client.c
src/util/test_server_with_client_unix.c
src/util/test_service.c
src/util/test_socks.c
src/util/test_speedup.c
src/vpn/gnunet-service-vpn.c
src/vpn/gnunet-vpn.c
src/vpn/vpn_api.c