X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=afs.h;h=977fc40b6591dd778294ce7a796a6edcb4746f18;hp=b9c7706892a9b5ef6da7d23eb1da339d1421c1fa;hb=83d26474b18a663cf05aeeaff0c8e4475fa1e82a;hpb=58b83584e38da0c5043497320f90e166cc4aff38 diff --git a/afs.h b/afs.h index b9c77068..977fc40b 100644 --- a/afs.h +++ b/afs.h @@ -108,6 +108,7 @@ 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 VERBOSE_LS_OUTPUT_SIZE 4096 @@ -125,6 +126,7 @@ struct audio_file_data { enum afs_server_code { NEXT_AUDIO_FILE, + NO_ADMISSIBLE_FILES, AFD_CHANGE }; @@ -198,8 +200,8 @@ int get_attribute_text(uint64_t *atts, const char *delim, char **text); /* aft */ void aft_init(struct afs_table *t); int aft_get_row_of_path(const char *path, struct osl_row **row); -int open_and_update_audio_file(struct osl_row *aft_row, - struct audio_file_data *afd, long score); +int open_and_update_audio_file(struct osl_row *aft_row, long score, + struct audio_file_data *afd); int load_afd(int shmid, struct audio_file_data *afd); int load_afsi(struct afs_info *afsi, struct osl_object *obj); void save_afsi(struct afs_info *afsi, struct osl_object *obj);