projects
/
project
/
uci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add new command del_list
[project/uci.git]
/
uci.h
diff --git
a/uci.h
b/uci.h
index
6d13ea6
..
68b53f5
100644
(file)
--- a/
uci.h
+++ b/
uci.h
@@
-188,6
+188,14
@@
extern int uci_set(struct uci_context *ctx, struct uci_ptr *ptr);
extern int uci_add_list(struct uci_context *ctx, struct uci_ptr *ptr);
/**
extern int uci_add_list(struct uci_context *ctx, struct uci_ptr *ptr);
/**
+ * uci_del_list: Remove a string from an element list
+ * @ctx: uci context
+ * @ptr: uci pointer (with value)
+ *
+ */
+extern int uci_del_list(struct uci_context *ctx, struct uci_ptr *ptr);
+
+/**
* uci_reorder: Reposition a section
* @ctx: uci context
* @s: uci section to reposition
* uci_reorder: Reposition a section
* @ctx: uci context
* @s: uci section to reposition
@@
-489,6
+497,7
@@
enum uci_command {
UCI_CMD_RENAME,
UCI_CMD_REORDER,
UCI_CMD_LIST_ADD,
UCI_CMD_RENAME,
UCI_CMD_REORDER,
UCI_CMD_LIST_ADD,
+ UCI_CMD_LIST_DEL,
};
struct uci_delta
};
struct uci_delta