X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=include%2Fmatch.h;h=a2d7542ab973095e1f1e0dff1faa8dcf8b34759d;hb=3d59398668e6f0977c147c5efeefe7582d05b25b;hp=5cb7f3c7bb26726445a1e09f418d0d7fb045d057;hpb=9b1f5beca29ec78141f19a19d689f0f7cc3fe3ac;p=ircu2.10.12-pk.git diff --git a/include/match.h b/include/match.h index 5cb7f3c..a2d7542 100644 --- a/include/match.h +++ b/include/match.h @@ -1,7 +1,6 @@ -/* - * match.h - * - * $Id$ +/** @file match.h + * @brief Interface for matching strings to IRC masks. + * @version $Id$ */ #ifndef INCLUDED_match_h #define INCLUDED_match_h @@ -30,7 +29,6 @@ extern int matchexec(const char *string, const char *cmask, int minlen); extern int matchdecomp(char *mask, const char *cmask); extern int mmexec(const char *wcm, int wminlen, const char *rcm, int rminlen); -extern int ipmask_parse(const char *in, struct irc_in_addr *mask, unsigned char *bits_ptr); extern int ipmask_check(const struct irc_in_addr *addr, const struct irc_in_addr *mask, unsigned char bits); #endif /* INCLUDED_match_h */