]> mj.ucw.cz Git - libucw.git/blobdiff - lib/wildmatch.h
libucw: removed utf8_check routine... it did not check correct UTF-8
[libucw.git] / lib / wildmatch.h
index 27a553b50d083bec9c8f51088515618a53890297..a429da139bcf51f241944c1ad66e413f453ff457 100644 (file)
@@ -1,11 +1,15 @@
 /*
 /*
- *     Fast Wildcard Pattern Matcher (only `?' and `*' supported)
+ *     UCW Library -- Fast Wildcard Pattern Matcher (only `?' and `*' supported)
  *
  *     (c) 1999 Martin Mares <mj@ucw.cz>
  *
  *     (c) 1999 Martin Mares <mj@ucw.cz>
+ *
+ *     This software may be freely distributed and used according to the terms
+ *     of the GNU Lesser General Public License.
  */
 
 struct wildpatt;
 struct mempool;
 
  */
 
 struct wildpatt;
 struct mempool;
 
-struct wildpatt *wp_compile(byte *, struct mempool *);
-int wp_match(struct wildpatt *, byte *);
+struct wildpatt *wp_compile(const byte *, struct mempool *);
+int wp_match(struct wildpatt *, const byte *);
+int wp_min_size(const byte *);