diff audioDB_API.h @ 434:7af140bf8a0a api-inversion

adb_t-ize most of audioDB::set_up_db. All of this "adding code" nonsense (mostly because of the conversion from C++ non-local exits using audioDB::error into lame C "must return and check integer error code") has to have a payoff sometime. That day will come. That day will come.
author mas01cr
date Wed, 24 Dec 2008 10:55:52 +0000
parents 166312a124bc
children 53c487885b2c
line wrap: on
line diff
--- a/audioDB_API.h	Wed Dec 24 10:55:48 2008 +0000
+++ b/audioDB_API.h	Wed Dec 24 10:55:52 2008 +0000
@@ -140,11 +140,13 @@
   adb_result_t *results;
 } adb_query_results_t;
 
+#define ADB_QUERY_ID_FLAG_EXHAUSTIVE 1
+
 typedef struct adbqueryid {
   adb_datum_t *datum;
   uint32_t sequence_length;
+  uint32_t flags;
   uint32_t sequence_start;
-  uint32_t exhaustive;
 } adb_query_id_t;
 
 typedef struct adbqueryspec {