1 | /* Copyright (c) 2001, Stanford University
|
---|
2 | * All rights reserved.
|
---|
3 | *
|
---|
4 | * See the file LICENSE.txt for information on redistributing this software.
|
---|
5 | */
|
---|
6 |
|
---|
7 | #ifndef CR_NETSERVER_H
|
---|
8 | #define CR_NETSERVER_H
|
---|
9 |
|
---|
10 | #include "cr_net.h"
|
---|
11 |
|
---|
12 | #include <iprt/cdefs.h>
|
---|
13 |
|
---|
14 | #ifdef __cplusplus
|
---|
15 | extern "C" {
|
---|
16 | #endif
|
---|
17 |
|
---|
18 | typedef struct {
|
---|
19 | char *name;
|
---|
20 | int buffer_size;
|
---|
21 | CRConnection *conn;
|
---|
22 | } CRNetServer;
|
---|
23 |
|
---|
24 | DECLEXPORT(void) crNetServerConnect( CRNetServer *ns
|
---|
25 | #if defined(VBOX_WITH_CRHGSMI) && defined(IN_GUEST)
|
---|
26 | , struct VBOXUHGSMI *pHgsmi
|
---|
27 | #endif
|
---|
28 | );
|
---|
29 | DECLEXPORT(void) crNetNewClient( CRNetServer *ns
|
---|
30 | #if defined(VBOX_WITH_CRHGSMI) && defined(IN_GUEST)
|
---|
31 | , struct VBOXUHGSMI *pHgsmi
|
---|
32 | #endif
|
---|
33 | );
|
---|
34 |
|
---|
35 | #ifdef __cplusplus
|
---|
36 | }
|
---|
37 | #endif
|
---|
38 |
|
---|
39 | #endif /* CR_NETSERVER_H */
|
---|