2012-05-09 10:15:51 +02:00
|
|
|
#ifndef MMATCH_H
|
|
|
|
#define MMATCH_H
|
|
|
|
|
2013-11-03 13:45:26 +01:00
|
|
|
#include "base/visibility.h"
|
|
|
|
|
2012-05-09 10:15:51 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
2013-11-03 13:45:26 +01:00
|
|
|
#ifdef I2_MMATCH_BUILD
|
|
|
|
# define I2_MMATCH_API I2_EXPORT
|
|
|
|
#else
|
|
|
|
# define I2_MMATCH_API I2_IMPORT
|
|
|
|
#endif /* I2_MMATCH_BUILD */
|
|
|
|
|
|
|
|
I2_MMATCH_API int mmatch(const char *old_mask, const char *new_mask);
|
|
|
|
I2_MMATCH_API int match(const char *mask, const char *str);
|
|
|
|
I2_MMATCH_API char *collapse(char *pattern);
|
2012-05-09 10:15:51 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
|
|
|
#endif /* MMATCH_H */
|