Mercurial > audlegacy-plugins
comparison src/flacng/tools.h @ 2266:5395c85a8724
Make flacng plugin to clean up after itself (Bugzilla #19)
author | Jussi Judin <jjudin+audacious@iki.fi> |
---|---|
date | Tue, 25 Dec 2007 02:15:14 -0600 |
parents | 654aa79e43ef |
children | f1b6f1b2cdb3 |
comparison
equal
deleted
inserted
replaced
2265:349e659d34ca | 2266:5395c85a8724 |
---|---|
38 g_mutex_unlock((__info)->mutex); \ | 38 g_mutex_unlock((__info)->mutex); \ |
39 _DEBUG("Unlocked info %s", (__info)->name); \ | 39 _DEBUG("Unlocked info %s", (__info)->name); \ |
40 } while(0) | 40 } while(0) |
41 | 41 |
42 callback_info* init_callback_info(gchar* name); | 42 callback_info* init_callback_info(gchar* name); |
43 void clean_callback_info(callback_info* info); | |
43 void reset_info(callback_info* info, gboolean close_fd); | 44 void reset_info(callback_info* info, gboolean close_fd); |
44 gchar* get_title(const gchar* filename, callback_info* info); | 45 gchar* get_title(const gchar* filename, callback_info* info); |
45 Tuple *get_tuple(const gchar *filename, callback_info* info); | 46 Tuple *get_tuple(const gchar *filename, callback_info* info); |
46 void add_comment(callback_info* info, gchar* key, gchar* value); | 47 void add_comment(callback_info* info, gchar* key, gchar* value); |
47 gboolean read_metadata(VFSFile* fd, FLAC__StreamDecoder* decoder, callback_info* info); | 48 gboolean read_metadata(VFSFile* fd, FLAC__StreamDecoder* decoder, callback_info* info); |