00001 #if !defined(_RELAY_H_)
00002 #define _RELAY_H_
00003
00004 #include "sumalib.h"
00005 #include "internal.h"
00006
00007 int find_neighbor(char *newbee_uuid, int *r, p2p_connection_t **conn);
00008
00009 void select_broad_connections_aux
00010 (p2p_destinations_t *dst, p2p_connection_link_t *lst, p2p_connection_t *ex_conn);
00011
00012 void select_broad_connections
00013 (p2p_destinations_t *dst, p2p_connection_link_t *lst, p2p_connection_t *ex_conn);
00014
00015 void select_uni_connections
00016 (p2p_destinations_t *dst, int i, apr_socket_t **closer_sock, char **closer_uuid);
00017
00018 void select_connections(char *kind, p2p_destinations_t *dst, p2p_connection_link_t *lst,
00019 p2p_connection_t *ex_conn);
00020
00021 #endif