1 /**
2  * This file has no copyright assigned and is placed in the Public Domain.
3  * This file is part of the mingw-w64 runtime package.
4  * No warranty is given; refer to the file DISCLAIMER.PD within this package.
5  */
6 #ifndef _INC_SEARCH_S
7 #define _INC_SEARCH_S
8 
9 #include <search.h>
10 
11 #if defined(MINGW_HAS_SECURE_API)
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17   _CRTIMP void *__cdecl _lfind_s(const void *_Key,const void *_Base,unsigned int *_NumOfElements,size_t _SizeOfElements,int (__cdecl *_PtFuncCompare)(void *,const void *,const void *),void *_Context);
18   _CRTIMP void *__cdecl _lsearch_s(const void *_Key,void *_Base,unsigned int *_NumOfElements,size_t _SizeOfElements,int (__cdecl *_PtFuncCompare)(void *,const void *,const void *),void *_Context);
19 
20 #ifndef _QSORT_S_DEFINED
21 #define _QSORT_S_DEFINED
22   _CRTIMP void __cdecl qsort_s(void *_Base,size_t _NumOfElements,size_t _SizeOfElements,int (__cdecl *_PtFuncCompare)(void *,const void *,const void *),void *_Context);
23 #endif
24 
25 #ifdef __cplusplus
26 }
27 #endif
28 
29 #endif
30 #endif
31