Browse Source
- utun_instance.h: add chat_connections queue (indexed by node_id, 8 bytes) - chat_sync.c: queue_new in init, queue_free in destroy, queue_find_data_by_index in cs_find_conn_for_node - chat_sync.c: remove from queue in cs_on_conn_down - chat_core.c: add to queue in connect_from_invite and connect_auto - chat_core.c: remove from queue in cc_parallel_cleanup and ca_cleanup - db_sync.c: replace linear conn search with queue_find_data_by_index (db_sync_send_hash)topo_upd
4 changed files with 28 additions and 10 deletions
Loading…
Reference in new issue