]> pilppa.org Git - uci.git/blobdiff - util.c
more functionality for plugins
[uci.git] / util.c
diff --git a/util.c b/util.c
index ac7b8cb4c0e6f234f21e5d032c18c5d75289da04..cba69c3b55de331af4f8453b17375b626494519d 100644 (file)
--- a/util.c
+++ b/util.c
@@ -80,7 +80,7 @@ static unsigned int djbhash(unsigned int hash, char *str)
  * for names, only alphanum and _ is allowed (shell compatibility)
  * for types, we allow more characters
  */
-static bool uci_validate_str(const char *str, bool name)
+__plugin bool uci_validate_str(const char *str, bool name)
 {
        if (!*str)
                return false;