[X2Go-Commits] [x2gokdrive] 01/01: move declaration of RemoteHostVars from x2gokdriveremote.h to x2gokdriveremote.c.

git-admin at x2go.org git-admin at x2go.org
Wed Jan 20 19:35:32 CET 2021


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2gokdrive.

commit 13932a6d5c9b0a22170059a3296253d32158b112
Author: Oleksandr Shneyder <o.shneyder at phoca-gmbh.de>
Date:   Wed Jan 20 12:35:18 2021 -0600

    move declaration of RemoteHostVars from x2gokdriveremote.h to x2gokdriveremote.c.
---
 debian/changelog      | 1 +
 x2gokdriveremote.c    | 1 +
 x2gokdriveremote.h    | 2 +-
 x2gokdriveselection.c | 2 ++
 4 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 9bfc70b..a38d2b9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,6 +15,7 @@ x2gokdrive (0.0.0.1-0x2go1) UNRELEASED; urgency=medium
     - send a recive feature versions.
     - reinit client version on new connection and awaka sending thread when client version recieved.
     - support sending and recieving selections on demand. Support reading and writing INCR properties.
+    - move declaration of RemoteHostVars from x2gokdriveremote.h to x2gokdriveremote.c.
 
   [ Mihai Moldovan ]
   * Initial release:
diff --git a/x2gokdriveremote.c b/x2gokdriveremote.c
index 0fd828a..35ac570 100644
--- a/x2gokdriveremote.c
+++ b/x2gokdriveremote.c
@@ -40,6 +40,7 @@
 
 /* init it in OsInit() */
 static struct _remoteHostVars remoteVars = {0};
+struct _remoteHostVars RemoteHostVars;
 
 static BOOL remoteInitialized=FALSE;
 
diff --git a/x2gokdriveremote.h b/x2gokdriveremote.h
index 7735d0b..e87c3ab 100644
--- a/x2gokdriveremote.h
+++ b/x2gokdriveremote.h
@@ -439,7 +439,7 @@ struct _remoteHostVars
     BOOL client_initialized;
 
     struct SelectionStructure selstruct;
-} RemoteHostVars;
+} ;
 
 int send_selection_chunk(int sel, unsigned char* data, uint32_t length, uint32_t format, BOOL first, BOOL last, uint32_t compressed, uint32_t total);
 int send_output_selection(struct OutputChunk* chunk);
diff --git a/x2gokdriveselection.c b/x2gokdriveselection.c
index 0a1f8d4..e3e6857 100644
--- a/x2gokdriveselection.c
+++ b/x2gokdriveselection.c
@@ -51,6 +51,8 @@
 
 static struct _remoteHostVars *remoteVars = NULL;
 
+extern struct _remoteHostVars RemoteHostVars;
+
 //internal atoms
 static xcb_atom_t ATOM_ATOM;
 static xcb_atom_t ATOM_CLIPBOARD;

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gokdrive.git


More information about the x2go-commits mailing list