more functionality for plugins
[project/uci.git] / util.c
diff --git a/util.c b/util.c
index ac7b8cb..cba69c3 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;