]>
sourceware.org Git - newlib-cygwin.git/blob - winsup/cygserver/transport.h
3 Copyright 2001, 2002, 2003, 2004 Red Hat Inc.
5 Written by Robert Collins <rbtcollins@hotmail.com>
7 This file is part of Cygwin.
9 This software is a copyrighted work licensed under the terms of the
10 Cygwin license. Please consult the file "CYGWIN_LICENSE" for
16 class transport_layer_base
*create_server_transport ();
18 class transport_layer_base
21 #ifndef __INSIDE_CYGWIN__
22 virtual int listen () = 0;
23 virtual class transport_layer_base
*accept (bool *recoverable
) = 0;
26 virtual void close () = 0;
27 virtual ssize_t
read (void *buf
, size_t len
) = 0;
28 virtual ssize_t
write (void *buf
, size_t len
) = 0;
29 virtual int connect () = 0;
31 #ifndef __INSIDE_CYGWIN__
32 virtual bool impersonate_client ();
33 virtual bool revert_to_self ();
36 virtual ~transport_layer_base ();
39 #endif /* _TRANSPORT_H */
This page took 0.083491 seconds and 5 git commands to generate.