Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4b97f0fd authored by Quddus Chong's avatar Quddus Chong
Browse files

docs: Fix links in native multinetwork API documentation.

Test: Verified by manual build.

Change-Id: I29e382fc6b2e3241cb3f42e153d8997b8b837f3a
parent e7f1979d
Loading
Loading
Loading
Loading
+5 −11
Original line number Diff line number Diff line
@@ -56,12 +56,10 @@ typedef uint64_t net_handle_t;
/**
 * Set the network to be used by the given socket file descriptor.
 *
 * To clear a previous socket binding invoke with NETWORK_UNSPECIFIED.
 * To clear a previous socket binding, invoke with NETWORK_UNSPECIFIED.
 *
 * This is the equivalent of:
 * This is the equivalent of: [android.net.Network#bindSocket()](https://developer.android.com/reference/android/net/Network.html#bindSocket(java.net.Socket))
 *
 *     [ android.net.Network#bindSocket() ]
 *     https://developer.android.com/reference/android/net/Network.html#bindSocket(java.net.Socket)
 */
int android_setsocknetwork(net_handle_t network, int fd);

@@ -75,12 +73,10 @@ int android_setsocknetwork(net_handle_t network, int fd);
 * resolutions will fail.  This is by design so an application doesn't
 * accidentally use sockets it thinks are still bound to a particular network.
 *
 * To clear a previous process binding invoke with NETWORK_UNSPECIFIED.
 * To clear a previous process binding, invoke with NETWORK_UNSPECIFIED.
 *
 * This is the equivalent of:
 * This is the equivalent of: [android.net.ConnectivityManager#setProcessDefaultNetwork()](https://developer.android.com/reference/android/net/ConnectivityManager.html#setProcessDefaultNetwork(android.net.Network))
 *
 *     [ android.net.ConnectivityManager#setProcessDefaultNetwork() ]
 *     https://developer.android.com/reference/android/net/ConnectivityManager.html#setProcessDefaultNetwork(android.net.Network)
 */
int android_setprocnetwork(net_handle_t network);

@@ -96,10 +92,8 @@ int android_setprocnetwork(net_handle_t network);
 *     - either |node| or |service| may be NULL, but not both
 *     - |res| must not be NULL
 *
 * This is the equivalent of:
 * This is the equivalent of: [android.net.Network#getAllByName()](https://developer.android.com/reference/android/net/Network.html#getAllByName(java.lang.String))
 *
 *     [ android.net.Network#getAllByName() ]
 *     https://developer.android.com/reference/android/net/Network.html#getAllByName(java.lang.String)
 */
int android_getaddrinfofornetwork(net_handle_t network,
        const char *node, const char *service,