1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 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/. */
7 #ifndef nsSOCKSIOLayer_h__
8 #define nsSOCKSIOLayer_h__
12 #include "nsIProxyInfo.h"
14 nsresult
nsSOCKSIOLayerAddToSocket(int32_t family
, const char* host
,
15 int32_t port
, nsIProxyInfo
* proxyInfo
,
16 int32_t socksVersion
, uint32_t flags
,
17 uint32_t tlsFlags
, PRFileDesc
* fd
);
19 bool IsHostLocalTarget(const nsACString
& aHost
);
21 #endif /* nsSOCKSIOLayer_h__ */