michael@0: /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- michael@0: * michael@0: * This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef nsSOCKSIOLayer_h__ michael@0: #define nsSOCKSIOLayer_h__ michael@0: michael@0: #include "prio.h" michael@0: #include "nscore.h" michael@0: #include "nsIProxyInfo.h" michael@0: michael@0: nsresult nsSOCKSIOLayerAddToSocket(int32_t family, michael@0: const char *host, michael@0: int32_t port, michael@0: nsIProxyInfo *proxyInfo, michael@0: int32_t socksVersion, michael@0: uint32_t flags, michael@0: PRFileDesc *fd, michael@0: nsISupports **info); michael@0: michael@0: #endif /* nsSOCKSIOLayer_h__ */