]> oss.titaniummirror.com Git - repo_shell.git/blobdiff - stra.h
Add extended wildcard matching
[repo_shell.git] / stra.h
diff --git a/stra.h b/stra.h
index a2f43d61a5ac6def5f5e814d89413c71ec783cee..fad9501e21a68aa1c71173b04548dd3a7ab15947 100644 (file)
--- a/stra.h
+++ b/stra.h
@@ -37,6 +37,9 @@ void stra_destroy(stra_t *stra);
 /* Add an item to the end of the string array, returning its ele# */
 int stra_add(stra_t *stra, const char *item);
 
+/* Return the ele# of the first string matching item, which may have * */
+int stra_match(stra_t *stra, const char *item);
+
 /* Return the ele# of the first string matching item */
 int stra_find(stra_t *stra, const char *item);