[libsoup/wip/xmlrpc-variant: 2/11] xmlrpc: Rename files



commit 759a36983617ad628417dd9812f4774a9a0ebe65
Author: Xavier Claessens <xavier claessens collabora com>
Date:   Mon Jul 27 15:35:58 2015 -0400

    xmlrpc: Rename files
    
    https://bugzilla.gnome.org/show_bug.cgi?id=746495

 libsoup/Makefile.am                                |    4 ++--
 libsoup/{soup-xmlrpc.c => soup-xmlrpc-gvalue.c}    |    2 +-
 libsoup/{soup-xmlrpc.h => soup-xmlrpc-gvalue.h}    |    6 +++---
 libsoup/soup.h                                     |    2 +-
 tests/Makefile.am                                  |    4 ++--
 ...c-server-test.c => xmlrpc-gvalue-server-test.c} |    4 ++--
 tests/{xmlrpc-test.c => xmlrpc-gvalue-test.c}      |    2 +-
 7 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/libsoup/Makefile.am b/libsoup/Makefile.am
index 48cf109..712a971 100644
--- a/libsoup/Makefile.am
+++ b/libsoup/Makefile.am
@@ -72,7 +72,7 @@ soup_headers =                        \
        soup-value-utils.h      \
        soup-websocket.h        \
        soup-websocket-connection.h     \
-       soup-xmlrpc.h
+       soup-xmlrpc-gvalue.h
 
 libsoupinclude_HEADERS =       \
        $(soup_headers)         \
@@ -194,7 +194,7 @@ libsoup_2_4_la_SOURCES =            \
        soup-version.c                  \
        soup-websocket.c                \
        soup-websocket-connection.c     \
-       soup-xmlrpc.c
+       soup-xmlrpc-gvalue.c
 
 # TLD rules
 EXTRA_DIST += tld-parser.py
diff --git a/libsoup/soup-xmlrpc.c b/libsoup/soup-xmlrpc-gvalue.c
similarity index 99%
rename from libsoup/soup-xmlrpc.c
rename to libsoup/soup-xmlrpc-gvalue.c
index ee61da1..ce0232c 100644
--- a/libsoup/soup-xmlrpc.c
+++ b/libsoup/soup-xmlrpc-gvalue.c
@@ -13,7 +13,7 @@
 
 #include <libxml/tree.h>
 
-#include "soup-xmlrpc.h"
+#include "soup-xmlrpc-gvalue.h"
 #include "soup.h"
 
 /**
diff --git a/libsoup/soup-xmlrpc.h b/libsoup/soup-xmlrpc-gvalue.h
similarity index 96%
rename from libsoup/soup-xmlrpc.h
rename to libsoup/soup-xmlrpc-gvalue.h
index d25e380..06f9d37 100644
--- a/libsoup/soup-xmlrpc.h
+++ b/libsoup/soup-xmlrpc-gvalue.h
@@ -3,8 +3,8 @@
  * Copyright (C) 2007 Red Hat, Inc.
  */
 
-#ifndef SOUP_XMLRPC_H
-#define SOUP_XMLRPC_H 1
+#ifndef SOUP_XMLRPC_GVALUE_H
+#define SOUP_XMLRPC_GVALUE_H 1
 
 #include <libsoup/soup-types.h>
 
@@ -76,4 +76,4 @@ typedef enum {
 
 G_END_DECLS
 
-#endif /* SOUP_XMLRPC_H */
+#endif /* SOUP_XMLRPC_GVALUE_H */
diff --git a/libsoup/soup.h b/libsoup/soup.h
index 7106cc5..443421b 100644
--- a/libsoup/soup.h
+++ b/libsoup/soup.h
@@ -52,7 +52,7 @@ extern "C" {
 #include <libsoup/soup-version.h>
 #include <libsoup/soup-websocket.h>
 #include <libsoup/soup-websocket-connection.h>
-#include <libsoup/soup-xmlrpc.h>
+#include <libsoup/soup-xmlrpc-gvalue.h>
 
 #ifdef __cplusplus
 }
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 662ab79..148df86 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -42,8 +42,8 @@ test_programs =                       \
        tld-test                \
        uri-parsing             \
        websocket-test          \
-       xmlrpc-server-test      \
-       xmlrpc-test
+       xmlrpc-gvalue-server-test \
+       xmlrpc-gvalue-test
 
 test_extra_programs =          \
        ntlm-test-helper        \
diff --git a/tests/xmlrpc-server-test.c b/tests/xmlrpc-gvalue-server-test.c
similarity index 98%
rename from tests/xmlrpc-server-test.c
rename to tests/xmlrpc-gvalue-server-test.c
index bd8341d..9704997 100644
--- a/tests/xmlrpc-server-test.c
+++ b/tests/xmlrpc-gvalue-server-test.c
@@ -246,7 +246,7 @@ run_xmlrpc_test (char **argv,
        gboolean ok;
        int status;
 
-       argv[0] = g_test_build_filename (G_TEST_BUILT, "xmlrpc-test", NULL);
+       argv[0] = g_test_build_filename (G_TEST_BUILT, "xmlrpc-gvalue-test", NULL);
        ok = g_spawn_sync (NULL, argv, NULL, 0, NULL, NULL,
                           stdout_out, stderr_out, &status,
                           error);
@@ -334,7 +334,7 @@ main (int argc, char **argv)
                list_argv[3] = NULL;
 
                if (!run_xmlrpc_test (list_argv, &out, NULL, &error)) {
-                       g_printerr ("'xmlrpc-test -l' failed: %s\n", error->message);
+                       g_printerr ("'xmlrpc-gvalue-test -l' failed: %s\n", error->message);
                        g_error_free (error);
                        return 1;
                }
diff --git a/tests/xmlrpc-test.c b/tests/xmlrpc-gvalue-test.c
similarity index 99%
rename from tests/xmlrpc-test.c
rename to tests/xmlrpc-gvalue-test.c
index cf9cb91..b56dbfb 100644
--- a/tests/xmlrpc-test.c
+++ b/tests/xmlrpc-gvalue-test.c
@@ -475,7 +475,7 @@ static GOptionEntry xmlrpc_entries[] = {
         { "uri", 'U', 0, G_OPTION_ARG_STRING, &uri,
           "Alternate URI for server", NULL },
         { "server-test", 'S', 0, G_OPTION_ARG_NONE, &server_test,
-          "If this is being run from xmlrpc-server-test", NULL },
+          "If this is being run from xmlrpc-gvalue-server-test", NULL },
         { NULL }
 };
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]