diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-10-04 15:29:11 +0200 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-10-04 15:29:11 +0200 |
| commit | 5dad968aa90ded83d57211426bc186f6d609ef06 (patch) | |
| tree | 1f072a2f5af07a64d88b85e04f0bc321d921c07a /exports/disco.go | |
| parent | b950e027b3553ccc767f88be8e88a1b3acf1b383 (diff) | |
State: Rename to client to avoid confusion with the FSM
Diffstat (limited to 'exports/disco.go')
| -rw-r--r-- | exports/disco.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/exports/disco.go b/exports/disco.go index ac7ac7d..3058334 100644 --- a/exports/disco.go +++ b/exports/disco.go @@ -47,7 +47,7 @@ import ( ) func getCPtrDiscoOrganization( - state *eduvpn.VPNState, + state *eduvpn.Client, organization *types.DiscoveryOrganization, ) *C.discoveryOrganization { returnedStruct := (*C.discoveryOrganization)( @@ -61,7 +61,7 @@ func getCPtrDiscoOrganization( } func getCPtrDiscoOrganizations( - state *eduvpn.VPNState, + state *eduvpn.Client, organizations *types.DiscoveryOrganizations, ) (C.size_t, **C.discoveryOrganization) { totalOrganizations := C.size_t(len(organizations.List)) @@ -82,7 +82,7 @@ func getCPtrDiscoOrganizations( } func getCPtrDiscoServer( - state *eduvpn.VPNState, + state *eduvpn.Client, server *types.DiscoveryServer, ) *C.discoveryServer { returnedStruct := (*C.discoveryServer)( @@ -104,7 +104,7 @@ func getCPtrDiscoServer( } func getCPtrDiscoServers( - state *eduvpn.VPNState, + state *eduvpn.Client, servers *types.DiscoveryServers, ) (C.size_t, **C.discoveryServer) { totalServers := C.size_t(len(servers.List)) |
