OLD | NEW |
1 /* This Source Code Form is subject to the terms of the Mozilla Public | 1 /* This Source Code Form is subject to the terms of the Mozilla Public |
2 * License, v. 2.0. If a copy of the MPL was not distributed with this | 2 * License, v. 2.0. If a copy of the MPL was not distributed with this |
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
4 | 4 |
5 /* | 5 /* |
6 * seccomon.h - common data structures for security libraries | 6 * seccomon.h - common data structures for security libraries |
7 * | 7 * |
8 * This file should have lowest-common-denominator datastructures | 8 * This file should have lowest-common-denominator datastructures |
9 * for security libraries. It should not be dependent on any other | 9 * for security libraries. It should not be dependent on any other |
10 * headers, and should not require linking with any libraries. | 10 * headers, and should not require linking with any libraries. |
11 * | |
12 * $Id$ | |
13 */ | 11 */ |
14 | 12 |
15 #ifndef _SECCOMMON_H_ | 13 #ifndef _SECCOMMON_H_ |
16 #define _SECCOMMON_H_ | 14 #define _SECCOMMON_H_ |
17 | 15 |
18 #include "utilrename.h" | 16 #include "utilrename.h" |
19 #include "prtypes.h" | 17 #include "prtypes.h" |
20 | 18 |
21 | 19 |
22 #ifdef __cplusplus | 20 #ifdef __cplusplus |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 ** values. Again the motivation is so that a compiler can generate | 83 ** values. Again the motivation is so that a compiler can generate |
86 ** warnings when return values are wrong. | 84 ** warnings when return values are wrong. |
87 */ | 85 */ |
88 typedef enum _SECComparison { | 86 typedef enum _SECComparison { |
89 SECLessThan = -1, | 87 SECLessThan = -1, |
90 SECEqual = 0, | 88 SECEqual = 0, |
91 SECGreaterThan = 1 | 89 SECGreaterThan = 1 |
92 } SECComparison; | 90 } SECComparison; |
93 | 91 |
94 #endif /* _SECCOMMON_H_ */ | 92 #endif /* _SECCOMMON_H_ */ |
OLD | NEW |