2000-07-01 10:25:25 +00:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
2000-06-16 17:53:22 +00:00
|
|
|
*
|
2012-05-21 11:12:37 +00:00
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2000-06-16 17:53:22 +00:00
|
|
|
|
2003-09-11 20:32:33 +00:00
|
|
|
#ifndef nsSOCKSIOLayer_h__
|
2009-03-12 03:22:48 +00:00
|
|
|
#define nsSOCKSIOLayer_h__
|
2000-06-16 17:53:22 +00:00
|
|
|
|
|
|
|
#include "prio.h"
|
2003-09-11 20:32:33 +00:00
|
|
|
#include "nscore.h"
|
2000-06-16 17:53:22 +00:00
|
|
|
|
2012-08-22 15:56:38 +00:00
|
|
|
nsresult nsSOCKSIOLayerAddToSocket(int32_t family,
|
2004-12-16 02:46:12 +00:00
|
|
|
const char *host,
|
2012-08-22 15:56:38 +00:00
|
|
|
int32_t port,
|
2004-12-16 02:46:12 +00:00
|
|
|
const char *proxyHost,
|
2012-08-22 15:56:38 +00:00
|
|
|
int32_t proxyPort,
|
|
|
|
int32_t socksVersion,
|
|
|
|
uint32_t flags,
|
2004-12-16 02:46:12 +00:00
|
|
|
PRFileDesc *fd,
|
2000-07-01 10:25:25 +00:00
|
|
|
nsISupports **info);
|
2000-06-16 17:53:22 +00:00
|
|
|
|
2003-09-11 20:32:33 +00:00
|
|
|
#endif /* nsSOCKSIOLayer_h__ */
|