diff audioDBws.h @ 0:9eab3e0f3068

Initial import
author mas01cr
date Fri, 20 Jul 2007 15:51:39 +0000
parents
children a450c8545f41
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/audioDBws.h	Fri Jul 20 15:51:39 2007 +0000
@@ -0,0 +1,26 @@
+// audioDBws.h -- web services interface to audioDB
+//
+//
+//
+
+typedef int xsd__int;
+typedef double xsd__double;
+typedef char* xsd__string;
+
+// Supports result lists of arbitrary length
+class adb__queryResult{
+  int __sizeRlist;
+  char **Rlist; // Maximum size of result list
+  int __sizeDist;  
+  double *Dist;
+  int __sizeQpos;  
+  int *Qpos;
+  int __sizeSpos;
+  int *Spos;
+};
+
+// Print the status of an existing adb database
+int adb__status(xsd__string dbName, xsd__int &adbCreateResult);
+
+// Query an existing adb database
+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);