~ Here we see our first tal destructor: in this case the 'struct connect' * simply removes itself from the table of all 'connecting' structs. */
| 90 | /*~ Here we see our first tal destructor: in this case the 'struct connect' |
| 91 | * simply removes itself from the table of all 'connecting' structs. */ |
| 92 | static void destroy_connecting(struct connecting *connect) |
| 93 | { |
| 94 | if (!connecting_htable_del(connect->daemon->connecting, connect)) |
| 95 | abort(); |
| 96 | } |
| 97 | |
| 98 | /*~ Most simple search functions start with find_; in this case, search |
| 99 | * for an existing attempt to connect the given peer id. */ |