|
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- |
|
2 * |
|
3 * This Source Code Form is subject to the terms of the Mozilla Public |
|
4 * License, v. 2.0. If a copy of the MPL was not distributed with this |
|
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
6 |
|
7 #ifndef nsSOCKSIOLayer_h__ |
|
8 #define nsSOCKSIOLayer_h__ |
|
9 |
|
10 #include "prio.h" |
|
11 #include "nscore.h" |
|
12 #include "nsIProxyInfo.h" |
|
13 |
|
14 nsresult nsSOCKSIOLayerAddToSocket(int32_t family, |
|
15 const char *host, |
|
16 int32_t port, |
|
17 nsIProxyInfo *proxyInfo, |
|
18 int32_t socksVersion, |
|
19 uint32_t flags, |
|
20 PRFileDesc *fd, |
|
21 nsISupports **info); |
|
22 |
|
23 #endif /* nsSOCKSIOLayer_h__ */ |