netwerk/socket/nsSOCKSIOLayer.h
author B2G Bumper Bot <release+b2gbumper@mozilla.com>
Fri, 16 Oct 2015 16:33:13 -0700
changeset 303381 d55ff2f82700ecfdc1b17f2a21220796fa2b98b5
parent 166117 fb616f657c4cb091f50c434c800f7e08ff256867
child 310172 76cee391a698d2dcea75600b34fc04ddff7ea000
permissions -rw-r--r--
Bumping manifests a=b2g-bump

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
 *
 * 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/. */

#ifndef nsSOCKSIOLayer_h__
#define nsSOCKSIOLayer_h__

#include "prio.h"
#include "nscore.h"

nsresult nsSOCKSIOLayerAddToSocket(int32_t       family,
                                   const char   *host, 
                                   int32_t       port,
                                   const char   *proxyHost,
                                   int32_t       proxyPort,
                                   int32_t       socksVersion,
                                   uint32_t      flags,
                                   PRFileDesc   *fd, 
                                   nsISupports **info);

#endif /* nsSOCKSIOLayer_h__ */