summaryrefslogtreecommitdiffstats
path: root/src/VBox/GuestHost/OpenGL/include/cr_netserver.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 03:01:46 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 03:01:46 +0000
commitf8fe689a81f906d1b91bb3220acde2a4ecb14c5b (patch)
tree26484e9d7e2c67806c2d1760196ff01aaa858e8c /src/VBox/GuestHost/OpenGL/include/cr_netserver.h
parentInitial commit. (diff)
downloadvirtualbox-upstream.tar.xz
virtualbox-upstream.zip
Adding upstream version 6.0.4-dfsg.upstream/6.0.4-dfsgupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/VBox/GuestHost/OpenGL/include/cr_netserver.h')
-rw-r--r--src/VBox/GuestHost/OpenGL/include/cr_netserver.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/VBox/GuestHost/OpenGL/include/cr_netserver.h b/src/VBox/GuestHost/OpenGL/include/cr_netserver.h
new file mode 100644
index 00000000..6f80835b
--- /dev/null
+++ b/src/VBox/GuestHost/OpenGL/include/cr_netserver.h
@@ -0,0 +1,39 @@
+/* Copyright (c) 2001, Stanford University
+ * All rights reserved.
+ *
+ * See the file LICENSE.txt for information on redistributing this software.
+ */
+
+#ifndef CR_NETSERVER_H
+#define CR_NETSERVER_H
+
+#include "cr_net.h"
+
+#include <iprt/cdefs.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef struct {
+ char *name;
+ int buffer_size;
+ CRConnection *conn;
+} CRNetServer;
+
+DECLEXPORT(void) crNetServerConnect( CRNetServer *ns
+#if defined(VBOX_WITH_CRHGSMI) && defined(IN_GUEST)
+ , struct VBOXUHGSMI *pHgsmi
+#endif
+ );
+DECLEXPORT(void) crNetNewClient( CRNetServer *ns
+#if defined(VBOX_WITH_CRHGSMI) && defined(IN_GUEST)
+ , struct VBOXUHGSMI *pHgsmi
+#endif
+);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* CR_NETSERVER_H */