handle.h: added option for LRO_NETWORK_WAIT and a helper function for handling netowork wait
handle.c: Added callback function required for GMainEventLoop and functionality for option
handle-py.c: Added the case for LRO_NETWORK_WAIT
Adds API support for waiting on network:
This waits for clients network interfaces till the specified time.
lr_handle_setopt(priv->repo_handle, error, LRO_NETWORK_WAIT, seconds)
This parses metalinkurl/baseurl and polls g_network_monitor_can_reach() in an event driven
manner with the help of GMainEventLoop.
Resolves #259
handle.h: added option for LRO_NETWORK_WAIT and a helper function for handling netowork wait handle.c: Added callback function required for GMainEventLoop and functionality for option handle-py.c: Added the case for LRO_NETWORK_WAIT
Adds API support for waiting on network: This waits for clients network interfaces till the specified time. lr_handle_setopt(priv->repo_handle, error, LRO_NETWORK_WAIT, seconds) This parses metalinkurl/baseurl and polls g_network_monitor_can_reach() in an event driven manner with the help of GMainEventLoop.