X-Git-Url: http://sjero.net/git/?p=iperf;a=blobdiff_plain;f=include%2FList.h;h=326be4b5fced9bf9d3347d8599d64d233c35e425;hp=13ec44cc22c18dbc63a0986563b6c1102a8572d8;hb=a5a03e6ab0fdf9c4d7d4c085fcf01436f9ba3202;hpb=90fc1e2c0c74319759b21d4a177c32691b88fdf3 diff --git a/include/List.h b/include/List.h index 13ec44c..326be4b 100644 --- a/include/List.h +++ b/include/List.h @@ -62,8 +62,6 @@ * List handling utilities to replace STD vector */ -struct Iperf_ListEntry; - /* * A List entry that consists of a sockaddr * a pointer to the Audience that sockaddr is @@ -71,7 +69,7 @@ struct Iperf_ListEntry; * entry */ struct Iperf_ListEntry { - iperf_sockaddr data; + struct sockaddr_storage data; MultiHeader *holder; thread_Settings *server; Iperf_ListEntry *next; @@ -85,12 +83,12 @@ extern Iperf_ListEntry *clients; */ void Iperf_pushback ( Iperf_ListEntry *add, Iperf_ListEntry **root ); -void Iperf_delete ( iperf_sockaddr *del, Iperf_ListEntry **root ); +void Iperf_delete ( struct sockaddr_storage *del, Iperf_ListEntry **root ); void Iperf_destroy ( Iperf_ListEntry **root ); -Iperf_ListEntry* Iperf_present ( iperf_sockaddr *find, Iperf_ListEntry *root ); +Iperf_ListEntry* Iperf_present ( struct sockaddr_storage *find, Iperf_ListEntry *root ); -Iperf_ListEntry* Iperf_hostpresent ( iperf_sockaddr *find, Iperf_ListEntry *root ); +Iperf_ListEntry* Iperf_hostpresent ( struct sockaddr_storage *find, Iperf_ListEntry *root ); #endif