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