libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ debugserver_command_new()

debugserver_error_t debugserver_command_new ( const char *  name,
int  argc,
char *  argv[],
debugserver_command_t command 
)

Creates and initializes a new command object.

Parameters
nameThe name of the command which is sent in plain text
argvArray of tokens for the command ment to be encoded
argcNumber of items in the token array
commandNew command object
Returns
DEBUGSERVER_E_SUCCESS on success, DEBUGSERVER_E_INVALID_ARG when name or command is NULL