silc_config_register_table

SYNOPSIS

    SilcBool silc_config_register_table(SilcConfigEntity ent,
                                    const SilcConfigTable table[],
                                    void *context);

DESCRIPTION

Register the tableset of options `table' automatically in the entity `ent'. If defined in the table, the callback functions will be called all with the same context `context'.

The `table' array must be terminated with an entry with the name field set to NULL.

If the table contains invalid data this function returns FALSE, otherwise it returns TRUE. If a calling to this function failed, you must destroy and recreate the entity before retrying, as it's impossible to detect the point at the function stopped the registering process.

SEE ALSO

SilcConfigTable