summaryrefslogtreecommitdiffstats
path: root/uca-net-protocol.h
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2016-02-16 15:55:06 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2016-02-16 15:55:06 +0100
commit7b18a105db637d1ea625bd41f35e52df41165fa3 (patch)
tree7be5d2e74c5e0aa2bda5c96606ebcaacb11c2715 /uca-net-protocol.h
parentbadc0cac8bd6c1997ac89b05bfe51976fe81d60a (diff)
downloaduca-net-7b18a105db637d1ea625bd41f35e52df41165fa3.tar.gz
uca-net-7b18a105db637d1ea625bd41f35e52df41165fa3.tar.bz2
uca-net-7b18a105db637d1ea625bd41f35e52df41165fa3.tar.xz
uca-net-7b18a105db637d1ea625bd41f35e52df41165fa3.zip
Add readout and trigger API
Diffstat (limited to 'uca-net-protocol.h')
-rw-r--r--uca-net-protocol.h10
1 files changed, 10 insertions, 0 deletions
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,