2 * CNTLM is free software; you can redistribute it and/or modify it under the
3 * terms of the GNU General Public License as published by the Free Software
4 * Foundation; either version 2 of the License, or (at your option) any later
7 * CNTLM is distributed in the hope that it will be useful, but WITHOUT ANY
8 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
9 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
12 * You should have received a copy of the GNU General Public License along with
13 * this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
14 * St, Fifth Floor, Boston, MA 02110-1301, USA.
16 * Copyright (c) 2007 David Kubicek
26 extern int proxy_connect(struct auth_s
*credentials
);
27 extern int proxy_authenticate(int *sd
, rr_data_t request
, rr_data_t response
, struct auth_s
*creds
);
28 extern int prepare_http_connect(int sd
, struct auth_s
*credentials
, const char *thost
);
29 extern rr_data_t
forward_request(void *cdata
, rr_data_t request
);
30 extern void forward_tunnel(void *thread_data
);
31 extern void magic_auth_detect(const char *url
);
33 #endif /* _FORWARD_H */