release 0.92.3
[cntlm.git] / direct.h
blob3aa59420abfe4b50c522dc724e0f93f868983399
1 /*
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
5 * version.
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
10 * details.
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
20 #ifndef _DIRECT_H
21 #define _DIRECT_H
23 #include "utils.h"
25 extern int host_connect(const char *hostname, int port);
26 extern rr_data_t direct_request(void *cdata, rr_data_t request);
27 extern void direct_tunnel(void *thread_data);
29 #endif /* _DIRECT_H */