[X2Go-Commits] [libx2goclient] 78/132: src/x2goclient-{network{.c, -network.{c, h}}, {openssh-{bugs, version}, utils}.{c, h}}: switch to current version 0.0.0.
git-admin at x2go.org
git-admin at x2go.org
Fri Dec 3 15:26:32 CET 2021
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository libx2goclient.
commit 35e3b09e1868a1410e322beea0af9aaeed1d27d9
Author: Mihai Moldovan <ionic at ionic.de>
Date: Thu Jun 17 13:16:58 2021 +0200
src/x2goclient-{network{.c,-network.{c,h}},{openssh-{bugs,version},utils}.{c,h}}: switch to current version 0.0.0.
---
src/x2goclient-network-ssh.c | 60 ++++++++++++++++++++--------------------
src/x2goclient-network-ssh.h | 2 +-
src/x2goclient-network.c | 26 ++++++++---------
src/x2goclient-openssh-bugs.c | 4 +--
src/x2goclient-openssh-bugs.h | 2 +-
src/x2goclient-openssh-version.c | 24 ++++++++--------
src/x2goclient-openssh-version.h | 2 +-
src/x2goclient-utils.c | 8 +++---
src/x2goclient-utils.h | 6 ++--
9 files changed, 67 insertions(+), 67 deletions(-)
diff --git a/src/x2goclient-network-ssh.c b/src/x2goclient-network-ssh.c
index 73f1caa..7d88969 100644
--- a/src/x2goclient-network-ssh.c
+++ b/src/x2goclient-network-ssh.c
@@ -95,7 +95,7 @@ static void x2goclient_network_options_ssh_init (X2GoClientNetworkOptionsSSH * c
* result as a #GPtrArray. %NULL
* on error.
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
GPtrArray* x2goclient_network_options_ssh_to_array (X2GoClientNetworkOptionsSSH * const self) {
GPtrArray *ret = NULL;
@@ -128,7 +128,7 @@ GPtrArray* x2goclient_network_options_ssh_to_array (X2GoClientNetworkOptionsSSH
* This type should be private to our implementation and not be used in outer
* code.
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
typedef struct sockaddr_ho_ {
sa_family_t sho_family;
@@ -153,7 +153,7 @@ typedef struct sockaddr_ho_ {
* kernel updates, but on other operating systems, other components might
* influence this.)
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
#define AF_HOST 10417
@@ -210,7 +210,7 @@ G_DEFINE_TYPE (X2GoClientNetworkSSH, x2goclient_network_ssh, X2GOCLIENT_TYPE_NET
*
* Data structure used to pass common data to the timeout checking thread.
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
struct x2goclient_network_ssh_check_timeout_data {
X2GoClientNetworkSSH *self;
@@ -274,7 +274,7 @@ static void x2goclient_network_ssh_class_init (X2GoClientNetworkSSHClass * const
*
* See also x2goclient_network_ssh_fetch_openssh_version().
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
net_ssh_obj_properties[X2GO_NET_SSH_PROP_OPENSSH_VERSION] = g_param_spec_boxed ("openssh-version", _("Parsed OpenSSH version number"),
_("The OpenSSH client version number, parsed in a custom "
@@ -291,7 +291,7 @@ static void x2goclient_network_ssh_class_init (X2GoClientNetworkSSHClass * const
*
* See also x2goclient_openssh_bugs_update().
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
net_ssh_obj_properties[X2GO_NET_SSH_PROP_OPENSSH_BUGS] = g_param_spec_boxed ("openssh-bugs", _("Bug quirks structure for OpenSSH Client"),
_("A structure containing quirks bits for known OpenSSH Client "
@@ -453,7 +453,7 @@ static void x2goclient_network_ssh_get_property (GObject * const object, const g
* #GSocketAddress. %NULL if the function believes
* that the passed @socketspec is not a UNIX socket.
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
static GSocketAddress* x2goclient_network_ssh_parse_sockspec_unix_socket (const GString * const sockspec) {
GSocketAddress *ret = NULL;
@@ -516,7 +516,7 @@ static GSocketAddress* x2goclient_network_ssh_parse_sockspec_unix_socket (const
* Returns: (transfer full): the #guint16 value corresponding to the parsed
* port. On parsing errors, returns 0.
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
static guint16 x2goclient_network_ssh_parse_sockspec_port (const GString * const portspec, GError ** const gerr) {
guint16 ret = 0;
@@ -581,7 +581,7 @@ static guint16 x2goclient_network_ssh_parse_sockspec_port (const GString * const
* the returned data will always be a copy of the
* input data.
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
static GString* x2goclient_network_ssh_sanitize_sockspec (const GString * const sockspec) {
GString *ret = NULL;
@@ -651,7 +651,7 @@ static GString* x2goclient_network_ssh_sanitize_sockspec (const GString * const
* parsed result if successful, %NULL on error,
* potentially with @gerr populated if provided.
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
static GSocketAddress* x2goclient_network_ssh_parse_sockspec_ip (const GString * const sockspec, const gboolean want_v6, GError ** const gerr) {
GSocketAddress *ret = NULL;
@@ -851,7 +851,7 @@ static GSocketAddress* x2goclient_network_ssh_parse_sockspec_ip (const GString *
* parsed result if successful, %NULL on error,
* potentially with @gerr populated if provided.
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
static GSocketAddress* x2goclient_network_ssh_parse_sockspec_alias (const GString * const sockspec, GError ** const gerr) {
GSocketAddress *ret = NULL;
@@ -972,7 +972,7 @@ static GSocketAddress* x2goclient_network_ssh_parse_sockspec_alias (const GStrin
* Returns: (transfer full): a pointer to a #GSocketAddress containing the
* parsed result if successful, %NULL on error.
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
static GSocketAddress* x2goclient_network_ssh_parse_sockspec (X2GoClientNetwork * const parent, const GString * const sockspec) {
GSocketAddress *ret = NULL;
@@ -1058,7 +1058,7 @@ static GSocketAddress* x2goclient_network_ssh_parse_sockspec (X2GoClientNetwork
* Returns: (transfer full): a #gboolean value indicating success (%TRUE) or
* failure (%FALSE).
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
static gboolean x2goclient_network_ssh_kill_subprocesses (X2GoClientNetworkSSH * const self) {
gboolean ret = FALSE;
@@ -1173,7 +1173,7 @@ static gboolean x2goclient_network_ssh_kill_subprocesses (X2GoClientNetworkSSH *
*
* Returns: a #gboolean value indicating success (%TRUE) or failure (%FALSE).
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
gboolean x2goclient_network_ssh_connect (X2GoClientNetworkSSH * const self, GError ** const gerr) {
gboolean ret = FALSE;
@@ -1231,7 +1231,7 @@ gboolean x2goclient_network_ssh_connect (X2GoClientNetworkSSH * const self, GErr
* Returns: (transfer full): a #gboolean value indicating success (%TRUE) or
* failure (%FALSE).
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
static gboolean x2goclient_network_ssh_parent_connect (X2GoClientNetwork * const parent, GError ** const gerr) {
gboolean ret = FALSE;
@@ -1412,7 +1412,7 @@ static gboolean x2goclient_network_ssh_parent_connect (X2GoClientNetwork * const
*
* Returns: a #gboolean value indicating success (%TRUE) or failure (%FALSE).
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
gboolean x2goclient_network_ssh_disconnect (X2GoClientNetworkSSH * const self, GError ** const gerr) {
gboolean ret = FALSE;
@@ -1471,7 +1471,7 @@ gboolean x2goclient_network_ssh_disconnect (X2GoClientNetworkSSH * const self, G
* Returns: (transfer full): a #gboolean value indicating success (%TRUE) or
* failure (%FALSE).
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
static gboolean x2goclient_network_ssh_parent_disconnect (X2GoClientNetwork * const parent, GError ** const gerr) {
gboolean ret = FALSE;
@@ -1547,7 +1547,7 @@ static gboolean x2goclient_network_ssh_parent_disconnect (X2GoClientNetwork * co
* Returns: (transfer full): a #gboolean value indicating success (%TRUE) or
* failure (%FALSE).
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
static gboolean x2goclient_network_ssh_fetch_openssh_version (X2GoClientNetworkSSH * const self, GError ** const gerr) {
gboolean ret = FALSE;
@@ -1598,7 +1598,7 @@ static gboolean x2goclient_network_ssh_fetch_openssh_version (X2GoClientNetworkS
* each additional part prepended with a <literal>(continuation)</literal>
* message.
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
static void x2goclient_network_ssh_log_std_str (const gchar * const str, const gsize str_size, const _Bool select_stderr) {
/*
@@ -1670,7 +1670,7 @@ static void x2goclient_network_ssh_log_std_str (const gchar * const str, const g
* Returns: (transfer full): a #gboolean value indicating success (%TRUE) or
* failure (%FALSE).
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
static gboolean x2goclient_network_ssh_gptrarray_to_string (GPtrArray * const arr, const gchar * const prelude, gchar ** const ret_str) {
#define SIZE_LOW_WRAP(buffer_size, elem_size) ((G_MAXSIZE - (buffer_size)) < ((elem_size)))
@@ -1830,7 +1830,7 @@ static gboolean x2goclient_network_ssh_gptrarray_to_string (GPtrArray * const ar
* x2goclient_network_ssh_gptrarray_to_string(), refer to that function to
* determine acceptable parameters for @arr.
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
static void x2goclient_network_ssh_gptrarray_print_debug (GPtrArray * const arr, const gchar * const prelude, const gchar * const desc) {
gchar *arr_str = NULL;
@@ -1878,7 +1878,7 @@ static void x2goclient_network_ssh_gptrarray_print_debug (GPtrArray * const arr,
* Returns: (transfer full): a #gboolean value indicating success (%TRUE) or
* failure (%FALSE).
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
static gboolean x2goclient_network_ssh_sshcmd_add_host_port (X2GoClientNetworkSSH * const self, GPtrArray * const ssh_cmd, GError ** const gerr) {
gboolean ret = FALSE;
@@ -1999,7 +1999,7 @@ static gboolean x2goclient_network_ssh_sshcmd_add_host_port (X2GoClientNetworkSS
* Returns: (transfer full): a #gboolean value indicating success (%TRUE) or
* failure (%FALSE).
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
static gboolean x2goclient_network_ssh_start_sshcmd (X2GoClientNetworkSSH * const self, const GPtrArray * const ssh_cmd, GError ** const gerr, const gboolean master) {
gboolean ret = FALSE;
@@ -2140,7 +2140,7 @@ static gboolean x2goclient_network_ssh_start_sshcmd (X2GoClientNetworkSSH * cons
* While a %NULL input is supported, avoid that, since it will essentially
* degrade into a no-op with additional overhead.
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
static void x2goclient_network_ssh_check_timeout_data_free (struct x2goclient_network_ssh_check_timeout_data * const data) {
/* No need to clear any data within the structure. */
@@ -2168,7 +2168,7 @@ static void x2goclient_network_ssh_check_timeout_data_free (struct x2goclient_ne
* Returns: (transfer full): a #gpointer to... something. Currently always
* %NULL.
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
static gpointer x2goclient_network_ssh_check_timeout_thread_main (const gpointer user_data) {
gpointer ret = NULL;
@@ -2228,7 +2228,7 @@ static gpointer x2goclient_network_ssh_check_timeout_thread_main (const gpointer
* Returns: (transfer full): a #gboolean value indicating success (%TRUE) or
* failure (%FALSE).
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
static gboolean x2goclient_network_ssh_start_check_timeout (X2GoClientNetworkSSH * const self, GError ** const gerr) {
gboolean ret = FALSE;
@@ -2264,7 +2264,7 @@ static gboolean x2goclient_network_ssh_start_check_timeout (X2GoClientNetworkSSH
*
* This function will execute in the main thread.
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
static void x2goclient_network_ssh_start_check_timeout_invoke (X2GoClientNetworkSSH * const self, GError ** const gerr) {
g_return_if_fail (X2GOCLIENT_IS_NETWORK_SSH (self));
@@ -2292,7 +2292,7 @@ static void x2goclient_network_ssh_start_check_timeout_invoke (X2GoClientNetwork
* Returns: (transfer full): a #gboolean value indicating success (%TRUE) or
* failure (%FALSE).
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
static gboolean x2goclient_network_ssh_start_check_timeout_unwrap (const gpointer user_data) {
gboolean ret = G_SOURCE_CONTINUE;
@@ -2322,7 +2322,7 @@ static gboolean x2goclient_network_ssh_start_check_timeout_unwrap (const gpointe
* Returns: (transfer full): a #gboolean value indicating success (%TRUE) or
* failure (%FALSE).
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
static gboolean x2goclient_network_ssh_start_check_timeout_real (X2GoClientNetworkSSH * const self, GError ** const gerr) {
gboolean ret = FALSE;
@@ -2386,7 +2386,7 @@ static gboolean x2goclient_network_ssh_start_check_timeout_real (X2GoClientNetwo
* Returns: (transfer full): a #gboolean value indicating success (%TRUE) or
* failure (%FALSE).
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
static gboolean x2goclient_network_ssh_check_timeout (const gpointer data) {
gboolean ret = FALSE;
diff --git a/src/x2goclient-network-ssh.h b/src/x2goclient-network-ssh.h
index 7100883..cdec7ba 100644
--- a/src/x2goclient-network-ssh.h
+++ b/src/x2goclient-network-ssh.h
@@ -114,7 +114,7 @@ X2GoClientNetworkSSH* x2goclient_network_ssh_new (const gchar * const session_pa
* Error message types as used within X2GoClientNetworkSSH. May be passed out
* via #GError instances.
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
enum X2GoClientNetworkSSHErrors {
X2GOCLIENT_NETWORK_SSH_ERROR_PORT_CONV_NOT_NUMERIC = 0,
diff --git a/src/x2goclient-network.c b/src/x2goclient-network.c
index 67d1d8a..7330090 100644
--- a/src/x2goclient-network.c
+++ b/src/x2goclient-network.c
@@ -49,7 +49,7 @@
* An example of a more concrete implementation is
* #X2GoClientNetworkOptionsSSH.
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
/* Not sure if we need this, so comment out for now. */
@@ -82,7 +82,7 @@ static void x2goclient_network_options_init (X2GoClientNetworkOptions * const se
*
* An example of a more concrete implementation is #X2GoClientNetworkSSH.
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
/**
@@ -91,7 +91,7 @@ static void x2goclient_network_options_init (X2GoClientNetworkOptions * const se
* #X2GoClientNetwork is an opaque data structure and can only be accessed
* using the following functions.
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
typedef struct X2GoClientNetworkPrivate_ {
@@ -169,7 +169,7 @@ static void x2goclient_network_class_init (X2GoClientNetworkClass * const klass)
*
* See also x2goclient_network_parse_sockspec().
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
net_obj_properties[X2GO_NET_PROP_SOCKET_SPEC] = g_param_spec_boxed ("socket-spec", _("Low-level socket string specification"),
_("String specification for the low-level socket network "
@@ -193,7 +193,7 @@ static void x2goclient_network_class_init (X2GoClientNetworkClass * const klass)
*
* FIXME: the "local part" as described here is not implemented.
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
net_obj_properties[X2GO_NET_PROP_SOCKET] = g_param_spec_object ("socket", _("Low-level socket"),
_("Low-level socket for the network connection, the local "
@@ -208,7 +208,7 @@ static void x2goclient_network_class_init (X2GoClientNetworkClass * const klass)
*
* Can be %NULL if not set previously.
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
net_obj_properties[X2GO_NET_PROP_OPTIONS] = g_param_spec_object ("options", _("Socket options"),
_("Specific socket options."),
@@ -225,7 +225,7 @@ static void x2goclient_network_class_init (X2GoClientNetworkClass * const klass)
* It can only be set at the object's creation time and is immutable
* following the constructions.
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
net_obj_properties[X2GO_NET_PROP_SESSION_PATH] = g_param_spec_string ("session-path", _("Base path to session data"),
_("The file system path that will be used as the "
@@ -244,7 +244,7 @@ static void x2goclient_network_class_init (X2GoClientNetworkClass * const klass)
*
* It is read-only.
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
net_obj_properties[X2GO_NET_PROP_CONNECTED] = g_param_spec_boolean ("connected", _("Boolean for connected state"),
_("Boolean value denoting whether a connection has "
@@ -265,7 +265,7 @@ static void x2goclient_network_class_init (X2GoClientNetworkClass * const klass)
* This property transfers ownership of the wrapping pointer - i.e., the
* data returned by it - to the caller, who is responsible for freeing it.
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
net_obj_properties[X2GO_NET_PROP_CONN_FUNC] = g_param_spec_pointer ("connect-function",
_("Pointer to a pointer to this instance's connect function; "
@@ -289,7 +289,7 @@ static void x2goclient_network_class_init (X2GoClientNetworkClass * const klass)
* This property transfers ownership of the wrapping pointer - i.e., the
* data returned by it - to the caller, who is responsible for freeing it.
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
net_obj_properties[X2GO_NET_PROP_DISCONN_FUNC] = g_param_spec_pointer ("disconnect-function",
_("Pointer to a pointer to this instance's disconnect function; "
@@ -353,7 +353,7 @@ static void x2goclient_network_finalize (GObject * const object) {
* #GSocketAddress. %NULL on error or if no parsing
* function has been set.
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
static GSocketAddress* x2goclient_network_parse_sockspec (X2GoClientNetwork * const self, const GString * const sockspec) {
GSocketAddress *ret = NULL;
@@ -385,7 +385,7 @@ static GSocketAddress* x2goclient_network_parse_sockspec (X2GoClientNetwork * co
* Returns: %TRUE if the connection was established successful or it is
* already running, %FALSE on error.
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
gboolean x2goclient_network_connect (X2GoClientNetwork * const self, GError ** const gerr) {
gboolean ret = FALSE;
@@ -426,7 +426,7 @@ gboolean x2goclient_network_connect (X2GoClientNetwork * const self, GError ** c
* Returns: %TRUE if the connection was successfully destroyed or there was
* none to begin with, %FALSE on error.
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
gboolean x2goclient_network_disconnect (X2GoClientNetwork * const self, GError ** const gerr) {
gboolean ret = FALSE;
diff --git a/src/x2goclient-openssh-bugs.c b/src/x2goclient-openssh-bugs.c
index 73b289f..a16f6f6 100644
--- a/src/x2goclient-openssh-bugs.c
+++ b/src/x2goclient-openssh-bugs.c
@@ -44,7 +44,7 @@
* influence the behavior of this library (and, if needed, can also be
* extended to other known bugs influencing applications using this library).
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
X2GoClientOpenSSHBugs* x2goclient_openssh_bugs_new (void) {
@@ -83,7 +83,7 @@ G_DEFINE_BOXED_TYPE (X2GoClientOpenSSHBugs, x2goclient_openssh_bugs, &x2goclient
*
* Returns: a #gboolean value indicating success (%TRUE) or failure (%FALSE).
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
gboolean x2goclient_openssh_bugs_update (X2GoClientOpenSSHBugs * const self, const X2GoClientOpenSSHVersion * const version, GError ** const gerr) {
gboolean ret = FALSE;
diff --git a/src/x2goclient-openssh-bugs.h b/src/x2goclient-openssh-bugs.h
index 488b854..c26ce25 100644
--- a/src/x2goclient-openssh-bugs.h
+++ b/src/x2goclient-openssh-bugs.h
@@ -81,7 +81,7 @@ gboolean x2goclient_openssh_bugs_update (X2GoClientOpenSSHBugs * const self, con
* Error message types as used within #X2GoClientOpenSSHBugs. May be passed
* out via #GError instances.
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
enum X2GoClientOpenSSHBugsErrors {
X2GOCLIENT_OPENSSH_BUGS_ERROR_INVALID_STRUCT = 0,
diff --git a/src/x2goclient-openssh-version.c b/src/x2goclient-openssh-version.c
index 447d60c..ce23373 100644
--- a/src/x2goclient-openssh-version.c
+++ b/src/x2goclient-openssh-version.c
@@ -48,7 +48,7 @@
* necessary functions to parse an OpenSSH client version string as printed by
* the OpenSSH client when calling it with the <option>-V</option> option.
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
X2GoClientOpenSSHVersion* x2goclient_openssh_version_new (void) {
@@ -77,7 +77,7 @@ G_DEFINE_BOXED_TYPE (X2GoClientOpenSSHVersion, x2goclient_openssh_version, &x2go
*
* Expands into the error quark of this class.
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
#define ERROR_QUARK EXPAND(X2GOCLIENT_OPENSSH_VERSION_ERROR)
@@ -92,7 +92,7 @@ G_DEFINE_BOXED_TYPE (X2GoClientOpenSSHVersion, x2goclient_openssh_version, &x2go
* Expands to a error macro produced by concatenating the
* three arguments with underscores as separators.
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
#define GENERATE_ERROR_(preamble, component, error) preamble ## _ ## component ## _ ## error
@@ -106,7 +106,7 @@ G_DEFINE_BOXED_TYPE (X2GoClientOpenSSHVersion, x2goclient_openssh_version, &x2go
* Wrapper hard-coding the preamble and passing the other arguments to
* GENERATE_ERROR().
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
#define GENERATE_ERROR(component, error) GENERATE_ERROR_ (X2GOCLIENT_OPENSSH_VERSION_ERROR, component, error)
@@ -119,7 +119,7 @@ G_DEFINE_BOXED_TYPE (X2GoClientOpenSSHVersion, x2goclient_openssh_version, &x2go
* Generates an error message by stringifying the @component and prepending it
* to the actual error message @msg, set apart by a space.
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
#define GENERATE_ERROR_MSG_(component, msg) #component " " msg
@@ -142,7 +142,7 @@ G_DEFINE_BOXED_TYPE (X2GoClientOpenSSHVersion, x2goclient_openssh_version, &x2go
* The actual error message is generated by passing the mapped component and
* error message down to GENERATE_ERROR_MSG_().
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
#define GENERATE_ERROR_MSG(out_var, idx_var, msg) \
do {\
@@ -180,7 +180,7 @@ G_DEFINE_BOXED_TYPE (X2GoClientOpenSSHVersion, x2goclient_openssh_version, &x2go
* The actual error code/constant is generated by passing the mapped component
* and error code/constant down to GENERATE_ERROR().
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
#define GENERATE_ERROR_CODE(out_var, idx_var, error) \
do {\
@@ -222,7 +222,7 @@ G_DEFINE_BOXED_TYPE (X2GoClientOpenSSHVersion, x2goclient_openssh_version, &x2go
* X2GOCLIENT_CHECK_TYPE_TYPEOF(). The caveats described for the other macros
* apply here as well.
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
#define SET_VER_COMPONENT(ver_struct, idx_var, value, init) \
do {\
@@ -275,7 +275,7 @@ G_DEFINE_BOXED_TYPE (X2GoClientOpenSSHVersion, x2goclient_openssh_version, &x2go
*
* This is just a convenience wrapper using SET_VER_COMPONENT().
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
#define INIT_VER_COMPONENT(ver_struct, idx_var) SET_VER_COMPONENT ((ver_struct), (idx_var), (guint32)(0), TRUE)
@@ -302,7 +302,7 @@ G_DEFINE_BOXED_TYPE (X2GoClientOpenSSHVersion, x2goclient_openssh_version, &x2go
* X2GOCLIENT_CHECK_TYPE_TYPEOF(). The caveats described for the other macros
* apply here as well.
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
#define CHECK_VER_COMPONENT(ver_struct, idx_var, err) \
do {\
@@ -341,7 +341,7 @@ G_DEFINE_BOXED_TYPE (X2GoClientOpenSSHVersion, x2goclient_openssh_version, &x2go
*
* Returns: a #_Bool value indicating success (%TRUE) or failure (%FALSE).
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
_Bool x2goclient_openssh_version_parse (X2GoClientOpenSSHVersion * const openssh_version, const gchar * const version_string, GError ** const gerr) {
_Bool ret = FALSE;
@@ -605,7 +605,7 @@ _Bool x2goclient_openssh_version_parse (X2GoClientOpenSSHVersion * const openssh
* Returns: the populated #X2GoClientOpenSSHVersion structure on success or
* %NULL on error.
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
X2GoClientOpenSSHVersion* x2goclient_openssh_version_fetch_openssh_version (GError ** const gerr) {
X2GoClientOpenSSHVersion *ret = NULL;
diff --git a/src/x2goclient-openssh-version.h b/src/x2goclient-openssh-version.h
index 1b07d40..5acb731 100644
--- a/src/x2goclient-openssh-version.h
+++ b/src/x2goclient-openssh-version.h
@@ -153,7 +153,7 @@ void x2goclient_openssh_version_free (X2GoClientOpenSSHVersion * const openssh_v
* Error message types as used within X2GoClientOpenSSHVersion. May be passed
* out via #GError instances.
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
enum X2GoClientOpenSSHVersionErrors {
X2GOCLIENT_OPENSSH_VERSION_ERROR_INVALID_STRUCT = 0,
diff --git a/src/x2goclient-utils.c b/src/x2goclient-utils.c
index f5d0265..01e0fb1 100644
--- a/src/x2goclient-utils.c
+++ b/src/x2goclient-utils.c
@@ -37,7 +37,7 @@
*
* Frees the string passed as @data. It's safe to pass %NULL.
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
void x2goclient_clear_strings (gpointer data) {
g_free (data);
@@ -109,7 +109,7 @@ void x2goclient_clear_strings (gpointer data) {
*
* Returns: the converted value as a #long long, unless an error occurred
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
long long x2goclient_str_to_int (const gchar * const restrict str, const _Bool min, const long long int limit_min, const _Bool max, const long long int limit_max, const gchar ** const restrict end, _Bool * const restrict conv_err, _Bool * const restrict min_err, _Bool * const restrict max_err) {
long long ret = 42;
@@ -203,7 +203,7 @@ long long x2goclient_str_to_int (const gchar * const restrict str, const _Bool m
* original string) if @needle was not found, unless an error
* occurred
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
gchar* x2goclient_strbrk_dup (gchar * restrict * const haystack, const char needle, const _Bool free_orig, gsize * const new_size) {
gchar *ret = NULL;
@@ -250,7 +250,7 @@ gchar* x2goclient_strbrk_dup (gchar * restrict * const haystack, const char need
*
* Returns: (transfer none): the converted value as a string
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
gchar* x2goclient_bool_to_str (const gboolean in) {
gchar *ret = "false";
diff --git a/src/x2goclient-utils.h b/src/x2goclient-utils.h
index 270bed8..dad8037 100644
--- a/src/x2goclient-utils.h
+++ b/src/x2goclient-utils.h
@@ -65,7 +65,7 @@ G_BEGIN_DECLS
* mismatching types. Instead, most often, a diagnostic message will be
* printed, which has to be interpreted and fixed by developers.
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
#define X2GOCLIENT_CHECK_TYPE(type, var) \
do {\
@@ -98,7 +98,7 @@ G_BEGIN_DECLS
* mismatching types. Instead, most often, a diagnostic message will be
* printed, which has to be interpreted and fixed by developers.
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
#define X2GOCLIENT_CHECK_TYPE_TYPEOF(target, value) \
do {\
@@ -125,7 +125,7 @@ G_BEGIN_DECLS
* mismatching types. Instead, most often, a diagnostic message will be
* printed, which has to be interpreted and fixed by developers.
*
- * Since: 0.0.5
+ * Since: 0.0.0
*/
#define X2GOCLIENT_CHECK_TYPE_TYPEOF(target, value) \
do {\
--
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