~ubuntu-branches/ubuntu/raring/forked-daapd/raring-proposed

« back to all changes in this revision

Viewing changes to src/rsp_query.gperf

  • Committer: Bazaar Package Importer
  • Author(s): Julien BLACHE
  • Date: 2011-04-09 11:41:55 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20110409114155-5i6vbc4v0eqtvcsg
Tags: 0.15-1
* New upstream release.

* debian/control:
  + Add build-dependency on gperf.
  + Bump Standards-Version to 3.9.2 (no changes).
* debian/copyright:
  + Update list of copyright holders.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
%language=ANSI-C
 
2
%readonly-tables
 
3
%enum
 
4
%switch=1
 
5
%compare-lengths
 
6
%define hash-function-name rsp_query_field_hash
 
7
%define lookup-function-name rsp_query_field_lookup
 
8
%define slot-name rsp_field
 
9
%struct-type
 
10
%omit-struct-type
 
11
struct rsp_query_field_map;
 
12
%%
 
13
"id",                    RSP_TYPE_INT
 
14
"path",                  RSP_TYPE_STRING
 
15
"fname",                 RSP_TYPE_STRING
 
16
"title",                 RSP_TYPE_STRING
 
17
"artist",                RSP_TYPE_STRING
 
18
"album",                 RSP_TYPE_STRING
 
19
"genre",                 RSP_TYPE_STRING
 
20
"comment",               RSP_TYPE_STRING
 
21
"type",                  RSP_TYPE_STRING
 
22
"composer",              RSP_TYPE_STRING
 
23
"orchestra",             RSP_TYPE_STRING
 
24
"grouping",              RSP_TYPE_STRING
 
25
"url",                   RSP_TYPE_STRING
 
26
"bitrate",               RSP_TYPE_INT
 
27
"samplerate",            RSP_TYPE_INT
 
28
"song_length",           RSP_TYPE_INT
 
29
"file_size",             RSP_TYPE_INT
 
30
"year",                  RSP_TYPE_INT
 
31
"track",                 RSP_TYPE_INT
 
32
"total_tracks",          RSP_TYPE_INT
 
33
"disc",                  RSP_TYPE_INT
 
34
"total_discs",           RSP_TYPE_INT
 
35
"bpm",                   RSP_TYPE_INT
 
36
"compilation",           RSP_TYPE_INT
 
37
"rating",                RSP_TYPE_INT
 
38
"play_count",            RSP_TYPE_INT
 
39
"data_kind",             RSP_TYPE_INT
 
40
"item_kind",             RSP_TYPE_INT
 
41
"description",           RSP_TYPE_STRING
 
42
"time_added",            RSP_TYPE_DATE
 
43
"time_modified",         RSP_TYPE_DATE
 
44
"time_played",           RSP_TYPE_DATE
 
45
"db_timestamp",          RSP_TYPE_DATE
 
46
"sample_count",          RSP_TYPE_INT
 
47
"codectype",             RSP_TYPE_STRING
 
48
"idx",                   RSP_TYPE_INT
 
49
"has_video",             RSP_TYPE_INT
 
50
"contentrating",         RSP_TYPE_INT
 
51
"bits_per_sample",       RSP_TYPE_INT
 
52
"album_artist",          RSP_TYPE_STRING