summaryrefslogtreecommitdiff
path: root/src/lib/ecore_con
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2018-05-23 11:21:10 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2018-05-23 17:33:47 +0200
commitf477d4ad360d6b5c6442b0f3fdbe215741aac873 (patch)
tree6446343b80ce4303582ca276e54a116e04efe4a2 /src/lib/ecore_con
parent92bf45bf7cda2f22c0aa6b559f3907d72a4ec95c (diff)
efl: rename Efl.Net.*.* -> Efl.Net.*_*
Diffstat (limited to 'src/lib/ecore_con')
-rw-r--r--src/lib/ecore_con/efl_net_ip_address.eo4
-rw-r--r--src/lib/ecore_con/efl_net_session.eo16
2 files changed, 10 insertions, 10 deletions
diff --git a/src/lib/ecore_con/efl_net_ip_address.eo b/src/lib/ecore_con/efl_net_ip_address.eo
index e715a0c..eebbb0a 100644
--- a/src/lib/ecore_con/efl_net_ip_address.eo
+++ b/src/lib/ecore_con/efl_net_ip_address.eo
@@ -1,6 +1,6 @@
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.
@@ -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_session.eo b/src/lib/ecore_con/efl_net_session.eo
index 8bfd449..87ca0d0 100644
--- a/src/lib/ecore_con/efl_net_session.eo
+++ b/src/lib/ecore_con/efl_net_session.eo
@@ -1,4 +1,4 @@
1enum Efl.Net.Session.State { 1enum Efl.Net.Session_State {
2 [[Provides the session connectivity state. 2 [[Provides the session connectivity state.
3 3
4 @since 1.19 4 @since 1.19
@@ -9,7 +9,7 @@ enum Efl.Net.Session.State {
9} 9}
10 10
11/* keep in sync with efl_net_control_technology.eo, comment what doesn't make sense */ 11/* keep in sync with efl_net_control_technology.eo, comment what doesn't make sense */
12enum Efl.Net.Session.Technology { 12enum Efl.Net.Session_Technology {
13 [[Bitwise-able technologies to allow for a network session. 13 [[Bitwise-able technologies to allow for a network session.
14 14
15 @since 1.9 15 @since 1.9
@@ -24,7 +24,7 @@ enum Efl.Net.Session.Technology {
24 vpn = (1 << 6), [[Type: Virtual Private Network]] 24 vpn = (1 << 6), [[Type: Virtual Private Network]]
25 gadget = (1 << 7), [[Type: USB gadget]] 25 gadget = (1 << 7), [[Type: USB gadget]]
26/* p2p = (1 << 8), [[Type: Peer-2-Peer]]*/ 26/* p2p = (1 << 8), [[Type: Peer-2-Peer]]*/
27 all = (Efl.Net.Session.Technology.ethernet | Efl.Net.Session.Technology.wifi | Efl.Net.Session.Technology.bluetooth | Efl.Net.Session.Technology.cellular | Efl.Net.Session.Technology.vpn | Efl.Net.Session.Technology.gadget), [[All technology types]] 27 all = (Efl.Net.Session_Technology.ethernet | Efl.Net.Session_Technology.wifi | Efl.Net.Session_Technology.bluetooth | Efl.Net.Session_Technology.cellular | Efl.Net.Session_Technology.vpn | Efl.Net.Session_Technology.gadget), [[All technology types]]
28} 28}
29 29
30class Efl.Net.Session (Efl.Loop_Consumer) { 30class Efl.Net.Session (Efl.Loop_Consumer) {
@@ -37,9 +37,9 @@ class Efl.Net.Session (Efl.Loop_Consumer) {
37 37
38 Some platforms may not implement the backend for this class. In 38 Some platforms may not implement the backend for this class. In
39 this cases the system will report always @.state "online" 39 this cases the system will report always @.state "online"
40 (@Efl.Net.Session.State.online) and other properties will be 40 (@Efl.Net.Session_State.online) and other properties will be
41 NULL, such as @.network_name, @.interface, @.ipv4 and @.ipv6; as well as 41 NULL, such as @.network_name, @.interface, @.ipv4 and @.ipv6; as well as
42 @.technology is set to @Efl.Net.Session.Technology.unknown. As such 42 @.technology is set to @Efl.Net.Session_Technology.unknown. As such
43 if you need to detect for an actual backend, check if the 43 if you need to detect for an actual backend, check if the
44 state is online but those properties are NULL or technology is 44 state is online but those properties are NULL or technology is
45 unknown. 45 unknown.
@@ -70,7 +70,7 @@ class Efl.Net.Session (Efl.Loop_Consumer) {
70 ]] 70 ]]
71 params { 71 params {
72 online_required: bool; [[If $false, access points with local state are enough. If $true, the access point must be in online state, with a validated internet connection]] 72 online_required: bool; [[If $false, access points with local state are enough. If $true, the access point must be in online state, with a validated internet connection]]
73 technologies_allowed: Efl.Net.Session.Technology; [[Bitwise OR of technologies to allow]] 73 technologies_allowed: Efl.Net.Session_Technology; [[Bitwise OR of technologies to allow]]
74 } 74 }
75 } 75 }
76 76
@@ -102,7 +102,7 @@ class Efl.Net.Session (Efl.Loop_Consumer) {
102 ]] 102 ]]
103 get { } 103 get { }
104 values { 104 values {
105 state: Efl.Net.Session.State; [[Network session state]] 105 state: Efl.Net.Session_State; [[Network session state]]
106 } 106 }
107 } 107 }
108 108
@@ -110,7 +110,7 @@ class Efl.Net.Session (Efl.Loop_Consumer) {
110 [[The access point technology that backs this session]] 110 [[The access point technology that backs this session]]
111 get { } 111 get { }
112 values { 112 values {
113 technology: Efl.Net.Session.Technology; [[Network session technology]] 113 technology: Efl.Net.Session_Technology; [[Network session technology]]
114 } 114 }
115 } 115 }
116 116