Mercurial > hg > audiodb
annotate audioDBws.h @ 0:9eab3e0f3068
Initial import
author | mas01cr |
---|---|
date | Fri, 20 Jul 2007 15:51:39 +0000 |
parents | |
children | a450c8545f41 |
rev | line source |
---|---|
mas01cr@0 | 1 // audioDBws.h -- web services interface to audioDB |
mas01cr@0 | 2 // |
mas01cr@0 | 3 // |
mas01cr@0 | 4 // |
mas01cr@0 | 5 |
mas01cr@0 | 6 typedef int xsd__int; |
mas01cr@0 | 7 typedef double xsd__double; |
mas01cr@0 | 8 typedef char* xsd__string; |
mas01cr@0 | 9 |
mas01cr@0 | 10 // Supports result lists of arbitrary length |
mas01cr@0 | 11 class adb__queryResult{ |
mas01cr@0 | 12 int __sizeRlist; |
mas01cr@0 | 13 char **Rlist; // Maximum size of result list |
mas01cr@0 | 14 int __sizeDist; |
mas01cr@0 | 15 double *Dist; |
mas01cr@0 | 16 int __sizeQpos; |
mas01cr@0 | 17 int *Qpos; |
mas01cr@0 | 18 int __sizeSpos; |
mas01cr@0 | 19 int *Spos; |
mas01cr@0 | 20 }; |
mas01cr@0 | 21 |
mas01cr@0 | 22 // Print the status of an existing adb database |
mas01cr@0 | 23 int adb__status(xsd__string dbName, xsd__int &adbCreateResult); |
mas01cr@0 | 24 |
mas01cr@0 | 25 // Query an existing adb database |
mas01cr@0 | 26 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); |