]>
sourceware.org Git - newlib-cygwin.git/blob - winsup/cygserver/transport.h
3 Written by Robert Collins <rbtcollins@hotmail.com>
5 This file is part of Cygwin.
7 This software is a copyrighted work licensed under the terms of the
8 Cygwin license. Please consult the file "CYGWIN_LICENSE" for
14 class transport_layer_base
*create_server_transport ();
16 class transport_layer_base
19 #ifndef __INSIDE_CYGWIN__
20 virtual int listen () = 0;
21 virtual class transport_layer_base
*accept (bool *recoverable
) = 0;
24 virtual void close () = 0;
25 virtual ssize_t
read (void *buf
, size_t len
) = 0;
26 virtual ssize_t
write (void *buf
, size_t len
) = 0;
27 virtual int connect () = 0;
29 #ifndef __INSIDE_CYGWIN__
30 virtual bool impersonate_client ();
31 virtual bool revert_to_self ();
34 virtual ~transport_layer_base ();
37 #endif /* _TRANSPORT_H */
This page took 0.035661 seconds and 5 git commands to generate.