this case you should wait for "done", "data" or "line"
events and then call it to retrieve (and own!) the data.
]]
- return: free(own(ptr(Eina.Binbuf)), eina_binbuf_free) @warn_unused; [[Binbuf]]
+ return: free(ptr(Eina.Binbuf), eina_binbuf_free) @owned @warn_unused; [[Binbuf]]
}
@property pending_size {
This has higher priority, for low priority use
@.Eina_FutureXXX_idle
]]
- return: own(ptr(Eina.Future)) /* TODO: future<void> */; [[The future handle.]]
+ return: ptr(Eina.Future) @owned /* TODO: future<void> */; [[The future handle.]]
}
Eina_FutureXXX_idle {
[[A future promise that will be resolved from a clean main
This is a low priority version of @.Eina_FutureXXX_job
]]
- return: own(ptr(Eina.Future)) /* TODO: future<void> */; [[The future handle.]]
+ return: ptr(Eina.Future) @owned /* TODO: future<void> */; [[The future handle.]]
}
Eina_FutureXXX_timeout {
[[A future promise that will be resolved from a clean main
params {
@in time: double; [[The time from now in second that the main loop will wait before triggering it.]]
}
- return: own(ptr(Eina.Future)) /* future<void> */; [[The future handle.]]
+ return: ptr(Eina.Future) @owned /* future<void> */; [[The future handle.]]
}
job {
[[Will execute that promise in the near future.]]
params {
name: string; [[Property name]]
}
- return: free(own(iterator<void_ptr>), eina_iterator_free) @warn_unused;
+ return: iterator<void_ptr> @owned @warn_unused;
[[The currently wrapped values]]
}
child_property_add {
params {
name: string; [[Property name]]
type: ptr(const(Eina.Value.Type)); [[Property type]]
- values: own(iterator<const(void_ptr)>); [[Values to be added]]
+ values: iterator<const(void_ptr)> @owned; [[Values to be added]]
}
return: bool; [[$true on success, $false otherwise]]
}
]]
get { }
values {
- access_points: free(own(iterator<Efl.Net.Control.Access_Point>), eina_iterator_free); [[Iterator of current access points]]
+ access_points: iterator<Efl.Net.Control.Access_Point> @owned; [[Iterator of current access points]]
}
}
]]
get { }
values {
- technologies: free(own(iterator<Efl.Net.Control.Technology>), eina_iterator_free); [[Iterator of current technologies]]
+ technologies: iterator<Efl.Net.Control.Technology> @owned; [[Iterator of current technologies]]
}
}
]]
get { }
values {
- name_servers: free(own(iterator<string>), eina_iterator_free); [[Iterator to DNS server]]
+ name_servers: iterator<string> @owned; [[Iterator to DNS server]]
}
}
]]
get { }
values {
- time_servers: free(own(iterator<string>), eina_iterator_free); [[Iterator to time server]]
+ time_servers: iterator<string> @owned; [[Iterator to time server]]
}
}
]]
get { }
values {
- domains: free(own(iterator<string>), eina_iterator_free); [[Iterator to search domains]]
+ domains: iterator<string> @owned; [[Iterator to search domains]]
}
}
values {
method: Efl.Net.Control.Access_Point.Proxy_Method; [[Proxy method]]
url: string; [[If @Efl.Net.Control.Access_Point.Proxy_Method.auto, then states the URL to use for proxy auto-configuration]]
- 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"]]
- 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..."]]
+ 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"]]
+ 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..."]]
}
}
set { }
get { }
values {
- name_servers: free(own(iterator<string>), eina_iterator_free); [[Iterator to user DNS server]]
+ name_servers: iterator<string> @owned; [[Iterator to user DNS server]]
}
}
set { }
get { }
values {
- time_servers: free(own(iterator<string>), eina_iterator_free); [[Iterator to user time server]]
+ time_servers: iterator<string> @owned; [[Iterator to user time server]]
}
}
set { }
get { }
values {
- domains: free(own(iterator<string>), eina_iterator_free); [[Iterator to user search domains]]
+ domains: iterator<string> @owned; [[Iterator to user search domains]]
}
}
values {
method: Efl.Net.Control.Access_Point.Proxy_Method; [[Proxy method]]
url: string; [[If @Efl.Net.Control.Access_Point.Proxy_Method.auto, then states the URL to use for proxy auto-configuration]]
- 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"]]
- 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..."]]
+ 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"]]
+ 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..."]]
}
}
}
request_headers_get {
[[Returns an iterator to the key-value pairs for request headers]]
- return: free(own(iterator<Efl.Net.Http.Header>), eina_iterator_free) @warn_unused; [[Iterator for request headers]]
+ return: iterator<Efl.Net.Http.Header> @owned @warn_unused; [[Iterator for request headers]]
}
@property request_content_length {
This will be usable after "headers,done" event is dispatched.
]]
- return: free(own(iterator<Efl.Net.Http.Header>), eina_iterator_free) @warn_unused; [[Iterator for response headers]]
+ return: iterator<Efl.Net.Http.Header> @owned @warn_unused; [[Iterator for response headers]]
}
response_headers_all_get {
This will be usable after "headers,done" event is dispatched.
]]
- return: free(own(iterator<Efl.Net.Http.Header>), eina_iterator_free) @warn_unused; [[Iterator for all response headers]]
+ return: iterator<Efl.Net.Http.Header> @owned @warn_unused; [[Iterator for all response headers]]
}
response_headers_clear {
params {
epochtime: int64; [[UNIX Epoch time - seconds since 1/1/1970]]
}
- return: free(own(ptr(char)), free) @warn_unused; [[Newly allocated null-terminated string on success or NULL on errors]]
+ return: string @owned @warn_unused; [[Newly allocated null-terminated string on success or NULL on errors]]
}
}
request_protocols_get {
[[Returns an iterator to the requested WebSocket protocols]]
- return: free(own(iterator<string>), eina_iterator_free) @warn_unused; [[Iterator to protocols]]
+ return: iterator<string> @owned @warn_unused; [[Iterator to protocols]]
}
request_protocols_clear {
response_protocols_get {
[[Returns an iterator to the server-replied (response) WebSocket protocols it supports]]
- return: free(own(iterator<string>), eina_iterator_free) @warn_unused; [[Iterator to server protocols]]
+ return: iterator<string> @owned @warn_unused; [[Iterator to server protocols]]
}
@property streaming_mode {
request_headers_get {
[[Returns an iterator to the key-value pairs for request headers]]
- return: free(own(iterator<Efl.Net.Http.Header>), eina_iterator_free) @warn_unused; [[Iterator to key value pairs]]
+ return: iterator<Efl.Net.Http.Header> @owned @warn_unused; [[Iterator to key value pairs]]
}
@property cookie_jar {
port: uint16; [[Port number in Host/Native endianess]]
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.]]
}
- return: own(Efl.Net.Ip_Address); [[Newly created object or $NULL if parameters were invalid.]]
+ return: Efl.Net.Ip_Address @owned; [[Newly created object or $NULL if parameters were invalid.]]
}
create_sockaddr @class {
params {
sockaddr: const(void_ptr) @nonull; [[The pointer to struct sockaddr-compatible handle as per <netinet/in.h>.]]
}
- return: own(Efl.Net.Ip_Address); [[Newly created object or $NULL if parameter was invalid.]]
+ return: Efl.Net.Ip_Address @owned; [[Newly created object or $NULL if parameter was invalid.]]
}
parse @class {
params {
numeric_address: string; [[The numeric address to parse, such as '127.0.0.1:1234' or '[::1]:1234']]
}
- return: own(Efl.Net.Ip_Address); [[The new IP address object or NULL if it failed to parse]]
+ return: Efl.Net.Ip_Address @owned; [[The new IP address object or NULL if it failed to parse]]
}
resolve @class {
The iterator is only valid until a new group is joined
or left using @.multicast_join or @.multicast_leave.
]]
- return: free(own(iterator<string>), eina_iterator_free); [[List of multicast groups]]
+ return: iterator<string> @owned; [[List of multicast groups]]
}
@property multicast_time_to_live {
The iterator is only valid until a new group is joined
or left using @.multicast_join or @.multicast_leave.
]]
- return: free(own(iterator<string>), eina_iterator_free); [[Iterator to multicast groups]]
+ return: iterator<string> @owned; [[Iterator to multicast groups]]
}
@property multicast_time_to_live {
Can only be set during object construction!
]]
values {
- paths: free(own(iterator<string>), eina_iterator_free); [[Path list for certificates]]
+ paths: iterator<string> @owned; [[Path list for certificates]]
}
}
Can only be set during object construction!
]]
values {
- paths: free(own(iterator<string>), eina_iterator_free); [[Path list for private keys]]
+ paths: iterator<string> @owned; [[Path list for private keys]]
}
}
Can only be set during object construction!
]]
values {
- paths: free(own(iterator<string>), eina_iterator_free); [[Path list for CRL's]]
+ paths: iterator<string> @owned; [[Path list for CRL's]]
}
}
Can only be set during object construction!
]]
values {
- paths: free(own(iterator<string>), eina_iterator_free); [[Path list for CA's]]
+ paths: iterator<string> @owned; [[Path list for CA's]]
}
}