ccvs_command

string ccvs_command(string session, string command, string argument) 

Executes a protocol-specific command.

Returns:

OK on success; on error, invalid request, syntax error, uninitialized, or unknown

Description:

Various protocols implement their own commands, which may or may not be shared by other protocols. Since it would be unrealistic to attempt to provide API functions for all possible commands in all possible protocols, ccvs_command() allows you to execute arbitrary protocol-specific commands in a general way.

If appropriate, any additional results of the command can be fetched by using ccvs_textvalue().

Set command to the name of the command you want to execute, and argument to any additional information required by the ...

Get PHP Functions Essential Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.