[grilo/mocking: 18/27] net: -Rename grl-net-mock.h to grl-net-mock-private.h



commit 77c9e5b5c5c43d870370489d91371b8283a603c7
Author: Mathias Hasselmann <mathias openismus com>
Date:   Thu Oct 18 23:56:00 2012 +0200

    net: -Rename grl-net-mock.h to grl-net-mock-private.h
    
    In general grilo uses the suffix "-private" for all the headers that
    contain private functions. So it is easier to know if the functions are
    public or not.

 .../net/{grl-net-mock.h => grl-net-mock-private.h} |    6 +++---
 libs/net/grl-net-mock.c                            |    2 +-
 libs/net/grl-net-wc.c                              |    2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/libs/net/grl-net-mock.h b/libs/net/grl-net-mock-private.h
similarity index 93%
rename from libs/net/grl-net-mock.h
rename to libs/net/grl-net-mock-private.h
index ae231cc..24ce249 100644
--- a/libs/net/grl-net-mock.h
+++ b/libs/net/grl-net-mock-private.h
@@ -20,8 +20,8 @@
  *
  */
 
-#ifndef _GRL_NET_MOCK_H_
-#define _GRL_NET_MOCK_H_
+#ifndef _GRL_NET_MOCK_PRIVATE_H_
+#define _GRL_NET_MOCK_PRIVATE_H_
 
 #include "grl-net-wc.h"
 
@@ -55,4 +55,4 @@ void finalize_mock_requester (GrlNetWc *self);
 G_GNUC_INTERNAL
 void free_mock_op_res (void *op);
 
-#endif /* _GRL_NET_MOCK_H_ */
+#endif /* _GRL_NET_MOCK_PRIVATE_H_ */
diff --git a/libs/net/grl-net-mock.c b/libs/net/grl-net-mock.c
index e0d3c61..c878903 100644
--- a/libs/net/grl-net-mock.c
+++ b/libs/net/grl-net-mock.c
@@ -32,7 +32,7 @@
 #define _GRILO_H_INSIDE_
 #include <grl-log.h>
 
-#include "grl-net-mock.h"
+#include "grl-net-mock-private.h"
 
 #define GRL_MOCK_VERSION 1
 
diff --git a/libs/net/grl-net-wc.c b/libs/net/grl-net-wc.c
index 0ad1b5c..33dbae6 100644
--- a/libs/net/grl-net-wc.c
+++ b/libs/net/grl-net-wc.c
@@ -44,7 +44,7 @@
 #include <grilo.h>
 #include "grl-net-wc.h"
 #include "grl-net-private.h"
-#include "grl-net-mock.h"
+#include "grl-net-mock-private.h"
 
 GRL_LOG_DOMAIN(wc_log_domain);
 



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