X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Fwildmatch.h;h=a429da139bcf51f241944c1ad66e413f453ff457;hb=e42cd882d7970eb0b01bc9b058e0446996212cb4;hp=00bd1fb3d2a0f276c314c3d8a232bb949c563ee7;hpb=8886ac0aa8be3913ef1fbefcff5d970acce3010a;p=libucw.git diff --git a/lib/wildmatch.h b/lib/wildmatch.h index 00bd1fb3..a429da13 100644 --- a/lib/wildmatch.h +++ b/lib/wildmatch.h @@ -1,12 +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 *); -int wp_min_size(byte *); +struct wildpatt *wp_compile(const byte *, struct mempool *); +int wp_match(struct wildpatt *, const byte *); +int wp_min_size(const byte *);