|
◆ np_client_new()
Connects to the notification_proxy on the specified device.
- Parameters
-
device | The device to connect to. |
service | The service descriptor returned by lockdownd_start_service. |
client | Pointer that will be set to a newly allocated np_client_t upon successful return. |
- Returns
- NP_E_SUCCESS on success, NP_E_INVALID_ARG when device is NULL, or NP_E_CONN_FAILED when the connection to the device could not be established.
|