X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=afs.h;h=ba8964c7e6128a768a2408c8f8a7e90983c440d1;hb=df6c02e4cef98215b797d646508e7e038527b1ea;hp=801347208136b7089744921310fee6d11e81a829;hpb=191d16070b9511f5b32b1ede7a9d0db1ffb3da54;p=paraslash.git diff --git a/afs.h b/afs.h index 80134720..ba8964c7 100644 --- a/afs.h +++ b/afs.h @@ -99,7 +99,7 @@ int send_standard_callback_request(int argc, char * const * const argv, int send_option_arg_callback_request(struct osl_object *options, int argc, char * const * const argv, callback_function *f, struct osl_object *result); -int stdin_command(struct osl_object *arg_obj, callback_function *f, +int stdin_command(int fd, struct osl_object *arg_obj, callback_function *f, unsigned max_len, struct osl_object *result); int string_compare(const struct osl_object *obj1, const struct osl_object *obj2); int para_atol(const char *str, long *result); @@ -122,7 +122,7 @@ int row_belongs_to_score_table(const struct osl_row *aft_row); /* attribute */ int attribute_init(struct table_info *ti, const char *db); void attribute_shutdown(enum osl_close_flags flags); -void get_attribute_bitmap(uint64_t *atts, char *buf); +void get_attribute_bitmap(const uint64_t *atts, char *buf); /* needed by com_ls() */ int get_attribute_bitnum_by_name(const char *att_name, unsigned char *bitnum); int get_attribute_text(uint64_t *atts, const char *delim, char **text); @@ -135,7 +135,7 @@ int load_afsi(struct afs_info *afsi, struct osl_object *obj); void save_afsi(struct afs_info *afsi, struct osl_object *obj); int get_afsi_of_row(const struct osl_row *row, struct afs_info *afsi); int get_audio_file_path_of_row(const struct osl_row *row, char **path); -int get_afsi_object_of_row(const void *row, struct osl_object *obj); +int get_afsi_object_of_row(const struct osl_row *row, struct osl_object *obj); int audio_file_loop(void *private_data, osl_rbtree_loop_func *func); /* mood */