| OLD | NEW |
| (Empty) |
| 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 | |
| 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
| 4 /* | |
| 5 * pkix_pl_mutex.h | |
| 6 * | |
| 7 * Mutual Exclusion (Lock) Object Type Definition | |
| 8 * | |
| 9 */ | |
| 10 | |
| 11 #ifndef _PKIX_PL_MUTEX_H | |
| 12 #define _PKIX_PL_MUTEX_H | |
| 13 | |
| 14 #include "pkix_pl_common.h" | |
| 15 | |
| 16 #ifdef __cplusplus | |
| 17 extern "C" { | |
| 18 #endif | |
| 19 | |
| 20 struct PKIX_PL_MutexStruct { | |
| 21 PRLock* lock; | |
| 22 }; | |
| 23 | |
| 24 /* see source file for function documentation */ | |
| 25 | |
| 26 PKIX_Error * | |
| 27 pkix_pl_Mutex_RegisterSelf(void *plContext); | |
| 28 | |
| 29 #ifdef __cplusplus | |
| 30 } | |
| 31 #endif | |
| 32 | |
| 33 #endif /* _PKIX_PL_MUTEX_H */ | |
| OLD | NEW |