-extern int forwarded_connect(const struct forward_spec * fwd,
- struct http_request *http,
- struct client_state *csp);
+extern jb_socket forwarded_connect(const struct forward_spec *fwd,
+ struct http_request *http,
+ struct client_state *csp);
+
+#ifdef FEATURE_CONNECTION_SHARING
+extern void initialize_reusable_connections(void);
+extern void forget_connection(jb_socket sfd);
+extern void remember_connection(const struct reusable_connection *connection);
+extern int close_unusable_connections(void);
+#endif /* FEATURE_CONNECTION_SHARING */