SILC Core Library SILC Auth API SILC Channel API SILC Command API SILC ID API SILC ID Cache API SILC Modes SILC Notify API SILC Packet API SILC Argument API SILC Private API SILC Math Library SILC Math API SILC MP API SILC SFTP Library SILC SFTP API SILC SFTP Filesystems SILC Utility Library SILC Buffer API SILC Buffer Format API SILC Buffer Utility API SILC Hash Table API SILC Log and Debug API SILC Memory API SILC Mutex API SILC Thread API SILC Net API SILC Schedule API SILC Socket Connection API SILC Protocol API SILC Util API SILC Zip API SILC List API SILC Dynamic List API SILC Key Exchange Library SILC SKE API SILC SKE Status SILC Client Library SILC Client API SILC Crypto Library SILC Cipher API SILC Hash API SILC HMAC API SILC PKCS API SILC RNG API
Function silc_command_payload_encode_va SYNOPSIS
        SilcBuffer silc_command_payload_encode_va(SilcCommand cmd,
                                                  uint16 ident,
                                                  uint32 argc, ...);
DESCRIPTION
        Encodes Command payload with variable argument list. The arguments
        must be: uint32, unsigned char *, unsigned int, ... One
        {uint32, unsigned char * and unsigned int} forms one argument,
        thus `argc' in case when sending one {uint32, unsigned char *
        and uint32} equals one (1) and when sending two of those it
        equals two (2), and so on. This has to be preserved or bad things
        will happen. The variable arguments is: {type, data, data_len}.
>> SilcCommandAPI >> SilcCommandCb >> SilcCommandPayload >> SilcCommandFlags >> SilcCommand >> SilcCommandStatus >> silc_command_payload_parse >> silc_command_payload_encode >> silc_command_payload_encode_payload >> silc_command_payload_encode_va >> silc_command_payload_encode_vap >> silc_command_reply_payload_encode_va >> silc_command_reply_payload_encode_vap >> silc_command_free >> silc_command_get >> silc_command_get_args >> silc_command_get_ident >> silc_command_set_ident >> silc_command_set_command