145 int MSPAPI MSPLogin(
const char* usr,
const char* pwd,
const char* params);
150 int MSPAPI MSPLoginW(
const wchar_t* usr,
const wchar_t* pwd,
const wchar_t* params);
210 int MSPAPI MSPUpload(
const char* dataName,
const char* params,
const char* dataID);
234 typedef int (*
DownloadStatusCB)(
int errorCode,
long param1,
const void* param2,
void* userData);
302 const char*
MSPAPI MSPGetResult(
unsigned int* rsltLen,
int* rsltStatus,
int* errorCode);
356 int MSPAPI MSPGetParam(
const char* paramName,
char* paramValue,
unsigned int* valueLen);
388 const char*
MSPAPI MSPUploadData(
const char* dataName,
void* data,
unsigned int dataLen,
const char* params,
392 const char* params,
int* errorCode);
456 const char*
MSPAPI MSPSearch(
const char* params,
const char* text,
unsigned int* dataLen,
int* errorCode);
461 typedef int (*
NLPSearchCB)(
const char* sessionID,
int errorCode,
int status,
const void* result,
long rsltLen,
464 const char*
MSPAPI MSPNlpSearch(
const char* params,
const char* text,
unsigned int textLen,
int* errorCode,
468 int* errorCode,
NLPSearchCB callback,
void* userData);
const char *(MSPAPI * Proc_MSPNlpSearch)(const char *params, const char *text, unsigned int textLen, int *errorCode, NLPSearchCB callback, void *userData)
const char *MSPAPI MSPUploadData(const char *dataName, void *data, unsigned int dataLen, const char *params, int *errorCode)
int MSPAPI MSPRegisterNotify(msp_status_ntf_handler statusCb, void *userData)
const char *(MSPAPI * Proc_MSPUploadData)(const char *dataName, void *data, unsigned int dataLen, const char *params, int *errorCode)
int MSPAPI MSPNlpSchCancel(const char *sessionID, const char *hints)
int(MSPAPI * Proc_MSPAppendData)(void *data, unsigned int dataLen, unsigned int dataStatus)
int MSPAPI MSPLoginW(const wchar_t *usr, const wchar_t *pwd, const wchar_t *params)
int MSPAPI MSPAppendData(void *data, unsigned int dataLen, unsigned int dataStatus)
int(MSPAPI * Proc_MSPUpload)(const char *dataName, const char *params, const char *dataID)
const void *(MSPAPI * Proc_MSPDownloadData)(const char *params, unsigned int *dataLen, int *errorCode)
int(MSPAPI * Proc_MSPDownload)(const char *dataName, const char *params, DownloadStatusCB statusCb, DownloadResultCB resultCb, void *userData)
int(* DownloadResultCB)(const void *data, long dataLen, void *userData)
char * Wchar2Mbytes(const wchar_t *wcstr)
int MSPAPI MSPUpload(const char *dataName, const char *params, const char *dataID)
int MSPAPI MSPDownloadW(const wchar_t *wdataName, const wchar_t *wparams, DownloadStatusCB statusCb, DownloadResultCB resultCb, void *userData)
const char *(MSPAPI * Proc_MSPGetVersion)(const char *verName, int *errorCode)
int MSPAPI MSPLogin(const char *usr, const char *pwd, const char *params)
int MSPAPI MSPSetParam(const char *paramName, const char *paramValue)
const char *MSPAPI MSPSearch(const char *params, const char *text, unsigned int *dataLen, int *errorCode)
int(MSPAPI * Proc_MSPLoginW)(const wchar_t *usr, const wchar_t *pwd, const wchar_t *params)
int MSPAPI MSPGetParam(const char *paramName, char *paramValue, unsigned int *valueLen)
const void *MSPAPI MSPDownloadDataW(const wchar_t *params, unsigned int *dataLen, int *errorCode)
int(MSPAPI * Proc_MSPSetParam)(const char *paramName, const char *paramValue)
const void *MSPAPI MSPDownloadData(const char *params, unsigned int *dataLen, int *errorCode)
int(MSPAPI * Proc_MSPDownloadW)(const wchar_t *wdataName, const wchar_t *wparams, DownloadStatusCB statusCb, DownloadResultCB resultCb, void *userData)
int(MSPAPI * Proc_MSPLogin)(const char *usr, const char *pwd, const char *params)
int MSPAPI MSPLogout()
user logout interface
const char *MSPAPI MSPGetResult(unsigned int *rsltLen, int *rsltStatus, int *errorCode)
int(MSPAPI * Proc_MSPLogout)()
int MSPAPI MSPDownload(const char *dataName, const char *params, DownloadStatusCB statusCb, DownloadResultCB resultCb, void *userData)
int(MSPAPI * Proc_MSPLogoutW)()
int(* DownloadStatusCB)(int errorCode, long param1, const void *param2, void *userData)
int(MSPAPI * Proc_MSPGetParam)(const char *paramName, char *paramValue, unsigned int *valueLen)
const char *(MSPAPI * Proc_MSPSearch)(const char *params, const char *text, unsigned int *dataLen, int *errorCode)
wchar_t * Mbytes2Wchar(const char *mbstr)
int(* NLPSearchCB)(const char *sessionID, int errorCode, int status, const void *result, long rsltLen, void *userData)
const char *(MSPAPI * Proc_MSPGetResult)(unsigned int *rsltLen, int *rsltStatus, int *errorCode)
const char *MSPAPI MSPGetVersion(const char *verName, int *errorCode)
void(* msp_status_ntf_handler)(int type, int status, int param1, const void *param2, void *userData)
const char *MSPAPI MSPNlpSearch(const char *params, const char *text, unsigned int textLen, int *errorCode, NLPSearchCB callback, void *userData)
const char *(MSPAPI * Proc_MSPRegisterNotify)(msp_status_ntf_handler statusCb, void *userData)
const void *(MSPAPI * Proc_MSPDownloadDataW)(const wchar_t *params, unsigned int *dataLen, int *errorCode)