X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=afs.h;h=f15b8c559bf8b442674e42409bc0fcea8b65930a;hp=d9fa53c41f587a71d6dc9f82ac78545aba283d54;hb=91e54c6f425ffdb801afdd3cfbb73a835290180c;hpb=192417698d9dab017ef6108fa6e9fd5ea1dc5633 diff --git a/afs.h b/afs.h index d9fa53c4..f15b8c55 100644 --- a/afs.h +++ b/afs.h @@ -108,13 +108,19 @@ struct ls_data { HASH_TYPE *hash; }; int make_status_items(struct ls_data *d, struct para_buffer *pb); +void make_empty_status_items(char *buf); -#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 { - char afs_status_info[AFS_STATUS_INFO_SIZE]; + /* Same info as ls -lv -p . */ + 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; };