author Henri Sivonen <>
Tue, 06 Nov 2012 13:57:51 +0200
changeset 112406 12288a8a5037d6389ac228d2972b1219102dfd7d
parent 102997 a16372ce30b5f6b747246b01fcd215a4bf3b6342
child 151350 fb616f657c4cb091f50c434c800f7e08ff256867
permissions -rw-r--r--
Bug 716579 - Let a BOM override HTTP-level charset in the HTML and XML parsers. r=smaug.

/* -*- 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 "prtypes.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__ */