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

SILC Toolkit Reference Manual
SILC Core Library
    SILC Authentication Interface
    SILC Message Interface
    SILC Channel Interface
    SILC Command Interface
    SILC Notify Interface
    SILC Status Types
    SILC Modes
    SILC ID Interface
    SILC ID Cache Interface
    SILC Argument Interface
    SILC Attributes 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
    Basic SILC Types
    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 String Util Interface
    SILC Util Interface
    SILC List Interface
    SILC Dynamic List Interface
    SILC VCard Interface
    SILC Application Utilities
SILC Key Exchange Library
    SILC SKE Interface
    SKE Status Types
    SKE Diffie Hellman Groups
    SKE Payloads
SILC Client Library
    Using SILC Client Library Tutorial
    Arguments for command_reply Client Operation
    SilcStatus Error Arguments in command_reply Client Operation
    Arguments for notify Client Operation
    Client Library Interface Reference
SILC Crypto Library
    Introduction to SILC RNG
    SILC RNG Interface
    SILC Cipher API
    SILC PKCS API
    SILC PKCS#1 API
    SILC Hash Interface
    SILC HMAC Interface

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





SilcStatus

NAME

    typedef SilcUInt8 SilcStatus

DESCRIPTION

    The SilcStatus type definition and the status defines.  The
    server returns a status in each Command Payload indicating
    the status of the command.  The server can also return this
    inside SILC_NOTIFY_TYPE_ERROR notify type.

SOURCE
    typedef SilcUInt8 SilcStatus;
    
    /* 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_INCOMPLETE_INFORMATION    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
    #define SILC_STATUS_ERR_RESOURCE_LIMIT      48
    #define SILC_STATUS_ERR_NO_SUCH_SERVICE     49
    #define SILC_STATUS_ERR_NOT_AUTHENTICATED   50
    #define SILC_STATUS_ERR_BAD_SERVER_ID       51
    #define SILC_STATUS_ERR_KEY_EXCHANGE_FAILED 52
    #define SILC_STATUS_ERR_BAD_VERSION         53
    #define SILC_STATUS_ERR_TIMEDOUT            54
    #define SILC_STATUS_ERR_UNSUPPORTED_PUBLIC_KEY    55
    #define SILC_STATUS_ERR_OPERATION_ALLOWED   56





SILC Status Types
SilcStatus
silc_status_get_args




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