]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
cgconfig.conf: parse template tag and fill relevant structures
authorIvana Hutarova Varekova <varekova@redhat.com>
Mon, 28 Jan 2013 13:41:32 +0000 (14:41 +0100)
committerIvana Hutarova Varekova <varekova@redhat.com>
Mon, 28 Jan 2013 13:41:32 +0000 (14:41 +0100)
commit7f88347742c07854234361f5c95fdeb939183152
treeea3bd28328e6821a65f4911f8e6faded1918129e
parentf3c3fce99f0ee0885b76f66ee8e1913153b31577
cgconfig.conf: parse template tag and fill relevant structures

    cgconfig.conf: this patch add structures : MAX_TEMPLATES, config_template_table, config_template_table_index and the body of functions: template_config_insert_cgroup, template_config_parse_controller_options
    The structures stored the content of "template" tag from configuration file "cgconfig.conf". The structure have the same meaning as have structures for control groups tag.

    CHANGELOG:
        create enum instead of constants

Signed-off-by: Ivana Hutarova Varekova <varekova@redhat.com>
Acked-By: Jan Safranek <jsafrane@redhat.com>
src/api.c
src/config.c