]> sjero.net Git - wget/blobdiff - src/connect.h
[svn] Convert URLs in <form action=...>.
[wget] / src / connect.h
index 8c1cb935e42807b19a229a232d7faf1362c87c43..67bc05b5454a7d45b59af8cd396b15df3ae653c6 100644 (file)
@@ -20,13 +20,20 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #ifndef CONNECT_H
 #define CONNECT_H
 
+#include "host.h"
+
 /* Function declarations */
-uerr_t make_connection PARAMS ((int *, char *, unsigned short));
+
+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));