summaryrefslogtreecommitdiff
path: root/uci.h
diff options
context:
space:
mode:
Diffstat (limited to 'uci.h')
-rw-r--r--uci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/uci.h b/uci.h
index 36c8890..eb7470c 100644
--- a/uci.h
+++ b/uci.h
@@ -262,6 +262,8 @@ extern int uci_set_confdir(struct uci_context *ctx, const char *dir);
*
* This function allows you to add directories, which contain 'overlays'
* for the active config, that will never be committed.
+ * Caller of this API should ensure that no duplicate entries (including the
+ * default search path, e.g. `UCI_SAVEDIR') should be added.
*/
extern int uci_add_delta_path(struct uci_context *ctx, const char *dir);