X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fconnect.h;h=4b637ea0e5a18738bab71ec205838402afede2d7;hp=1c378ddb95d96f14568afcd0918a423d38fb85e9;hb=cb4003403509b46d2f6ef6936baf969906ff1430;hpb=024cb5ed3a0263775bc750b06bca74c91b389d2d diff --git a/src/connect.h b/src/connect.h index 1c378ddb..4b637ea0 100644 --- a/src/connect.h +++ b/src/connect.h @@ -24,14 +24,16 @@ struct address_list; /* Function declarations */ +int connect_to_one PARAMS ((ip_address *, unsigned short, int)); int connect_to_many PARAMS ((struct address_list *, unsigned short, int)); void set_connection_host_name PARAMS ((const char *)); int test_socket_open PARAMS ((int)); -uerr_t bindport PARAMS ((unsigned short *)); +int select_fd PARAMS ((int, int, int)); +uerr_t bindport PARAMS ((unsigned short *, int)); uerr_t acceptport PARAMS ((int *)); void closeport PARAMS ((int)); -unsigned char *conaddr PARAMS ((int)); +int conaddr PARAMS ((int, ip_address *)); int iread PARAMS ((int, char *, int)); int iwrite PARAMS ((int, char *, int));