Mercurial > hg > audiodb
diff audioDBws.h @ 334:100cf66a5825
Added command-line and WS methods to (LI)st key-(S)trings and si(Z)es of (T)racks --LISZT --lisztOffset offset --lisztLength len
author | mas01mc |
---|---|
date | Tue, 02 Sep 2008 16:16:59 +0000 |
parents | cc3f9d1ca2cd |
children | 75a59f58319e 4871a3ed9e36 |
line wrap: on
line diff
--- a/audioDBws.h Mon Sep 01 15:35:05 2008 +0000 +++ b/audioDBws.h Tue Sep 02 16:16:59 2008 +0000 @@ -40,9 +40,23 @@ struct adb__queryResult result; }; +struct adb__lisztResult { + int __sizeRkey; + char **Rkey; + int __sizeRlen; + unsigned int *Rlen; +}; + +struct adb__lisztResponse { + struct adb__lisztResult result; +}; + // Print the status of an existing adb database int adb__status(xsd__string dbName, struct adb__statusResponse &adbStatusResponse); +// Print the status of an existing adb database +int adb__liszt(xsd__string dbName, xsd__int lisztOffset, xsd__int lisztLength, struct adb__lisztResponse &adbLisztResponse); + // Query an existing adb database int adb__query(xsd__string dbName, xsd__string qKey, xsd__string keyList, xsd__string timesFileName, xsd__string powerFileName, xsd__int qType, xsd__int qPos, xsd__int pointNN, xsd__int segNN, xsd__int segLen, xsd__double radius, xsd__double absolute_threshold, xsd__double relative_threshold, xsd__int exhaustive, xsd__int lsh_exact, struct adb__queryResponse &adbQueryResponse);