/usr/include/audacious/misc-api.h is in audacious-dev 3.4.3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 | /*
* misc-api.h
* Copyright 2010-2011 John Lindgren
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions, and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions, and the following disclaimer in the documentation
* provided with the distribution.
*
* This software is provided "as is" and without any warranty, express or
* implied. In no event shall the authors be liable for any damages arising from
* the use of this software.
*/
/* Do not include this file directly; use misc.h instead. */
/* art.c (thread-safe) */
/* deprecated; use the non-blocking art_request_* functions instead */
AUD_VFUNC3 (art_get_data, const char *, file, const void * *, data, int64_t *, len)
AUD_FUNC1 (const char *, art_get_file, const char *, file)
/* Releases album art returned by art_request_data() or art_request_file(). */
AUD_VFUNC1 (art_unref, const char *, file)
/* config.c */
AUD_VFUNC1 (config_clear_section, const char *, section)
AUD_VFUNC2 (config_set_defaults, const char *, section, const char * const *, entries)
AUD_VFUNC3 (set_string, const char *, section, const char *, name, const char *, value)
AUD_FUNC2 (char *, get_string, const char *, section, const char *, name)
AUD_VFUNC3 (set_bool, const char *, section, const char *, name, bool_t, value)
AUD_FUNC2 (bool_t, get_bool, const char *, section, const char *, name)
AUD_VFUNC3 (set_int, const char *, section, const char *, name, int, value)
AUD_FUNC2 (int, get_int, const char *, section, const char *, name)
AUD_VFUNC3 (set_double, const char *, section, const char *, name, double, value)
AUD_FUNC2 (double, get_double, const char *, section, const char *, name)
/* equalizer.c */
AUD_VFUNC1 (eq_set_bands, const double *, values)
AUD_VFUNC1 (eq_get_bands, double *, values)
AUD_VFUNC2 (eq_set_band, int, band, double, value)
AUD_FUNC1 (double, eq_get_band, int, band)
/* equalizer_preset.c */
AUD_FUNC1 (Index *, equalizer_read_presets, const char *, basename)
AUD_FUNC2 (bool_t, equalizer_write_preset_file, Index *, list, const char *, basename)
AUD_FUNC1 (EqualizerPreset *, load_preset_file, const char *, filename)
AUD_FUNC2 (bool_t, save_preset_file, EqualizerPreset *, preset, const char *, filename)
AUD_FUNC1 (Index *, import_winamp_eqf, VFSFile *, file)
/* history.c */
AUD_FUNC1 (const char *, history_get, int, entry)
AUD_VFUNC1 (history_add, const char *, path)
/* interface.c */
AUD_VFUNC1 (interface_show, bool_t, show)
AUD_FUNC0 (bool_t, interface_is_shown)
AUD_FUNC0 (bool_t, interface_is_focused)
/* interface_show_error() is safe to call from any thread */
AUD_VFUNC1 (interface_show_error, const char *, message)
AUD_VFUNC1 (interface_show_filebrowser, bool_t, play)
AUD_VFUNC0 (interface_show_jump_to_track)
AUD_VFUNC1 (interface_install_toolbar, void *, button)
AUD_VFUNC1 (interface_uninstall_toolbar, void *, button)
/* main.c */
AUD_FUNC1 (const char *, get_path, int, path)
/* output.c */
AUD_VFUNC1 (output_reset, int, type)
/* probe.c */
AUD_FUNC2 (PluginHandle *, file_find_decoder, const char *, filename, bool_t,
fast)
AUD_FUNC2 (Tuple *, file_read_tuple, const char *, filename, PluginHandle *,
decoder)
AUD_FUNC4 (bool_t, file_read_image, const char *, filename, PluginHandle *,
decoder, void * *, data, int64_t *, size)
AUD_FUNC2 (bool_t, file_can_write_tuple, const char *, filename,
PluginHandle *, decoder)
AUD_FUNC3 (bool_t, file_write_tuple, const char *, filename, PluginHandle *,
decoder, const Tuple *, tuple)
AUD_FUNC2 (bool_t, custom_infowin, const char *, filename, PluginHandle *,
decoder)
/* ui_plugin_menu.c */
AUD_FUNC1 (/* GtkWidget * */ void *, get_plugin_menu, int, id)
AUD_VFUNC4 (plugin_menu_add, int, id, MenuFunc, func, const char *, name,
const char *, icon)
AUD_VFUNC2 (plugin_menu_remove, int, id, MenuFunc, func)
/* ui_preferences.c */
AUD_VFUNC4 (create_widgets_with_domain, /* GtkWidget * */ void *, box,
const PreferencesWidget *, widgets, int, n_widgets, const char *, domain)
AUD_VFUNC0 (show_prefs_window)
/* util.c */
AUD_FUNC2 (char *, construct_uri, const char *, base, const char *, reference)
/* visualization.c */
AUD_VFUNC2 (vis_func_add, int, type, VisFunc, func)
AUD_VFUNC1 (vis_func_remove, VisFunc, func)
/* added in Audacious 3.4 */
/* Gets album art for <file> (the URI of a song file) as JPEG or PNG data. If
* the album art is not yet loaded, sets <data> to NULL and begins to load the
* album art in the background. On completion, the "art ready" hook is called,
* with <file> as a parameter. The "current art ready" hook is also called if
* <file> is the currently playing song. */
AUD_VFUNC3 (art_request_data, const char *, file, const void * *, data, int64_t *, len)
/* Similar to art_request_data() but returns the URI of an image file.
* (A temporary file will be created if necessary.) */
AUD_FUNC1 (const char *, art_request_file, const char *, file)
|