summaryrefslogtreecommitdiff
path: root/src/lib/ecore_con
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2017-09-15 16:51:37 +0200
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2017-09-15 16:51:37 +0200
commit8f6ba61011bc13cd3c6288ea36d8ffa365fda543 (patch)
treea91a36bed0e7aa201e9a2dd4ba1b079a3139a604 /src/lib/ecore_con
parenta8b8b7efde8ffca98511af0426f7ddd6403e774d (diff)
ecore: convert existing eo files to new ownership
Diffstat (limited to 'src/lib/ecore_con')
-rw-r--r--src/lib/ecore_con/efl_net_control.eo4
-rw-r--r--src/lib/ecore_con/efl_net_control_access_point.eo20
-rw-r--r--src/lib/ecore_con/efl_net_dialer_http.eo8
-rw-r--r--src/lib/ecore_con/efl_net_dialer_websocket.eo6
-rw-r--r--src/lib/ecore_con/efl_net_ip_address.eo6
-rw-r--r--src/lib/ecore_con/efl_net_server_udp.eo2
-rw-r--r--src/lib/ecore_con/efl_net_socket_udp.eo2
-rw-r--r--src/lib/ecore_con/efl_net_ssl_context.eo8
8 files changed, 28 insertions, 28 deletions
diff --git a/src/lib/ecore_con/efl_net_control.eo b/src/lib/ecore_con/efl_net_control.eo
index 6103240cb5..3e8b70d1a8 100644
--- a/src/lib/ecore_con/efl_net_control.eo
+++ b/src/lib/ecore_con/efl_net_control.eo
@@ -163,7 +163,7 @@ class Efl.Net.Control (Efl.Loop_User) {
163 ]] 163 ]]
164 get { } 164 get { }
165 values { 165 values {
166 access_points: free(own(iterator<Efl.Net.Control.Access_Point>), eina_iterator_free); [[Iterator of current access points]] 166 access_points: iterator<Efl.Net.Control.Access_Point> @owned; [[Iterator of current access points]]
167 } 167 }
168 } 168 }
169 169
@@ -177,7 +177,7 @@ class Efl.Net.Control (Efl.Loop_User) {
177 ]] 177 ]]
178 get { } 178 get { }
179 values { 179 values {
180 technologies: free(own(iterator<Efl.Net.Control.Technology>), eina_iterator_free); [[Iterator of current technologies]] 180 technologies: iterator<Efl.Net.Control.Technology> @owned; [[Iterator of current technologies]]
181 } 181 }
182 } 182 }
183 183
diff --git a/src/lib/ecore_con/efl_net_control_access_point.eo b/src/lib/ecore_con/efl_net_control_access_point.eo
index 7bc50a0819..17df79f6fa 100644
--- a/src/lib/ecore_con/efl_net_control_access_point.eo
+++ b/src/lib/ecore_con/efl_net_control_access_point.eo
@@ -266,7 +266,7 @@ class Efl.Net.Control.Access_Point (Efl.Loop_User) {
266 ]] 266 ]]
267 get { } 267 get { }
268 values { 268 values {
269 name_servers: free(own(iterator<string>), eina_iterator_free); [[Iterator to DNS server]] 269 name_servers: iterator<string> @owned; [[Iterator to DNS server]]
270 } 270 }
271 } 271 }
272 272
@@ -280,7 +280,7 @@ class Efl.Net.Control.Access_Point (Efl.Loop_User) {
280 ]] 280 ]]
281 get { } 281 get { }
282 values { 282 values {
283 time_servers: free(own(iterator<string>), eina_iterator_free); [[Iterator to time server]] 283 time_servers: iterator<string> @owned; [[Iterator to time server]]
284 } 284 }
285 } 285 }
286 286
@@ -294,7 +294,7 @@ class Efl.Net.Control.Access_Point (Efl.Loop_User) {
294 ]] 294 ]]
295 get { } 295 get { }
296 values { 296 values {
297 domains: free(own(iterator<string>), eina_iterator_free); [[Iterator to search domains]] 297 domains: iterator<string> @owned; [[Iterator to search domains]]
298 } 298 }
299 } 299 }
300 300
@@ -345,8 +345,8 @@ class Efl.Net.Control.Access_Point (Efl.Loop_User) {
345 values { 345 values {
346 method: Efl.Net.Control.Access_Point.Proxy_Method; [[Proxy method]] 346 method: Efl.Net.Control.Access_Point.Proxy_Method; [[Proxy method]]
347 url: string; [[If @Efl.Net.Control.Access_Point.Proxy_Method.auto, then states the URL to use for proxy auto-configuration]] 347 url: string; [[If @Efl.Net.Control.Access_Point.Proxy_Method.auto, then states the URL to use for proxy auto-configuration]]
348 servers: free(own(iterator<string>), eina_iterator_free); [[If @Efl.Net.Control.Access_Point.Proxy_Method.manual, then states the URI with proxy servers to use, like "http://proxy.domain.com:911"]] 348 servers: iterator<string> @owned; [[If @Efl.Net.Control.Access_Point.Proxy_Method.manual, then states the URI with proxy servers to use, like "http://proxy.domain.com:911"]]
349 excludes: free(own(iterator<string>), eina_iterator_free); [[If @Efl.Net.Control.Access_Point.Proxy_Method.manual, then states the hosts or patterns to exclude from proxy access, such as "localhost", ".domain.com", or "10.0.0.0..."]] 349 excludes: iterator<string> @owned; [[If @Efl.Net.Control.Access_Point.Proxy_Method.manual, then states the hosts or patterns to exclude from proxy access, such as "localhost", ".domain.com", or "10.0.0.0..."]]
350 } 350 }
351 } 351 }
352 352
@@ -362,7 +362,7 @@ class Efl.Net.Control.Access_Point (Efl.Loop_User) {
362 set { } 362 set { }
363 get { } 363 get { }
364 values { 364 values {
365 name_servers: free(own(iterator<string>), eina_iterator_free); [[Iterator to user DNS server]] 365 name_servers: iterator<string> @owned; [[Iterator to user DNS server]]
366 } 366 }
367 } 367 }
368 368
@@ -378,7 +378,7 @@ class Efl.Net.Control.Access_Point (Efl.Loop_User) {
378 set { } 378 set { }
379 get { } 379 get { }
380 values { 380 values {
381 time_servers: free(own(iterator<string>), eina_iterator_free); [[Iterator to user time server]] 381 time_servers: iterator<string> @owned; [[Iterator to user time server]]
382 } 382 }
383 } 383 }
384 384
@@ -394,7 +394,7 @@ class Efl.Net.Control.Access_Point (Efl.Loop_User) {
394 set { } 394 set { }
395 get { } 395 get { }
396 values { 396 values {
397 domains: free(own(iterator<string>), eina_iterator_free); [[Iterator to user search domains]] 397 domains: iterator<string> @owned; [[Iterator to user search domains]]
398 } 398 }
399 } 399 }
400 400
@@ -451,8 +451,8 @@ class Efl.Net.Control.Access_Point (Efl.Loop_User) {
451 values { 451 values {
452 method: Efl.Net.Control.Access_Point.Proxy_Method; [[Proxy method]] 452 method: Efl.Net.Control.Access_Point.Proxy_Method; [[Proxy method]]
453 url: string; [[If @Efl.Net.Control.Access_Point.Proxy_Method.auto, then states the URL to use for proxy auto-configuration]] 453 url: string; [[If @Efl.Net.Control.Access_Point.Proxy_Method.auto, then states the URL to use for proxy auto-configuration]]
454 servers: free(own(iterator<string>), eina_iterator_free); [[If @Efl.Net.Control.Access_Point.Proxy_Method.manual, then states the URI with proxy servers to use, like "http://proxy.domain.com:911"]] 454 servers: iterator<string> @owned; [[If @Efl.Net.Control.Access_Point.Proxy_Method.manual, then states the URI with proxy servers to use, like "http://proxy.domain.com:911"]]
455 excludes: free(own(iterator<string>), eina_iterator_free); [[If @Efl.Net.Control.Access_Point.Proxy_Method.manual, then states the hosts or patterns to exclude from proxy access, such as "localhost", ".domain.com", or "10.0.0.0..."]] 455 excludes: iterator<string> @owned; [[If @Efl.Net.Control.Access_Point.Proxy_Method.manual, then states the hosts or patterns to exclude from proxy access, such as "localhost", ".domain.com", or "10.0.0.0..."]]
456 } 456 }
457 } 457 }
458 } 458 }
diff --git a/src/lib/ecore_con/efl_net_dialer_http.eo b/src/lib/ecore_con/efl_net_dialer_http.eo
index e7051fb2f6..0e6244de9f 100644
--- a/src/lib/ecore_con/efl_net_dialer_http.eo
+++ b/src/lib/ecore_con/efl_net_dialer_http.eo
@@ -189,7 +189,7 @@ class Efl.Net.Dialer.Http (Efl.Loop_User, Efl.Net.Dialer, Efl.Io.Sizer) {
189 189
190 request_headers_get { 190 request_headers_get {
191 [[Returns an iterator to the key-value pairs for request headers]] 191 [[Returns an iterator to the key-value pairs for request headers]]
192 return: free(own(iterator<Efl.Net.Http.Header>), eina_iterator_free) @warn_unused; [[Iterator for request headers]] 192 return: iterator<Efl.Net.Http.Header> @owned @warn_unused; [[Iterator for request headers]]
193 } 193 }
194 194
195 @property request_content_length { 195 @property request_content_length {
@@ -252,7 +252,7 @@ class Efl.Net.Dialer.Http (Efl.Loop_User, Efl.Net.Dialer, Efl.Io.Sizer) {
252 252
253 This will be usable after "headers,done" event is dispatched. 253 This will be usable after "headers,done" event is dispatched.
254 ]] 254 ]]
255 return: free(own(iterator<Efl.Net.Http.Header>), eina_iterator_free) @warn_unused; [[Iterator for response headers]] 255 return: iterator<Efl.Net.Http.Header> @owned @warn_unused; [[Iterator for response headers]]
256 } 256 }
257 257
258 response_headers_all_get { 258 response_headers_all_get {
@@ -277,7 +277,7 @@ class Efl.Net.Dialer.Http (Efl.Loop_User, Efl.Net.Dialer, Efl.Io.Sizer) {
277 277
278 This will be usable after "headers,done" event is dispatched. 278 This will be usable after "headers,done" event is dispatched.
279 ]] 279 ]]
280 return: free(own(iterator<Efl.Net.Http.Header>), eina_iterator_free) @warn_unused; [[Iterator for all response headers]] 280 return: iterator<Efl.Net.Http.Header> @owned @warn_unused; [[Iterator for all response headers]]
281 } 281 }
282 282
283 response_headers_clear { 283 response_headers_clear {
@@ -383,7 +383,7 @@ class Efl.Net.Dialer.Http (Efl.Loop_User, Efl.Net.Dialer, Efl.Io.Sizer) {
383 params { 383 params {
384 epochtime: int64; [[UNIX Epoch time - seconds since 1/1/1970]] 384 epochtime: int64; [[UNIX Epoch time - seconds since 1/1/1970]]
385 } 385 }
386 return: free(own(ptr(char)), free) @warn_unused; [[Newly allocated null-terminated string on success or NULL on errors]] 386 return: string @owned @warn_unused; [[Newly allocated null-terminated string on success or NULL on errors]]
387 } 387 }
388 } 388 }
389 389
diff --git a/src/lib/ecore_con/efl_net_dialer_websocket.eo b/src/lib/ecore_con/efl_net_dialer_websocket.eo
index 52c501c967..534f5b7b34 100644
--- a/src/lib/ecore_con/efl_net_dialer_websocket.eo
+++ b/src/lib/ecore_con/efl_net_dialer_websocket.eo
@@ -152,7 +152,7 @@ class Efl.Net.Dialer.Websocket (Efl.Loop_User, Efl.Net.Dialer) {
152 152
153 request_protocols_get { 153 request_protocols_get {
154 [[Returns an iterator to the requested WebSocket protocols]] 154 [[Returns an iterator to the requested WebSocket protocols]]
155 return: free(own(iterator<string>), eina_iterator_free) @warn_unused; [[Iterator to protocols]] 155 return: iterator<string> @owned @warn_unused; [[Iterator to protocols]]
156 } 156 }
157 157
158 request_protocols_clear { 158 request_protocols_clear {
@@ -161,7 +161,7 @@ class Efl.Net.Dialer.Websocket (Efl.Loop_User, Efl.Net.Dialer) {
161 161
162 response_protocols_get { 162 response_protocols_get {
163 [[Returns an iterator to the server-replied (response) WebSocket protocols it supports]] 163 [[Returns an iterator to the server-replied (response) WebSocket protocols it supports]]
164 return: free(own(iterator<string>), eina_iterator_free) @warn_unused; [[Iterator to server protocols]] 164 return: iterator<string> @owned @warn_unused; [[Iterator to server protocols]]
165 } 165 }
166 166
167 @property streaming_mode { 167 @property streaming_mode {
@@ -268,7 +268,7 @@ class Efl.Net.Dialer.Websocket (Efl.Loop_User, Efl.Net.Dialer) {
268 268
269 request_headers_get { 269 request_headers_get {
270 [[Returns an iterator to the key-value pairs for request headers]] 270 [[Returns an iterator to the key-value pairs for request headers]]
271 return: free(own(iterator<Efl.Net.Http.Header>), eina_iterator_free) @warn_unused; [[Iterator to key value pairs]] 271 return: iterator<Efl.Net.Http.Header> @owned @warn_unused; [[Iterator to key value pairs]]
272 } 272 }
273 273
274 @property cookie_jar { 274 @property cookie_jar {
diff --git a/src/lib/ecore_con/efl_net_ip_address.eo b/src/lib/ecore_con/efl_net_ip_address.eo
index 2cfc6cb98f..b3fc564737 100644
--- a/src/lib/ecore_con/efl_net_ip_address.eo
+++ b/src/lib/ecore_con/efl_net_ip_address.eo
@@ -52,7 +52,7 @@ class Efl.Net.Ip_Address (Efl.Object) {
52 port: uint16; [[Port number in Host/Native endianess]] 52 port: uint16; [[Port number in Host/Native endianess]]
53 address: const(Eina.Slice); [[Address bytes. If 4 bytes, AF_INET will be used. If 16 bytes, AF_INET6 will be used. All other sizes will result in failure.]] 53 address: const(Eina.Slice); [[Address bytes. If 4 bytes, AF_INET will be used. If 16 bytes, AF_INET6 will be used. All other sizes will result in failure.]]
54 } 54 }
55 return: own(Efl.Net.Ip_Address); [[Newly created object or $NULL if parameters were invalid.]] 55 return: Efl.Net.Ip_Address @owned; [[Newly created object or $NULL if parameters were invalid.]]
56 } 56 }
57 57
58 create_sockaddr @class { 58 create_sockaddr @class {
@@ -65,7 +65,7 @@ class Efl.Net.Ip_Address (Efl.Object) {
65 params { 65 params {
66 sockaddr: const(void_ptr) @nonull; [[The pointer to struct sockaddr-compatible handle as per <netinet/in.h>.]] 66 sockaddr: const(void_ptr) @nonull; [[The pointer to struct sockaddr-compatible handle as per <netinet/in.h>.]]
67 } 67 }
68 return: own(Efl.Net.Ip_Address); [[Newly created object or $NULL if parameter was invalid.]] 68 return: Efl.Net.Ip_Address @owned; [[Newly created object or $NULL if parameter was invalid.]]
69 } 69 }
70 70
71 parse @class { 71 parse @class {
@@ -89,7 +89,7 @@ class Efl.Net.Ip_Address (Efl.Object) {
89 params { 89 params {
90 numeric_address: string; [[The numeric address to parse, such as '127.0.0.1:1234' or '[::1]:1234']] 90 numeric_address: string; [[The numeric address to parse, such as '127.0.0.1:1234' or '[::1]:1234']]
91 } 91 }
92 return: own(Efl.Net.Ip_Address); [[The new IP address object or NULL if it failed to parse]] 92 return: Efl.Net.Ip_Address @owned; [[The new IP address object or NULL if it failed to parse]]
93 } 93 }
94 94
95 resolve @class { 95 resolve @class {
diff --git a/src/lib/ecore_con/efl_net_server_udp.eo b/src/lib/ecore_con/efl_net_server_udp.eo
index 6166e0c4f3..402ef758eb 100644
--- a/src/lib/ecore_con/efl_net_server_udp.eo
+++ b/src/lib/ecore_con/efl_net_server_udp.eo
@@ -87,7 +87,7 @@ class Efl.Net.Server.Udp (Efl.Net.Server.Fd) {
87 The iterator is only valid until a new group is joined 87 The iterator is only valid until a new group is joined
88 or left using @.multicast_join or @.multicast_leave. 88 or left using @.multicast_join or @.multicast_leave.
89 ]] 89 ]]
90 return: free(own(iterator<string>), eina_iterator_free); [[List of multicast groups]] 90 return: iterator<string> @owned; [[List of multicast groups]]
91 } 91 }
92 92
93 @property multicast_time_to_live { 93 @property multicast_time_to_live {
diff --git a/src/lib/ecore_con/efl_net_socket_udp.eo b/src/lib/ecore_con/efl_net_socket_udp.eo
index e00c36c98e..de221fac6d 100644
--- a/src/lib/ecore_con/efl_net_socket_udp.eo
+++ b/src/lib/ecore_con/efl_net_socket_udp.eo
@@ -111,7 +111,7 @@ class Efl.Net.Socket.Udp (Efl.Net.Socket.Fd) {
111 The iterator is only valid until a new group is joined 111 The iterator is only valid until a new group is joined
112 or left using @.multicast_join or @.multicast_leave. 112 or left using @.multicast_join or @.multicast_leave.
113 ]] 113 ]]
114 return: free(own(iterator<string>), eina_iterator_free); [[Iterator to multicast groups]] 114 return: iterator<string> @owned; [[Iterator to multicast groups]]
115 } 115 }
116 116
117 @property multicast_time_to_live { 117 @property multicast_time_to_live {
diff --git a/src/lib/ecore_con/efl_net_ssl_context.eo b/src/lib/ecore_con/efl_net_ssl_context.eo
index bf0f9362e0..50405da825 100644
--- a/src/lib/ecore_con/efl_net_ssl_context.eo
+++ b/src/lib/ecore_con/efl_net_ssl_context.eo
@@ -48,7 +48,7 @@ class Efl.Net.Ssl.Context (Efl.Object) {
48 Can only be set during object construction! 48 Can only be set during object construction!
49 ]] 49 ]]
50 values { 50 values {
51 paths: free(own(iterator<string>), eina_iterator_free); [[Path list for certificates]] 51 paths: iterator<string> @owned; [[Path list for certificates]]
52 } 52 }
53 } 53 }
54 54
@@ -58,7 +58,7 @@ class Efl.Net.Ssl.Context (Efl.Object) {
58 Can only be set during object construction! 58 Can only be set during object construction!
59 ]] 59 ]]
60 values { 60 values {
61 paths: free(own(iterator<string>), eina_iterator_free); [[Path list for private keys]] 61 paths: iterator<string> @owned; [[Path list for private keys]]
62 } 62 }
63 } 63 }
64 64
@@ -68,7 +68,7 @@ class Efl.Net.Ssl.Context (Efl.Object) {
68 Can only be set during object construction! 68 Can only be set during object construction!
69 ]] 69 ]]
70 values { 70 values {
71 paths: free(own(iterator<string>), eina_iterator_free); [[Path list for CRL's]] 71 paths: iterator<string> @owned; [[Path list for CRL's]]
72 } 72 }
73 } 73 }
74 74
@@ -78,7 +78,7 @@ class Efl.Net.Ssl.Context (Efl.Object) {
78 Can only be set during object construction! 78 Can only be set during object construction!
79 ]] 79 ]]
80 values { 80 values {
81 paths: free(own(iterator<string>), eina_iterator_free); [[Path list for CA's]] 81 paths: iterator<string> @owned; [[Path list for CA's]]
82 } 82 }
83 } 83 }
84 84