From 7b18a105db637d1ea625bd41f35e52df41165fa3 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Tue, 16 Feb 2016 15:55:06 +0100 Subject: Add readout and trigger API --- uca-net-protocol.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'uca-net-protocol.h') diff --git a/uca-net-protocol.h b/uca-net-protocol.h index 3df8c37..0b73c57 100644 --- a/uca-net-protocol.h +++ b/uca-net-protocol.h @@ -8,6 +8,9 @@ typedef enum { UCA_NET_MESSAGE_SET_PROPERTY, UCA_NET_MESSAGE_START_RECORDING, UCA_NET_MESSAGE_STOP_RECORDING, + UCA_NET_MESSAGE_START_READOUT, + UCA_NET_MESSAGE_STOP_READOUT, + UCA_NET_MESSAGE_TRIGGER, UCA_NET_MESSAGE_GRAB, UCA_NET_MESSAGE_CLOSE_CONNECTION, } UcaNetMessageType; @@ -57,6 +60,9 @@ typedef struct { void (*set_property) (gpointer user_data, const gchar *name, const gchar *value, GError **error); void (*start_recording) (gpointer user_data, GError **error); void (*stop_recording) (gpointer user_data, GError **error); + void (*start_readout) (gpointer user_data, GError **error); + void (*stop_readout) (gpointer user_data, GError **error); + void (*trigger) (gpointer user_data, GError **error); gboolean (*grab) (gpointer data, gpointer user_data, GError **error); } UcaNetHandlers; @@ -72,6 +78,10 @@ void uca_net_client_start_recording (GSocketConnection *connection, GError **error); void uca_net_client_stop_recording (GSocketConnection *connection, GError **error); +void uca_net_client_start_readout (GSocketConnection *connection, + GError **error); +void uca_net_client_stop_readout (GSocketConnection *connection, + GError **error); gboolean uca_net_client_grab (GSocketConnection *connection, gpointer data, gsize size, -- cgit v1.2.3