author Bobby Holley <>
Wed, 13 May 2015 18:25:40 -0700
changeset 244427 f2bb0908e1f97b4b0a1fc78a0c315c8256448a50
parent 151304 fb616f657c4cb091f50c434c800f7e08ff256867
child 274108 76cee391a698d2dcea75600b34fc04ddff7ea000
permissions -rw-r--r--
Bug 1164977 - Hoist all the app attribute handling into BasePrincipal. r=gabor

/* -*- 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 */

#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__ */