[X2Go-Commits] [libx2goclient] 16/18: src/x2goclient-network-ssh.{c, h}: move error helpers to header file to make it public.

git-admin at x2go.org git-admin at x2go.org
Mon Aug 19 15:47:04 CEST 2019


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

x2go pushed a commit to branch master
in repository libx2goclient.

commit 2079b54ba212842db2c94bd1c1a0fb9e77508d33
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Mon Aug 19 15:38:04 2019 +0200

    src/x2goclient-network-ssh.{c,h}: move error helpers to header file to make it public.
---
 src/x2goclient-network-ssh.c | 13 -------------
 src/x2goclient-network-ssh.h | 13 +++++++++++++
 2 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/src/x2goclient-network-ssh.c b/src/x2goclient-network-ssh.c
index edf50ba..ca9a673 100644
--- a/src/x2goclient-network-ssh.c
+++ b/src/x2goclient-network-ssh.c
@@ -47,19 +47,6 @@
 #include "x2goclient-network-ssh.h"
 
 
-/*
- * Error handling helpers.
- */
-#define X2GOCLIENT_NETWORK_SSH_ERROR g_quark_from_static_string ("x2goclient-network-ssh")
-
-enum {
-  X2GOCLIENT_NETWORK_SSH_ERROR_PORT_CONV = 0,
-  X2GOCLIENT_NETWORK_SSH_ERROR_IPV6_CONV,
-  X2GOCLIENT_NETWORK_SSH_ERROR_IPV4_CONV,
-  X2GOCLIENT_NETWORK_SSH_ERROR_ALIAS_CONV
-};
-
-
 struct _X2GoClientNetworkOptionsSSH {
   X2GoClientNetworkOptions parent_instance;
 
diff --git a/src/x2goclient-network-ssh.h b/src/x2goclient-network-ssh.h
index 343238f..3eea2a4 100644
--- a/src/x2goclient-network-ssh.h
+++ b/src/x2goclient-network-ssh.h
@@ -41,6 +41,19 @@ G_DECLARE_FINAL_TYPE (X2GoClientNetworkSSH, x2goclient_network_ssh, X2GOCLIENT,
 
 X2GoClientNetworkSSH* x2goclient_network_ssh_new (const gchar *session_path);
 
+/*
+ * Error handling helpers.
+ */
+#define X2GOCLIENT_NETWORK_SSH_ERROR g_quark_from_static_string ("x2goclient-network-ssh")
+
+enum {
+  X2GOCLIENT_NETWORK_SSH_ERROR_PORT_CONV = 0,
+  X2GOCLIENT_NETWORK_SSH_ERROR_IPV6_CONV,
+  X2GOCLIENT_NETWORK_SSH_ERROR_IPV4_CONV,
+  X2GOCLIENT_NETWORK_SSH_ERROR_ALIAS_CONV
+};
+
+
 gboolean x2goclient_network_ssh_connect (X2GoClientNetworkSSH *self, GError **gerr);
 
 G_END_DECLS

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


More information about the x2go-commits mailing list