diff audioDB.h @ 146:c9c508be69b3 powertable

Define a power command-line option; use it to turn on the DB flag. Also enforce strict ordering: only accept power files if the DB has the flag set; error if they're provided and the DB doesn't have the flag.
author mas01cr
date Wed, 31 Oct 2007 10:20:09 +0000
parents 7162a8e9ab12
children a564e6d7a30c
line wrap: on
line diff
--- a/audioDB.h	Tue Oct 30 15:28:48 2007 +0000
+++ b/audioDB.h	Wed Oct 31 10:20:09 2007 +0000
@@ -27,6 +27,7 @@
 #define COM_QUERY "--QUERY"
 #define COM_STATUS "--STATUS"
 #define COM_L2NORM "--L2NORM"
+#define COM_POWER "--POWER"
 #define COM_DUMP "--DUMP"
 #define COM_SERVER "--SERVER"
 
@@ -201,6 +202,7 @@
   void ws_status(const char*dbName, char* hostport);
   void ws_query(const char*dbName, const char *trackKey, const char* hostport);
   void l2norm(const char* dbName);
+  void power_flag(const char *dbName);
   void dump(const char* dbName);
 
   // web services