diff options
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 |