};
int make_status_items(struct ls_data *d, struct para_buffer *pb);
-#define AFS_STATUS_INFO_SIZE 4096
+#define VERBOSE_LS_OUTPUT_SIZE 4096
+/*
+ * Data about the current audio file, passed from afs to server.
+ */
struct audio_file_data {
- enum play_mode current_play_mode;
- char afs_status_info[AFS_STATUS_INFO_SIZE];
+ /* Same info as ls -lv -p <current audio file>. */
+ char verbose_ls_output[VERBOSE_LS_OUTPUT_SIZE];
+ /* The open file descriptor to the current audio file. */
int fd;
- struct afs_info afsi;
+ /* Vss needs this for streaming. */
struct afh_info afhi;
};