Copyright © 2001 - 2002 SILC Project
SILC Project Website
SILC Toolkit Reference Manual

SILC Toolkit Reference Manual
SILC Core Library
    SILC Authentication Interface
    SILC Channel Interface
    SILC Command Interface
    SILC ID Interface
    SILC ID Cache Interface
    SILC Modes
    SILC Notify Interface
    SILC Argument Interface
    SILC Private Message Interface
    Packet Protocol Interface
SILC Math Library
    SILC MP Interface
    SILC Math Interface
SILC SFTP Library
    SILC SFTP Interface
    SFTP Filesystems Interface
SILC Utility Library
    SILC Buffer Interface
    SILC Buffer Format Interface
    SILC Hash Table Interface
    SILC Logging Interface
    SILC Memory Interface
    SILC Mutex Interface
    SILC Thread Interface
    SILC Network Interface
    SILC Schedule Interface
    SILC Socket Interface
    SILC Protocol Interface
    SILC Config Interface
    SILC File Util Interface
    SILC Util Interface
    SILC List Interface
    SILC Dynamic List Interface
    SILC Zip API
SILC Key Exchange Library
    SILC SKE Interface
    SKE Status Types
    SKE Diffie Hellman Groups
    SKE Payloads
SILC Client Library
    Using SILC Client Library
    Client Library Interface
SILC Crypto Library
    Introduction to SILC RNG
    SILC RNG Interface
    SILC Cipher API
    SILC Hash API
    SILC HMAC API
    SILC PKCS API

Resource Links
SILC Project Website
SILC Protocol Documentation
SILC White Paper
SILC FAQ





SilcCommandStatus

NAME
 
    typedef SilcUInt16 SilcCommandStatus;

DESCRIPTION

    The SilcCommandStatus type definition and the status defines.
    The server returns a status in each Command Payload indicating
    the status of the command.

SOURCE
    typedef SilcUInt16 SilcCommandStatus;
    
    /* Command Status messages */
    #define SILC_STATUS_OK                      0
    #define SILC_STATUS_LIST_START              1
    #define SILC_STATUS_LIST_ITEM               2
    #define SILC_STATUS_LIST_END                3
    #define SILC_STATUS_ERR_NO_SUCH_NICK        10
    #define SILC_STATUS_ERR_NO_SUCH_CHANNEL     11
    #define SILC_STATUS_ERR_NO_SUCH_SERVER      12
    #define SILC_STATUS_ERR_TOO_MANY_TARGETS    13
    #define SILC_STATUS_ERR_NO_RECIPIENT        14
    #define SILC_STATUS_ERR_UNKNOWN_COMMAND     15
    #define SILC_STATUS_ERR_WILDCARDS           16
    #define SILC_STATUS_ERR_NO_CLIENT_ID        17
    #define SILC_STATUS_ERR_NO_CHANNEL_ID       18
    #define SILC_STATUS_ERR_NO_SERVER_ID        19
    #define SILC_STATUS_ERR_BAD_CLIENT_ID       20
    #define SILC_STATUS_ERR_BAD_CHANNEL_ID      21
    #define SILC_STATUS_ERR_NO_SUCH_CLIENT_ID   22
    #define SILC_STATUS_ERR_NO_SUCH_CHANNEL_ID  23
    #define SILC_STATUS_ERR_NICKNAME_IN_USE     24
    #define SILC_STATUS_ERR_NOT_ON_CHANNEL      25
    #define SILC_STATUS_ERR_USER_NOT_ON_CHANNEL 26
    #define SILC_STATUS_ERR_USER_ON_CHANNEL     27
    #define SILC_STATUS_ERR_NOT_REGISTERED      28
    #define SILC_STATUS_ERR_NOT_ENOUGH_PARAMS   29
    #define SILC_STATUS_ERR_TOO_MANY_PARAMS     30
    #define SILC_STATUS_ERR_PERM_DENIED         31
    #define SILC_STATUS_ERR_BANNED_FROM_SERVER  32
    #define SILC_STATUS_ERR_BAD_PASSWORD        33
    #define SILC_STATUS_ERR_CHANNEL_IS_FULL     34
    #define SILC_STATUS_ERR_NOT_INVITED         35
    #define SILC_STATUS_ERR_BANNED_FROM_CHANNEL 36
    #define SILC_STATUS_ERR_UNKNOWN_MODE        37
    #define SILC_STATUS_ERR_NOT_YOU             38
    #define SILC_STATUS_ERR_NO_CHANNEL_PRIV     39
    #define SILC_STATUS_ERR_NO_CHANNEL_FOPRIV   40
    #define SILC_STATUS_ERR_NO_SERVER_PRIV      41
    #define SILC_STATUS_ERR_NO_ROUTER_PRIV      42
    #define SILC_STATUS_ERR_BAD_NICKNAME        43
    #define SILC_STATUS_ERR_BAD_CHANNEL         44
    #define SILC_STATUS_ERR_AUTH_FAILED         45
    #define SILC_STATUS_ERR_UNKNOWN_ALGORITHM   46
    #define SILC_STATUS_ERR_NO_SUCH_SERVER_ID   47





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




Copyright © 2001 - 2002 SILC Project
SILC Project Website
SILC Toolkit Reference Manual