/** * @return A halloc()ed string. */ static char * proxies_to_string(GSList *proxies) { sequence_t seq; return proxy_sequence_to_string(sequence_fill_from_gslist(&seq, proxies)); }
/** * Create a new Gnutella host vector out of a GSList of gnet_host_t items. */ gnet_host_vec_t * gnet_host_vec_from_gslist(GSList *sl) { sequence_t seq; return gnet_host_vec_from_sequence(sequence_fill_from_gslist(&seq, sl)); }