libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ debugserver_client_send_command()

debugserver_error_t debugserver_client_send_command ( debugserver_client_t  client,
debugserver_command_t  command,
char **  response,
size_t *  response_size 
)

Sends a command to the debugserver service.

Parameters
clientThe debugserver client
commandCommand to process and send
responseResponse received for the command (can be NULL to ignore)
response_sizePointer to receive response size. Set to NULL to ignore.
Returns
DEBUGSERVER_E_SUCCESS on success, DEBUGSERVER_E_INVALID_ARG when client or command is NULL