]> sourceware.org Git - newlib-cygwin.git/blob - winsup/cygserver/transport.cc
Cygwin: Drop do-nothing install_host target
[newlib-cygwin.git] / winsup / cygserver / transport.cc
1 /* transport.cc
2
3 Written by Robert Collins <rbtcollins@hotmail.com>
4
5 This file is part of Cygwin.
6
7 This software is a copyrighted work licensed under the terms of the
8 Cygwin license. Please consult the file "CYGWIN_LICENSE" for
9 details. */
10
11 /* to allow this to link into cygwin and the .dll, a little magic is needed. */
12 #ifdef __OUTSIDE_CYGWIN__
13 #include "woutsup.h"
14 #else
15 #include "winsup.h"
16 #endif
17
18 #include <sys/socket.h>
19
20 #include "transport.h"
21 #include "transport_pipes.h"
22
23 /* The factory */
24 transport_layer_base *
25 create_server_transport ()
26 {
27 return new transport_layer_pipes;
28 }
29
30 #ifndef __INSIDE_CYGWIN__
31
32 bool
33 transport_layer_base::impersonate_client ()
34 {
35 return true;
36 }
37
38 bool
39 transport_layer_base::revert_to_self ()
40 {
41 return true;
42 }
43
44 #endif /* !__INSIDE_CYGWIN__ */
45
46 transport_layer_base::~transport_layer_base ()
47 {}
This page took 0.035806 seconds and 5 git commands to generate.