|
DSC Tech Library
WebAPI Web Access To Telemation
C/C++ Declarations of WebApi routines
(As defined in DMLApi.h - more detailed descriptions are provided below in the Visual Basic declarations)
BOOL __stdcall WebApiPingServer (char * returnBuffer);
void __stdcall WebApiSetHostName (const char * hostName);
void __stdcall WebApiSetDBASE (const char * dbTree);
BOOL __stdcall WebApiValidateTMUser(char *User, char *Password);
void __stdcall WebApiFlushRefno (int refno);
void __stdcall WebApiFlushSearchRefno(int refno);
void __stdcall WebApiFlushAllRefno(int refno);
void __stdcall WebApiFlushAll ();
int __stdcall WebApiDescribeFields(char * fileName,
char * recordBuffer,
int maxLength);
int __stdcall WebApiSetSearch(char * fileName, char * field1,
char * value1_1, int operator1,
char * value1_2, int andOrNull,
char * field2, char * value2_1,
int operator2, char * value2_2);
int __stdcall WebApiSetSearchOn(int refno, char * fileName,
char * field1, char * value1_1,
int operator1, char * value1_2,
int andOrNull, char * field2,
char * value2_1, int operator2,
char * value2_2);
int __stdcall WebApiReturnRecords(int refno, const char * fieldList,
int * recordLength);
BOOL __stdcall WebApiReturnRecord (int refno, int which,
const char * fieldList,
char * recordBuffer,
int * recno, int maxLength);
int __stdcall WebApiChangeRecord (int refno, int which,
const char * fieldList,
char * recordBuffer);
int __stdcall WebApiChangeRecno (int refno, int recno,
const char * fieldList,
char * recordBuffer);
int __stdcall WebApiDeleteRecord (int refno, int which);
int __stdcall WebApiDeleteRecno (int refno, int recno);
int __stdcall WebApiAddRecord (char * fileName,
const char * fieldList,
char * recordBuffer);
|