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

SILC Toolkit Reference Manual SILC Client Library Using SILC Client Library Client Library 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 ID Cache Interface SILC Argument Interface SILC Attributes Interface Packet Protocol Interface SILC Crypto Library Introduction to SILC RNG SILC RNG Interface SILC Cipher API SILC PKCS API SILC Hash Interface SILC HMAC Interface SILC Math Library SILC MP Interface SILC Math Interface SILC SFTP Library SILC SFTP Interface SFTP Filesystems Interface SILC Key Exchange Library SILC SKE Interface SKE Status Types SKE Diffie Hellman Groups SKE Payloads 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 Resource Links SILC Project Website SILC Protocol Documentation SILC White Paper SILC FAQ
SilcConfigType NAME
        typedef enum { ... } SilcConfigType;
DESCRIPTION
        This identifies the parameter type that an option has. This parameter
        is very important because the callback's *val pointer points to a
        memory location containing the previously specified data type.
        For example, if you specified an option with an integer parameter
        callback's *val will be a pointer to an integer.
SOURCE
        typedef enum {
          SILC_CONFIG_ARG_TOGGLE,       /* TOGGLE on,off; yes,no; true, false; */
          SILC_CONFIG_ARG_INT,          /* callback wants an integer */
          SILC_CONFIG_ARG_STR,          /* callback expects \0-terminated str */
          SILC_CONFIG_ARG_STRE,         /* same as above, but can also be empty */
          SILC_CONFIG_ARG_BLOCK,        /* this is a sub-block */
          SILC_CONFIG_ARG_SIZE,         /* like int, but accepts suffixes kMG */
          SILC_CONFIG_ARG_NONE,         /* does not expect any args */
        } SilcConfigType;
SILC Config Interface SilcConfigErrno SilcConfigType SilcConfigCallback SilcConfigTable SilcConfigFile SilcConfigEntity SILC_CONFIG_CALLBACK silc_config_open silc_config_close silc_config_init silc_config_strerror silc_config_get_filename silc_config_get_line silc_config_read_line silc_config_read_current_line silc_config_register silc_config_register_table silc_config_main

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