summaryrefslogtreecommitdiff
path: root/legacy/eet/src/lib/eet_connection.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2012-08-24 10:30:27 +0000
committerCedric BAIL <cedric.bail@free.fr>2012-08-24 10:30:27 +0000
commit56ab90d0e42aeae4e979ceb50ed3cb4fddba073f (patch)
tree72b05a0b8bda3f0ad5176e97e02e4da07764b7a5 /legacy/eet/src/lib/eet_connection.c
parentc5fe5abff2f5fed4910cc7836066b3c93f899256 (diff)
eet: add eet_connection_empty.
This is needed to fix a bug when multiplexing eet_connection with something else. SVN revision: 75651
Diffstat (limited to '')
-rw-r--r--legacy/eet/src/lib/eet_connection.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/legacy/eet/src/lib/eet_connection.c b/legacy/eet/src/lib/eet_connection.c
index 7b6b934596..c044e3d11a 100644
--- a/legacy/eet/src/lib/eet_connection.c
+++ b/legacy/eet/src/lib/eet_connection.c
@@ -170,6 +170,12 @@ _eet_connection_raw_send(Eet_Connection *conn,
170} 170}
171 171
172EAPI Eina_Bool 172EAPI Eina_Bool
173eet_connection_empty(Eet_Connection *conn)
174{
175 return conn->size ? EINA_FALSE : EINA_TRUE;
176}
177
178EAPI Eina_Bool
173eet_connection_send(Eet_Connection *conn, 179eet_connection_send(Eet_Connection *conn,
174 Eet_Data_Descriptor *edd, 180 Eet_Data_Descriptor *edd,
175 const void *data_in, 181 const void *data_in,