|
◆ lockdownd_start_session()
Opens a session with lockdownd and switches to SSL mode if device wants it.
- Parameters
-
client | The lockdownd client |
host_id | The HostID of the computer |
session_id | The new session_id of the created session |
ssl_enabled | Whether SSL communication is used in the session |
- Returns
- LOCKDOWN_E_SUCCESS on success, LOCKDOWN_E_INVALID_ARG when a client or host_id is NULL, LOCKDOWN_E_PLIST_ERROR if the response plist had errors, LOCKDOWN_E_INVALID_HOST_ID if the device does not know the supplied HostID, LOCKDOWN_E_SSL_ERROR if enabling SSL communication failed
|