diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-09-02 19:33:16 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-09-02 19:33:16 +0200 |
commit | 9bd62aef042c65427f60473e591e719c51121903 (patch) | |
tree | cd54fb52f6cfce0263a88ce42d92fbd61a283222 /src/sound-theme-spec.h | |
parent | 290730ffc05735874a584063a838a8a30ce2baca (diff) |
add tdb based shared lookup cache
Diffstat (limited to 'src/sound-theme-spec.h')
-rw-r--r-- | src/sound-theme-spec.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/sound-theme-spec.h b/src/sound-theme-spec.h index 7511eed..c80142d 100644 --- a/src/sound-theme-spec.h +++ b/src/sound-theme-spec.h @@ -26,8 +26,10 @@ typedef struct ca_theme_data ca_theme_data; -int ca_lookup_sound(ca_sound_file **f, ca_theme_data **t, ca_proplist *cp, ca_proplist *sp); -int ca_lookup_sound_with_callback(ca_sound_file **f, ca_sound_file_open_callback_t sfopen, ca_theme_data **t, ca_proplist *cp, ca_proplist *sp); +typedef int (*ca_sound_file_open_callback_t)(ca_sound_file **f, const char *fn); + +int ca_lookup_sound(ca_sound_file **f, char **sound_path, ca_theme_data **t, ca_proplist *cp, ca_proplist *sp); +int ca_lookup_sound_with_callback(ca_sound_file **f, ca_sound_file_open_callback_t sfopen, char **sound_path, ca_theme_data **t, ca_proplist *cp, ca_proplist *sp); void ca_theme_data_free(ca_theme_data *t); int ca_get_data_home(char **e); |