-{
- connection_tree = avl_alloc_tree((avl_compare_t)connection_compare, (avl_action_t)free_connection);
- id_tree = avl_alloc_tree((avl_compare_t)id_compare, NULL);
-}
-
-/* Creation and deletion of connection elements */
-
-connection_t *new_connection(void)
-{
- connection_t *p = (connection_t *)xmalloc_and_zero(sizeof(*p));
-cp
- p->subnet_tree = avl_alloc_tree((avl_compare_t)subnet_compare, NULL);
- p->queue = list_alloc((list_action_t)free);
-cp
- return p;
-}
-
-void free_connection(connection_t *p)