view src/lib/wildcard-match.h @ 22664:fea53c2725c0

director: Fix director_max_parallel_moves/kicks type Should be uint, not time.
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Thu, 09 Nov 2017 12:24:16 +0200
parents f7d14405de09
children
line wrap: on
line source

#ifndef WILDCARD_MATCH_H
#define WILDCARD_MATCH_H

/* Returns TRUE if mask matches data. mask can contain '*' and '?' wildcards. */
bool wildcard_match(const char *data, const char *mask);
/* Like wildcard_match(), but match ASCII characters case-insensitively. */
bool wildcard_match_icase(const char *data, const char *mask);

#endif