comparison 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
comparison
equal deleted inserted replaced
433:681837f7c903 434:7af140bf8a0a
138 typedef struct adbqueryresults { 138 typedef struct adbqueryresults {
139 uint32_t nresults; 139 uint32_t nresults;
140 adb_result_t *results; 140 adb_result_t *results;
141 } adb_query_results_t; 141 } adb_query_results_t;
142 142
143 #define ADB_QUERY_ID_FLAG_EXHAUSTIVE 1
144
143 typedef struct adbqueryid { 145 typedef struct adbqueryid {
144 adb_datum_t *datum; 146 adb_datum_t *datum;
145 uint32_t sequence_length; 147 uint32_t sequence_length;
148 uint32_t flags;
146 uint32_t sequence_start; 149 uint32_t sequence_start;
147 uint32_t exhaustive;
148 } adb_query_id_t; 150 } adb_query_id_t;
149 151
150 typedef struct adbqueryspec { 152 typedef struct adbqueryspec {
151 adb_query_id_t qid; 153 adb_query_id_t qid;
152 adb_query_parameters_t qparms; 154 adb_query_parameters_t qparms;