Mercurial > hg > audiodb
view accumulators.h @ 460:17003dff8127 api-inversion
Convert index-finding logic to C functions.
New audiodb_index_exists() and audiodb_index_get_name(). The behaviours
of the functions are unchanged, even though they are kind of weird; in
particular, passing in a buffer rather than returning a char * for
audiodb_index_get_name() is probably likely to work better eventually
(see the changes to soap.cpp, which show a clear leak of a buffer in the
error case)
author | mas01cr |
---|---|
date | Tue, 30 Dec 2008 10:36:01 +0000 |
parents | 166312a124bc |
children |
line wrap: on
line source
#ifndef ACCUMULATORS_H #define ACCUMULATORS_H #include <string> #include <set> #include <queue> #include <map> #include <functional> #include "accumulator.h" #include "dbaccumulator.h" #include "pertrackaccumulator.h" #include "nearestaccumulator.h" #endif