mas01cr@0: // audioDBws.h -- web services interface to audioDB mas01cr@0: // mas01cr@0: // mas01cr@0: // mas01cr@0: mas01cr@0: typedef int xsd__int; mas01cr@0: typedef double xsd__double; mas01cr@0: typedef char* xsd__string; mas01cr@0: mas01cr@0: // Supports result lists of arbitrary length mas01cr@0: class adb__queryResult{ mas01cr@0: int __sizeRlist; mas01cr@0: char **Rlist; // Maximum size of result list mas01cr@0: int __sizeDist; mas01cr@0: double *Dist; mas01cr@0: int __sizeQpos; mas01cr@0: int *Qpos; mas01cr@0: int __sizeSpos; mas01cr@0: int *Spos; mas01cr@0: }; mas01cr@0: mas01cr@0: // Print the status of an existing adb database mas01cr@0: int adb__status(xsd__string dbName, xsd__int &adbCreateResult); mas01cr@0: mas01cr@0: // Query an existing adb database mas01cr@0: int adb__query(xsd__string dbName, xsd__string qKey, xsd__string keyList, xsd__string timesFileName, xsd__int qType, xsd__int qPos, xsd__int pointNN, xsd__int segNN, xsd__int segLen, adb__queryResult &adbQueryResult);