va_start(ap, argc);
packet = silc_command_payload_encode_vap(command, ident, argc, ap);
va_start(ap, argc);
packet = silc_command_payload_encode_vap(command, ident, argc, ap);
silc_list_start(client->internal->commands);
while ((cmd = silc_list_get(client->internal->commands)) != SILC_LIST_END) {
if (cmd->name && !strcmp(cmd->name, name))
silc_list_start(client->internal->commands);
while ((cmd = silc_list_get(client->internal->commands)) != SILC_LIST_END) {
if (cmd->name && !strcmp(cmd->name, name))
void silc_client_command_call(SilcClientCommand command,
SilcClientCommandContext cmd)
{
void silc_client_command_call(SilcClientCommand command,
SilcClientCommandContext cmd)
{
reply = silc_calloc(1, sizeof(*reply));
reply->reply_cmd = reply_cmd;
reply->ident = ident;
reply = silc_calloc(1, sizeof(*reply));
reply->reply_cmd = reply_cmd;
reply->ident = ident;