#ifdef __cplusplus
    #define __cdecl                
    #define _Start_C_declarations  extern "C" {
    #define _End_C_declarations    };
#else
    #define __cdecl
    #define _Start_C_declarations
    #define _End_C_declarations
#endif

_Start_C_declarations
   extern __cdecl long StringSearch( const char *  str,
                                     unsigned int  strlen,
                                     const char *  pattern,
                                     unsigned int  patlen );
_End_C_declarations
