X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=inline;f=lib%2Fwildmatch.h;h=a429da139bcf51f241944c1ad66e413f453ff457;hb=5635c7575119dffacda891b3f59bf3d2b839e455;hp=27a553b50d083bec9c8f51088515618a53890297;hpb=98890a92740cbfc0c5ddab9844f1ffe8d715ac8a;p=libucw.git diff --git a/lib/wildmatch.h b/lib/wildmatch.h index 27a553b5..a429da13 100644 --- a/lib/wildmatch.h +++ b/lib/wildmatch.h @@ -1,11 +1,15 @@ /* - * Fast Wildcard Pattern Matcher (only `?' and `*' supported) + * UCW Library -- 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; 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 *);