1 /** 2 * This file has no copyright assigned and is placed in the Public Domain. 3 * This file is part of the w64 mingw-runtime package. 4 * No warranty is given; refer to the file DISCLAIMER within this package. 5 */ 6 7 #ifndef _INC_SEARCH 8 #define _INC_SEARCH 9 10 #include <crtdefs.h> 11 #include <stddef.h> 12 13 #ifdef __cplusplus 14 extern "C" { 15 #endif 16 17 #ifndef _CRT_ALGO_DEFINED 18 #define _CRT_ALGO_DEFINED 19 20 _Check_return_ 21 void * 22 __cdecl 23 bsearch( 24 _In_ const void *_Key, 25 _In_reads_bytes_(_NumOfElements * _SizeOfElements) const void *_Base, 26 _In_ size_t _NumOfElements, 27 _In_ size_t _SizeOfElements, 28 _In_ int(__cdecl *_PtFuncCompare)(const void *, const void *)); 29 30 void 31 __cdecl 32 qsort( 33 _Inout_updates_bytes_(_NumOfElements * _SizeOfElements) void *_Base, 34 _In_ size_t _NumOfElements, 35 _In_ size_t _SizeOfElements, 36 _In_ int(__cdecl *_PtFuncCompare)(const void *, const void *)); 37 38 #endif 39 40 _Check_return_ 41 _CRTIMP 42 void * 43 __cdecl 44 _lfind( 45 _In_ const void *_Key, 46 _In_reads_bytes_((*_NumOfElements) * _SizeOfElements) const void *_Base, 47 _Inout_ unsigned int *_NumOfElements, 48 _In_ unsigned int _SizeOfElements, 49 _In_ int(__cdecl *_PtFuncCompare)(const void *, const void *)); 50 51 _Check_return_ 52 _CRTIMP 53 void * 54 __cdecl 55 _lsearch( 56 _In_ const void *_Key, 57 _Inout_updates_bytes_((*_NumOfElements) * _SizeOfElements) void *_Base, 58 _Inout_ unsigned int *_NumOfElements, 59 _In_ unsigned int _SizeOfElements, 60 _In_ int(__cdecl *_PtFuncCompare)(const void *, const void *)); 61 62 #ifndef NO_OLDNAMES 63 64 _Check_return_ 65 _CRTIMP 66 void * 67 __cdecl 68 lfind( 69 _In_ const void *_Key, 70 _In_reads_bytes_((*_NumOfElements) * _SizeOfElements) const void *_Base, 71 _Inout_ unsigned int *_NumOfElements, 72 _In_ unsigned int _SizeOfElements, 73 _In_ int(__cdecl *_PtFuncCompare)(const void *, const void *)); 74 75 _Check_return_ 76 _CRTIMP 77 void * 78 __cdecl 79 lsearch( 80 _In_ const void *_Key, 81 _Inout_updates_bytes_((*_NumOfElements) * _SizeOfElements) void *_Base, 82 _Inout_ unsigned int *_NumOfElements, 83 _In_ unsigned int _SizeOfElements, 84 _In_ int(__cdecl *_PtFuncCompare)(const void *, const void *)); 85 86 #endif 87 88 #ifdef __cplusplus 89 } 90 #endif 91 92 #include <sec_api/search_s.h> 93 94 #endif /*_INC_SEARCH */ 95