summaryrefslogtreecommitdiff
path: root/include/mnode.h
diff options
context:
space:
mode:
authorlulf@carrot.studby.ntnu.no <lulf@carrot.studby.ntnu.no>2008-04-29 15:40:05 +0200
committerlulf@carrot.studby.ntnu.no <lulf@carrot.studby.ntnu.no>2008-04-29 15:40:05 +0200
commit5bdbe39c6e2af7b85482e0003ad52a4bc5a74212 (patch)
tree8344747258b40e7567265ecbc845a198fbd65362 /include/mnode.h
parent3a5ef70e5d22148a221d89b24df09d2c60f8d0f5 (diff)
- Implement query system to select data from data structures.
Diffstat (limited to 'include/mnode.h')
-rw-r--r--include/mnode.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/mnode.h b/include/mnode.h
index d84c0ad..891ad3d 100644
--- a/include/mnode.h
+++ b/include/mnode.h
@@ -6,6 +6,11 @@ struct mnode {
char *path;
TagLib_File *tag;
/* Entry in search structure. */
- LIST_ENTRY(mnode) next;
+ LIST_ENTRY(mnode) coll_next;
+ LIST_ENTRY(mnode) sel_next;
+};
+
+struct collection {
+ LIST_HEAD(, mnode) head;
};
#endif