diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2016-02-17 15:52:25 +0100 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2016-02-17 15:52:25 +0100 |
commit | e8b3babd44971d1d4b25186f88bdbea23f7bf394 (patch) | |
tree | 6f59998cbd157df14dc444f66f302f66b85c6ec0 /uca-net-protocol.h | |
parent | 9da4e6a2c7ad73a0eb4f377533179eb606a14285 (diff) | |
download | uca-net-e8b3babd44971d1d4b25186f88bdbea23f7bf394.tar.gz uca-net-e8b3babd44971d1d4b25186f88bdbea23f7bf394.tar.bz2 uca-net-e8b3babd44971d1d4b25186f88bdbea23f7bf394.tar.xz uca-net-e8b3babd44971d1d4b25186f88bdbea23f7bf394.zip |
Implement outstanding write request
Diffstat (limited to 'uca-net-protocol.h')
-rw-r--r-- | uca-net-protocol.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/uca-net-protocol.h b/uca-net-protocol.h index 9ea6699..653a26d 100644 --- a/uca-net-protocol.h +++ b/uca-net-protocol.h @@ -13,6 +13,7 @@ typedef enum { UCA_NET_MESSAGE_STOP_READOUT, UCA_NET_MESSAGE_TRIGGER, UCA_NET_MESSAGE_GRAB, + UCA_NET_MESSAGE_WRITE, UCA_NET_MESSAGE_CLOSE_CONNECTION, } UcaNetMessageType; @@ -53,4 +54,10 @@ typedef struct { gsize size; } UcaNetMessageGrabRequest; +typedef struct { + UcaNetMessageType type; + gsize size; + gchar name[128]; +} UcaNetMessageWriteRequest; + #endif |