[gnome-network-displays/cc-tmp: 62/80] cc: label private fields




commit 5158180753c010ad1a45dd7a269fef5410e666d8
Author: Anupam Kumar <kyteinsky gmail com>
Date:   Tue Sep 6 00:24:47 2022 +0530

    cc: label private fields

 src/cc/cc-comm.h |  9 ++++-----
 src/cc/cc-ctrl.h | 16 ++++++++--------
 2 files changed, 12 insertions(+), 13 deletions(-)
---
diff --git a/src/cc/cc-comm.h b/src/cc/cc-comm.h
index 5f57ab1..80b2a80 100644
--- a/src/cc/cc-comm.h
+++ b/src/cc/cc-comm.h
@@ -41,13 +41,12 @@ struct _CcComm
 {
   /*< public >*/
   GIOStream     *con;
-
-  guint8        *header_buffer;
-  guint8        *message_buffer;
-
   GCancellable  *cancellable;
-
   CcCommClosure *closure;
+
+  /*< private >*/
+  guint8 *header_buffer;
+  guint8 *message_buffer;
 };
 
 typedef struct _CcComm CcComm;
diff --git a/src/cc/cc-ctrl.h b/src/cc/cc-ctrl.h
index 12811c5..024ac8e 100644
--- a/src/cc/cc-ctrl.h
+++ b/src/cc/cc-ctrl.h
@@ -50,16 +50,16 @@ struct _CcCtrl
 {
   /*< public >*/
   CcComm         comm;
-
-  CcCtrlState    state;
-  gchar         *session_id;
-  guint          request_id;
-  guint8         waiting_for;
-  guint          ping_timeout_handle;
-  guint          waiting_check_timeout_handle;
-
   GCancellable  *cancellable;
   CcCtrlClosure *closure;
+
+  /*< private >*/
+  CcCtrlState state;
+  gchar      *session_id;
+  guint       request_id;
+  guint8      waiting_for;
+  guint       ping_timeout_handle;
+  guint       waiting_check_timeout_handle;
 };
 
 typedef struct _CcCtrl CcCtrl;


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