| version 1.21, 2002/07/15 14:45:54 |
version 1.22, 2002/07/18 22:16:30 |
|
|
| * ____________________________________________________________ |
* ____________________________________________________________ |
| * |
* |
| * Developed by Ondrej Jombik <nepto@pobox.sk> |
* Developed by Ondrej Jombik <nepto@pobox.sk> |
| * and Lubomir Host <rajo@host.sk> |
* and Lubomir Host <rajo@host.sk> |
| * Copyright (c) 2001-2002 Platon SDG, http://www.platon.sk/ |
* Copyright (c) 2001-2002 Platon SDG, http://www.platon.sk/ |
| * All rights reserved. |
* All rights reserved. |
| * |
* |
| Line 227 cfg_add_property(con, type, str) |
|
| Line 227 cfg_add_property(con, type, str) |
|
| enum cfg_property_type type; |
enum cfg_property_type type; |
| char *str; |
char *str; |
| { /* {{{ */ |
{ /* {{{ */ |
| |
|
| |
/* TODO: |
| |
remove cfg_add_property_old() calls from here, |
| |
substitute it by new function cfg_add_properties() */ |
| |
|
| if (cfg_normal_property_type(type)) { |
if (cfg_normal_property_type(type)) { |
| return strdyn_array_add(&(con->prop[type]), str); |
return strdyn_array_add(&(con->prop[type]), str); |
| } |
} |
| Line 306 cfg_remove_property(con, type, str) |
|
| Line 311 cfg_remove_property(con, type, str) |
|
| enum cfg_property_type type; |
enum cfg_property_type type; |
| char *str; |
char *str; |
| { /* {{{ */ |
{ /* {{{ */ |
| |
|
| |
/* TODO: |
| |
remove cfg_remove_property_old() calls from here, |
| |
substitute it by new function cfg_remove_properties() */ |
| |
|
| if (cfg_normal_property_type(type)) { |
if (cfg_normal_property_type(type)) { |
| return strdyn_array_remove(&(con->prop[type]), str); |
return strdyn_array_remove(&(con->prop[type]), str); |
| } |
} |