Bug 1909613 - Enable <details name=''> everywhere, r=emilio
[gecko.git] / netwerk / base / ShutdownLayer.h
blob2bf68fdcdc9f836d644a9970b7ef772dde3c1ea8
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___
10 #include "nscore.h"
11 #include "prio.h"
13 namespace mozilla {
14 namespace net {
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);
20 } // namespace net
21 } // namespace mozilla
23 #endif /* SHUTDOWN_H___ */