]>
Commit | Line | Data |
---|---|---|
faeb1b64 KZ |
1 | /* |
2 | * No copyright is claimed. This code is in the public domain; do with | |
3 | * it what you wish. | |
4 | */ | |
e66ac5d3 FC |
5 | #ifndef UTIL_LINUX_RPMATCH_H |
6 | #define UTIL_LINUX_RPMATCH_H | |
7 | ||
8 | #ifndef HAVE_RPMATCH | |
9 | #define rpmatch(r) \ | |
10 | (*r == 'y' || *r == 'Y' ? 1 : *r == 'n' || *r == 'N' ? 0 : -1) | |
11 | #endif | |
12 | ||
cd2a6f1c SK |
13 | #define RPMATCH_YES 1 |
14 | #define RPMATCH_NO 0 | |
15 | #define RPMATCH_INVALID -1 | |
16 | ||
e66ac5d3 | 17 | #endif /* UTIL_LINUX_RPMATCH_H */ |