ocarina/libsaria/index/index.h
Bryan Schumaker 1d3baa79d5 libsaria: Implement index::rand()
Needed to get a random song from the index when filtered.
2011-12-27 22:41:54 -05:00

15 lines
342 B
C++

#ifndef LIBSARIA_INDEX_INTERNAL_H
#define LIBSARIA_INDEX_INTERNAL_H
#include <map>
#include <set>
#include <string>
using namespace std;
extern map<string, set<sid_t> > artist_index;
extern map<string, set<sid_t> > album_index;
extern map<string, set<sid_t> > title_index;
extern set<sid_t> results;
#endif /* LIBSARIA_INDEX_INTERNAL_H */