return 0;
p++;
}
- if (*t != '/')
+ if (*t++ != '/')
return 0;
- if (*p == '*' && p[1] == '/') /* "*" on the right-hand side */
+ if (*p == '*' && !p[1]) /* "*" on the right-hand side */
return 1;
while (*p)
if (Cupcase(*p++) != Cupcase(*t++))
void *xmalloc(uns);
byte *stralloc(byte *);
-/* Content-Type pattern matching */
+/* Content-Type pattern matching and filters */
+
+struct ct_filter;
int match_ct_patt(byte *, byte *);
+struct ct_filter *new_ct_filter(void);
+byte *add_ct_filter(struct ct_filter *, byte *);
+int match_ct_filter(struct ct_filter *, byte *);
+
/* Binary log */
#ifdef HAVE_FFS