X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=aft.c;h=a73537c74446b3cdb49e405f7918701d837a8e8f;hp=727292c7001cf5b175eb8ef43b063540fc25d4d7;hb=36feca1700d044452991cfb506fb803ac3c32e60;hpb=53c10f83c35b3f3376529632f198e32e6afb09f4 diff --git a/aft.c b/aft.c index 727292c7..a73537c7 100644 --- a/aft.c +++ b/aft.c @@ -72,6 +72,20 @@ enum ls_listing_mode { LS_MODE_PARSER, }; +/* Data about one audio file. Needed for ls and stat output. */ +struct ls_data { + /* Usual audio format handler information. */ + struct afh_info afhi; + /* Audio file selector information. */ + struct afs_info afsi; + /* The full path of the audio file. */ + char *path; + /* The score value (if -a was given). */ + long score; + /* The hash value of the audio file data. */ + unsigned char *hash; +}; + /** The flags accepted by the ls command. */ enum ls_flags { /** -p */