X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=inline;f=lib%2Fwildmatch.h;h=90a64ce848a812d49d1831c5b59de5218ab00550;hb=9f87c6fe6552ce8b2236a07307d2f825b0e4c439;hp=27a553b50d083bec9c8f51088515618a53890297;hpb=98890a92740cbfc0c5ddab9844f1ffe8d715ac8a;p=libucw.git diff --git a/lib/wildmatch.h b/lib/wildmatch.h index 27a553b5..90a64ce8 100644 --- a/lib/wildmatch.h +++ b/lib/wildmatch.h @@ -2,6 +2,9 @@ * Fast Wildcard Pattern Matcher (only `?' and `*' supported) * * (c) 1999 Martin Mares + * + * This software may be freely distributed and used according to the terms + * of the GNU Lesser General Public License. */ struct wildpatt; @@ -9,3 +12,4 @@ struct mempool; struct wildpatt *wp_compile(byte *, struct mempool *); int wp_match(struct wildpatt *, byte *); +int wp_min_size(byte *);