summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-04-24 01:37:05 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-04-24 01:37:05 +0900
commit73c04ecb4b6498bafc3d732ffad9ff9a8c14d679 (patch)
tree26b95fe3f6615f2b40683c83fefb01b0cf95ffdc /src
parentf805cc2be9769c210b4e7c6bde2254ebaecda5f1 (diff)
ecore con - fix constness in eo api to match eo/eolian changes
Diffstat (limited to 'src')
-rw-r--r--src/lib/ecore_con/efl_net_dialer_windows.c6
-rw-r--r--src/lib/ecore_con/efl_net_server_windows.c10
-rw-r--r--src/lib/ecore_con/efl_net_socket_windows.c16
3 files changed, 16 insertions, 16 deletions
diff --git a/src/lib/ecore_con/efl_net_dialer_windows.c b/src/lib/ecore_con/efl_net_dialer_windows.c
index f96b73167e..8e78446b6f 100644
--- a/src/lib/ecore_con/efl_net_dialer_windows.c
+++ b/src/lib/ecore_con/efl_net_dialer_windows.c
@@ -115,7 +115,7 @@ _efl_net_dialer_windows_efl_net_dialer_address_dial_set(Eo *o EINA_UNUSED, Efl_N
115} 115}
116 116
117EOLIAN static const char * 117EOLIAN static const char *
118_efl_net_dialer_windows_efl_net_dialer_address_dial_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Windows_Data *pd) 118_efl_net_dialer_windows_efl_net_dialer_address_dial_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Windows_Data *pd)
119{ 119{
120 return pd->address_dial + strlen(PIPE_NS); 120 return pd->address_dial + strlen(PIPE_NS);
121} 121}
@@ -129,7 +129,7 @@ _efl_net_dialer_windows_efl_net_dialer_connected_set(Eo *o, Efl_Net_Dialer_Windo
129} 129}
130 130
131EOLIAN static Eina_Bool 131EOLIAN static Eina_Bool
132_efl_net_dialer_windows_efl_net_dialer_connected_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Windows_Data *pd) 132_efl_net_dialer_windows_efl_net_dialer_connected_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Windows_Data *pd)
133{ 133{
134 return pd->connected; 134 return pd->connected;
135} 135}
@@ -141,7 +141,7 @@ _efl_net_dialer_windows_efl_net_dialer_timeout_dial_set(Eo *o EINA_UNUSED, Efl_N
141} 141}
142 142
143EOLIAN static double 143EOLIAN static double
144_efl_net_dialer_windows_efl_net_dialer_timeout_dial_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Windows_Data *pd) 144_efl_net_dialer_windows_efl_net_dialer_timeout_dial_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Windows_Data *pd)
145{ 145{
146 return pd->timeout_dial; 146 return pd->timeout_dial;
147} 147}
diff --git a/src/lib/ecore_con/efl_net_server_windows.c b/src/lib/ecore_con/efl_net_server_windows.c
index 1fa517c9e1..f227077036 100644
--- a/src/lib/ecore_con/efl_net_server_windows.c
+++ b/src/lib/ecore_con/efl_net_server_windows.c
@@ -263,7 +263,7 @@ _efl_net_server_windows_allow_remote_set(Eo *o EINA_UNUSED, Efl_Net_Server_Windo
263} 263}
264 264
265EOLIAN static Eina_Bool 265EOLIAN static Eina_Bool
266_efl_net_server_windows_allow_remote_get(Eo *o EINA_UNUSED, Efl_Net_Server_Windows_Data *pd) 266_efl_net_server_windows_allow_remote_get(const Eo *o EINA_UNUSED, Efl_Net_Server_Windows_Data *pd)
267{ 267{
268 return pd->allow_remote; 268 return pd->allow_remote;
269} 269}
@@ -304,7 +304,7 @@ _efl_net_server_windows_efl_net_server_address_set(Eo *o EINA_UNUSED, Efl_Net_Se
304} 304}
305 305
306EOLIAN static const char * 306EOLIAN static const char *
307_efl_net_server_windows_efl_net_server_address_get(Eo *o EINA_UNUSED, Efl_Net_Server_Windows_Data *pd) 307_efl_net_server_windows_efl_net_server_address_get(const Eo *o EINA_UNUSED, Efl_Net_Server_Windows_Data *pd)
308{ 308{
309 return pd->address + strlen(PIPE_NS); 309 return pd->address + strlen(PIPE_NS);
310} 310}
@@ -353,7 +353,7 @@ _efl_net_server_windows_efl_net_server_clients_count_set(Eo *o, Efl_Net_Server_W
353} 353}
354 354
355EOLIAN static unsigned int 355EOLIAN static unsigned int
356_efl_net_server_windows_efl_net_server_clients_count_get(Eo *o EINA_UNUSED, Efl_Net_Server_Windows_Data *pd) 356_efl_net_server_windows_efl_net_server_clients_count_get(const Eo *o EINA_UNUSED, Efl_Net_Server_Windows_Data *pd)
357{ 357{
358 return pd->clients_count; 358 return pd->clients_count;
359} 359}
@@ -379,7 +379,7 @@ _efl_net_server_windows_efl_net_server_clients_limit_set(Eo *o EINA_UNUSED, Efl_
379} 379}
380 380
381EOLIAN static void 381EOLIAN static void
382_efl_net_server_windows_efl_net_server_clients_limit_get(Eo *o EINA_UNUSED, Efl_Net_Server_Windows_Data *pd, unsigned int *limit, Eina_Bool *reject_excess) 382_efl_net_server_windows_efl_net_server_clients_limit_get(const Eo *o EINA_UNUSED, Efl_Net_Server_Windows_Data *pd, unsigned int *limit, Eina_Bool *reject_excess)
383{ 383{
384 if (limit) *limit = pd->clients_limit; 384 if (limit) *limit = pd->clients_limit;
385 if (reject_excess) *reject_excess = pd->clients_reject_excess; 385 if (reject_excess) *reject_excess = pd->clients_reject_excess;
@@ -395,7 +395,7 @@ _efl_net_server_windows_efl_net_server_serving_set(Eo *o EINA_UNUSED, Efl_Net_Se
395} 395}
396 396
397EOLIAN static Eina_Bool 397EOLIAN static Eina_Bool
398_efl_net_server_windows_efl_net_server_serving_get(Eo *o EINA_UNUSED, Efl_Net_Server_Windows_Data *pd) 398_efl_net_server_windows_efl_net_server_serving_get(const Eo *o EINA_UNUSED, Efl_Net_Server_Windows_Data *pd)
399{ 399{
400 return pd->serving; 400 return pd->serving;
401} 401}
diff --git a/src/lib/ecore_con/efl_net_socket_windows.c b/src/lib/ecore_con/efl_net_socket_windows.c
index 02c4b05c90..33e166aea1 100644
--- a/src/lib/ecore_con/efl_net_socket_windows.c
+++ b/src/lib/ecore_con/efl_net_socket_windows.c
@@ -728,7 +728,7 @@ _efl_net_socket_windows_efl_io_closer_close(Eo *o, Efl_Net_Socket_Windows_Data *
728} 728}
729 729
730EOLIAN static Eina_Bool 730EOLIAN static Eina_Bool
731_efl_net_socket_windows_efl_io_closer_closed_get(Eo *o EINA_UNUSED, Efl_Net_Socket_Windows_Data *pd) 731_efl_net_socket_windows_efl_io_closer_closed_get(const Eo *o EINA_UNUSED, Efl_Net_Socket_Windows_Data *pd)
732{ 732{
733 return pd->handle == INVALID_HANDLE_VALUE; 733 return pd->handle == INVALID_HANDLE_VALUE;
734} 734}
@@ -742,7 +742,7 @@ _efl_net_socket_windows_efl_io_closer_close_on_exec_set(Eo *o EINA_UNUSED, Efl_N
742} 742}
743 743
744EOLIAN static Eina_Bool 744EOLIAN static Eina_Bool
745_efl_net_socket_windows_efl_io_closer_close_on_exec_get(Eo *o EINA_UNUSED, Efl_Net_Socket_Windows_Data *pd) 745_efl_net_socket_windows_efl_io_closer_close_on_exec_get(const Eo *o EINA_UNUSED, Efl_Net_Socket_Windows_Data *pd)
746{ 746{
747 return pd->close_on_exec; 747 return pd->close_on_exec;
748} 748}
@@ -754,7 +754,7 @@ _efl_net_socket_windows_efl_io_closer_close_on_destructor_set(Eo *o EINA_UNUSED,
754} 754}
755 755
756EOLIAN static Eina_Bool 756EOLIAN static Eina_Bool
757_efl_net_socket_windows_efl_io_closer_close_on_destructor_get(Eo *o EINA_UNUSED, Efl_Net_Socket_Windows_Data *pd) 757_efl_net_socket_windows_efl_io_closer_close_on_destructor_get(const Eo *o EINA_UNUSED, Efl_Net_Socket_Windows_Data *pd)
758{ 758{
759 return pd->close_on_destructor; 759 return pd->close_on_destructor;
760} 760}
@@ -814,7 +814,7 @@ _efl_net_socket_windows_efl_io_reader_can_read_set(Eo *o, Efl_Net_Socket_Windows
814} 814}
815 815
816EOLIAN static Eina_Bool 816EOLIAN static Eina_Bool
817_efl_net_socket_windows_efl_io_reader_can_read_get(Eo *o EINA_UNUSED, Efl_Net_Socket_Windows_Data *pd) 817_efl_net_socket_windows_efl_io_reader_can_read_get(const Eo *o EINA_UNUSED, Efl_Net_Socket_Windows_Data *pd)
818{ 818{
819 return pd->can_read; 819 return pd->can_read;
820} 820}
@@ -829,7 +829,7 @@ _efl_net_socket_windows_efl_io_reader_eos_set(Eo *o, Efl_Net_Socket_Windows_Data
829} 829}
830 830
831EOLIAN static Eina_Bool 831EOLIAN static Eina_Bool
832_efl_net_socket_windows_efl_io_reader_eos_get(Eo *o EINA_UNUSED, Efl_Net_Socket_Windows_Data *pd) 832_efl_net_socket_windows_efl_io_reader_eos_get(const Eo *o EINA_UNUSED, Efl_Net_Socket_Windows_Data *pd)
833{ 833{
834 return pd->eos; 834 return pd->eos;
835} 835}
@@ -897,7 +897,7 @@ _efl_net_socket_windows_efl_io_writer_can_write_set(Eo *o, Efl_Net_Socket_Window
897} 897}
898 898
899EOLIAN static Eina_Bool 899EOLIAN static Eina_Bool
900_efl_net_socket_windows_efl_io_writer_can_write_get(Eo *o EINA_UNUSED, Efl_Net_Socket_Windows_Data *pd) 900_efl_net_socket_windows_efl_io_writer_can_write_get(const Eo *o EINA_UNUSED, Efl_Net_Socket_Windows_Data *pd)
901{ 901{
902 return pd->can_write; 902 return pd->can_write;
903} 903}
@@ -909,7 +909,7 @@ _efl_net_socket_windows_efl_net_socket_address_local_set(Eo *o EINA_UNUSED, Efl_
909} 909}
910 910
911EOLIAN static const char * 911EOLIAN static const char *
912_efl_net_socket_windows_efl_net_socket_address_local_get(Eo *o EINA_UNUSED, Efl_Net_Socket_Windows_Data *pd) 912_efl_net_socket_windows_efl_net_socket_address_local_get(const Eo *o EINA_UNUSED, Efl_Net_Socket_Windows_Data *pd)
913{ 913{
914 return pd->address_local; 914 return pd->address_local;
915} 915}
@@ -921,7 +921,7 @@ _efl_net_socket_windows_efl_net_socket_address_remote_set(Eo *o EINA_UNUSED, Efl
921} 921}
922 922
923EOLIAN static const char * 923EOLIAN static const char *
924_efl_net_socket_windows_efl_net_socket_address_remote_get(Eo *o EINA_UNUSED, Efl_Net_Socket_Windows_Data *pd) 924_efl_net_socket_windows_efl_net_socket_address_remote_get(const Eo *o EINA_UNUSED, Efl_Net_Socket_Windows_Data *pd)
925{ 925{
926 return pd->address_remote; 926 return pd->address_remote;
927} 927}