summaryrefslogtreecommitdiff
path: root/src/lib/ecore_con
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>2017-04-25 11:16:40 -0300
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>2017-04-25 11:18:00 -0300
commit6dd359473593e2ea33f5ebf23fcd3bf85d08df67 (patch)
tree5bdb1a9964275b7529836c5f27a62f47d6a265e4 /src/lib/ecore_con
parentd54e130b701f27888d2d0714fbb2b6c1e3be990a (diff)
efl.net: rename Ip.Address to Ip_Address.
It's unlikely that we'll have other stuff under Ip namespace, also not that likely to have other than Ip Addresses (to invert it to Address.Ip), thus make a toplevel entry Ip_Address as suggested by DaveMDS.
Diffstat (limited to 'src/lib/ecore_con')
-rw-r--r--src/lib/ecore_con/efl_net_ip_address.eo20
-rw-r--r--src/lib/ecore_con/efl_net_socket_udp.eo2
2 files changed, 11 insertions, 11 deletions
diff --git a/src/lib/ecore_con/efl_net_ip_address.eo b/src/lib/ecore_con/efl_net_ip_address.eo
index 2ce206750b..5241553fe5 100644
--- a/src/lib/ecore_con/efl_net_ip_address.eo
+++ b/src/lib/ecore_con/efl_net_ip_address.eo
@@ -1,18 +1,18 @@
1import eina_types; 1import eina_types;
2 2
3struct Efl.Net.Ip.Address.Resolve_Results { 3struct Efl.Net.Ip_Address.Resolve_Results {
4 [[The results of @Efl.Net.Ip.Address.resolve call. 4 [[The results of @Efl.Net.Ip_Address.resolve call.
5 5
6 This structure is created by @Efl.Net.Ip.Address.resolve. 6 This structure is created by @Efl.Net.Ip_Address.resolve.
7 7
8 @since 1.19 8 @since 1.19
9 ]] 9 ]]
10 request_address: string; [[The 'address' argument given to Efl.Net.Ip.Address.resolve]] 10 request_address: string; [[The 'address' argument given to Efl.Net.Ip_Address.resolve]]
11 canonical_name: string; [[The canonical name, if it was requested in flags]] 11 canonical_name: string; [[The canonical name, if it was requested in flags]]
12 results: array<Efl.Net.Ip.Address>; [[The resolved objects. Do not modify this array, but you can keep reference to elements using efl_ref() and efl_unref()]] 12 results: array<Efl.Net.Ip_Address>; [[The resolved objects. Do not modify this array, but you can keep reference to elements using efl_ref() and efl_unref()]]
13} 13}
14 14
15class Efl.Net.Ip.Address (Efl.Object) { 15class Efl.Net.Ip_Address (Efl.Object) {
16 [[An Internet Protocol (IP) Address. 16 [[An Internet Protocol (IP) Address.
17 17
18 This class is a set of helpers to translate to and from address 18 This class is a set of helpers to translate to and from address
@@ -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: own(Efl.Net.Ip_Address); [[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: own(Efl.Net.Ip_Address); [[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: own(Efl.Net.Ip_Address); [[The new IP address object or NULL if it failed to parse]]
93 } 93 }
94 94
95 resolve @class { 95 resolve @class {
@@ -112,7 +112,7 @@ class Efl.Net.Ip.Address (Efl.Object) {
112 family: int @optional; [[Preferred family. AF_UNSPEC or 0 for both, otherwise one of AF_INET or AF_INET6]] 112 family: int @optional; [[Preferred family. AF_UNSPEC or 0 for both, otherwise one of AF_INET or AF_INET6]]
113 flags: int @optional; [[Flags to use with getaddrinfo(). If 0, default flags are used (AI_V4MAPPED | AI_ADDRCONFIG, if these exist in your system).]] 113 flags: int @optional; [[Flags to use with getaddrinfo(). If 0, default flags are used (AI_V4MAPPED | AI_ADDRCONFIG, if these exist in your system).]]
114 } 114 }
115 return: future<const(Efl.Net.Ip.Address.Resolve_Results)>; [[The resolve results. It contains a list of Efl.Net.Ip.Address, they will be automatically deleted unless you keep a reference to it.]] 115 return: future<const(Efl.Net.Ip_Address.Resolve_Results)>; [[The resolve results. It contains a list of Efl.Net.Ip_Address, they will be automatically deleted unless you keep a reference to it.]]
116 } 116 }
117 117
118 @property string { 118 @property string {
diff --git a/src/lib/ecore_con/efl_net_socket_udp.eo b/src/lib/ecore_con/efl_net_socket_udp.eo
index 826e4c605f..e00c36c98e 100644
--- a/src/lib/ecore_con/efl_net_socket_udp.eo
+++ b/src/lib/ecore_con/efl_net_socket_udp.eo
@@ -168,7 +168,7 @@ class Efl.Net.Socket.Udp (Efl.Net.Socket.Fd) {
168 init @protected { 168 init @protected {
169 [[Initializes the socket to communicate with given IP address]] 169 [[Initializes the socket to communicate with given IP address]]
170 params { 170 params {
171 remote_address: Efl.Net.Ip.Address; [[The remote address this socket will communicate with]] 171 remote_address: Efl.Net.Ip_Address; [[The remote address this socket will communicate with]]
172 } 172 }
173 } 173 }
174 } 174 }