summaryrefslogtreecommitdiff
path: root/src/lib/evas/cserve2/evas_cs2.h
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2013-06-26 17:47:41 +0900
committerCedric Bail <cedric.bail@samsung.com>2013-07-02 16:58:10 +0900
commitdb6cba1429624968cf7f9bc49a508d2bb5d0b23f (patch)
tree195755931f3edf5d4fe90c22b76f974f2bef3be5 /src/lib/evas/cserve2/evas_cs2.h
parentf9a7820e0240d166328576f7bd8a1ee16c9cd1d7 (diff)
evas/cserve2: avoid useless SETOPT messages.
Most of the time, the SETOPT message is sent only to carry 0 data. Let's add a flag to the OPEN message to avoid useless socket calls. Server-side: implement with message faking. Also, fix image ID logic on client side: - alloc data entry asap, - assign image_id during call to OPEN Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
Diffstat (limited to 'src/lib/evas/cserve2/evas_cs2.h')
-rw-r--r--src/lib/evas/cserve2/evas_cs2.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/evas/cserve2/evas_cs2.h b/src/lib/evas/cserve2/evas_cs2.h
index 7bd4c51f4d..9b38c75784 100644
--- a/src/lib/evas/cserve2/evas_cs2.h
+++ b/src/lib/evas/cserve2/evas_cs2.h
@@ -54,6 +54,9 @@ struct _Msg_Open {
54 unsigned int file_id; 54 unsigned int file_id;
55 int path_offset; 55 int path_offset;
56 int key_offset; 56 int key_offset;
57 unsigned int image_id;
58
59 Eina_Bool has_load_opts : 1;
57}; 60};
58 61
59struct _Msg_Opened { 62struct _Msg_Opened {