summaryrefslogtreecommitdiff
path: root/src/analysis/db/client-int.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2021-06-03 23:12:24 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2021-06-03 23:12:24 (GMT)
commitdac827b81a8e29cb83fb17985ad5e83770cd833f (patch)
tree08bf412e74bb39d33ccf5f0b473f38aae0581eed /src/analysis/db/client-int.h
parent9eab0a0903303d3c93872e7e4b6b1cb774b69b03 (diff)
Reconnect the analysis clients to servers when requested.
Diffstat (limited to 'src/analysis/db/client-int.h')
-rw-r--r--src/analysis/db/client-int.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/analysis/db/client-int.h b/src/analysis/db/client-int.h
index 83c5039..3c140e9 100644
--- a/src/analysis/db/client-int.h
+++ b/src/analysis/db/client-int.h
@@ -28,6 +28,13 @@
#include "client.h"
+#include "../../common/packed.h"
+
+
+
+/* Termine la constitution des données initiales à présenter. */
+typedef bool (* complete_client_hello_fc) (GHubClient *, packed_buffer_t *);
+
/* Description de client à l'écoute (instance) */
struct _GHubClient
@@ -54,6 +61,7 @@ struct _GHubClientClass
GObjectClass parent; /* A laisser en premier */
uint32_t role; /* Rôle associé aux clients */
+ complete_client_hello_fc complete_hello;/* Finalisation de l'intro */
GThreadFunc recv_func; /* Réception de données */
};