]> mj.ucw.cz Git - libucw.git/commitdiff
Renamed cf_write_item() to cf_modify_item().
authorMartin Mares <mj@ucw.cz>
Thu, 2 Oct 2008 14:30:38 +0000 (16:30 +0200)
committerMartin Mares <mj@ucw.cz>
Thu, 2 Oct 2008 14:30:38 +0000 (16:30 +0200)
The old name was somewhat counter-intuitive.

ucw/conf-intr.c
ucw/getopt.h

index f7b678e155dd8d4058a922e4204e0b230a0c3abb..914c727d8f775601022189d8e6082e5a25339ce5 100644 (file)
@@ -576,7 +576,7 @@ cf_find_item(const char *name, struct cf_item *item)
 }
 
 char *
-cf_write_item(struct cf_item *item, enum cf_operation op, int number, char **pars)
+cf_modify_item(struct cf_item *item, enum cf_operation op, int number, char **pars)
 {
   char *msg;
   int taken = 0;
index 2c6da5fb8cbb6dee8f4c7fc8406f98b4a958530e..18788b41d822ba77db519cb88dc788b01c080433 100644 (file)
@@ -69,7 +69,7 @@ struct cf_item;
  **/
 char *cf_find_item(const char *name, struct cf_item *item);
 // TODO What does this do?
-char *cf_write_item(struct cf_item *item, enum cf_operation op, int number, char **pars);
+char *cf_modify_item(struct cf_item *item, enum cf_operation op, int number, char **pars);
 
 /***
  * [[conf_dump]]