The GPS engine needs the hostname for the secure SUPL case
and deferring the DNS lookup to the HAL might be helpful in the future
if the SUPL server is on a carrier's private network.
Signed-off-by: Mike Lockwood <lockwood@android.com>
*/
int (*data_conn_failed)();
/**
- * Sets the IP address and port for the AGPS server.
+ * Sets the hostname and port for the AGPS server.
*/
- int (*set_server)(AGpsType type, uint32_t addr, int port );
+ int (*set_server)( AGpsType type, const char* hostname, int port );
} AGpsInterface;
/** Returns the hardware GPS interface. */