2007-03-22 10:30:00 -07:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
|
|
|
*
|
2012-05-21 04:12:37 -07: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/. */
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
#ifndef nsSOCKSIOLayer_h__
|
2009-03-11 20:22:48 -07:00
|
|
|
#define nsSOCKSIOLayer_h__
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
#include "prtypes.h"
|
|
|
|
#include "prio.h"
|
|
|
|
#include "nscore.h"
|
|
|
|
|
2012-08-22 08:56:38 -07:00
|
|
|
nsresult nsSOCKSIOLayerAddToSocket(int32_t family,
|
2007-03-22 10:30:00 -07:00
|
|
|
const char *host,
|
2012-08-22 08:56:38 -07:00
|
|
|
int32_t port,
|
2007-03-22 10:30:00 -07:00
|
|
|
const char *proxyHost,
|
2012-08-22 08:56:38 -07:00
|
|
|
int32_t proxyPort,
|
|
|
|
int32_t socksVersion,
|
|
|
|
uint32_t flags,
|
2007-03-22 10:30:00 -07:00
|
|
|
PRFileDesc *fd,
|
|
|
|
nsISupports **info);
|
|
|
|
|
|
|
|
#endif /* nsSOCKSIOLayer_h__ */
|