#ifndef PRETRADE_H
#define	PRETRADE_H

#include <windows.h>

#ifdef	__cplusplus
extern "C" {
#endif

#define PT_MAX_ERROR_LENGTH 255

__declspec(dllexport) BOOL WINAPI UserConnected(char *UserId, char* ErrorMsg);
__declspec(dllexport) void WINAPI UserDisconnected(char * UserId);
__declspec(dllexport) BOOL WINAPI ValidateOrderEx(char * UserId, char *TransName, char* Params, char* JsonParams, char *ErrorMsg);

#ifdef	__cplusplus
}
#endif

#endif	/* PRETRADE_H */

