Backed out changeset 5669c20b0617 (bug 1903669) for causing crashtest failures on...
[gecko.git] / netwerk / socket / nsSOCKSIOLayer.h
blob576c96ea7f5404241c0c17744734df626b293dba
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__
10 #include "prio.h"
11 #include "nscore.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__ */