mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-28 13:09:11 -05:00
[daap/smartpl] Add new bison/flex parsers
This commit is contained in:
@@ -7,8 +7,11 @@
|
||||
%define lookup-function-name daap_query_field_lookup
|
||||
%define slot-name dmap_field
|
||||
%struct-type
|
||||
%omit-struct-type
|
||||
struct dmap_query_field_map;
|
||||
struct dmap_query_field_map {
|
||||
char *dmap_field;
|
||||
char *db_col;
|
||||
int as_int;
|
||||
};
|
||||
%%
|
||||
"dmap.itemname", "f.title", 0
|
||||
"dmap.itemid", "f.id", 1
|
||||
|
||||
Reference in New Issue
Block a user