1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef SHUTDOWNLAYER_H___
8 #define SHUTDOWNLAYER_H___
16 // This is only for windows. This layer will be attached jus before PR_CLose
17 // is call and it will only call shutdown(sock).
18 extern nsresult
AttachShutdownLayer(PRFileDesc
* fd
);
21 } // namespace mozilla
23 #endif /* SHUTDOWN_H___ */