Copyright © 2001 - 2007 SILC Project SILC Project Website | SILC Toolkit Reference Manual Index

SILC Toolkit Reference Manual
SILC VCard Library
SILC VCard Interface
SILC Crypto Library
Introduction to SILC RNG
SILC RNG Interface
SILC Cipher API
SILC PKCS API
SILC Public Key API
SILC PKCS #1 API
SILC Hash Interface
SILC HMAC Interface
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
Unicode and UTF-8 Strings in Client Library
Client Library Interface Reference
Client Entry Interface Reference
SILC Math Library
SILC MP Interface
SILC Math Interface
SILC Application Utility Library
SILC Application Utilities
SILC ID Cache Interface
SILC Key Repository Library
SILC SKR Interface
SILC ASN.1 Library
SILC ASN.1 Interface
SILC BER interface
SILC Key Exchange Library
SILC SKE Interface
SILC Connection Authentication Interface
SILC SFTP Library
SILC SFTP Interface
SFTP Filesystems Interface
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 Argument Interface
SILC Attributes Interface
Packet Engine Interface
SILC Public Key Payload Interface
SILC Utility Library
Basic Types and Definitions
Data Buffer Interface
Data Buffer Format Interface
Hash Table Interface
Memory Allocation Interface
Data Stack (memory pool) Interface
Finite State Machine Interface
Thread Interface
Mutual Exclusion Lock Interface
Condition Variable Interface
Atomic Operations Interface
Network (TCP and UDP) Interface
Scheduler Interface
Asynchronous Operation Interface
Abstract Stream Interface
Socket Stream Interface
File Descriptor Stream Interface
File Utility Functions
String Utility Interface
Snprintf Interface
UTF-8 String Interface
Stringprep Interface
Utility Functions
List Interface
Dynamic List Interface
MIME Interface
Time Utility Functions
Logging Interface
Config File Interface
SILC HTTP Library
SILC HTTP Server Interface
SILC HTTP PHP Translator
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
        #define SILC_STATUS_ERR_BAD_SERVER          57
        #define SILC_STATUS_ERR_BAD_USERNAME        58
        #define SILC_STATUS_ERR_NO_SUCH_PUBLIC_KEY  59

SILC Status Types SilcStatus silc_status_get_args

Copyright © 2001 - 2007 SILC Project SILC Project Website | SILC Toolkit Reference Manual Index