#include <glib.h>
#include <pthread.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include "config.h"
#include "core.h"
Go to the source code of this file.
Functions | |
static void | str_destroy (void *str) |
char * | str_get (const char *str) |
char * | str_ref (char *str) |
void | str_unref (char *str) |
char * | str_nget (const char *str, int len) |
char * | str_printf (const char *format,...) |
void | strpool_abort (char *str) |
static void | str_leaked (void *key, void *str, void *unused) |
void | strpool_shutdown (void) |
Variables | |
static pthread_mutex_t | mutex = PTHREAD_MUTEX_INITIALIZER |
static GHashTable * | table |
static void str_destroy | ( | void * | str | ) | [static] |
char* str_get | ( | const char * | str | ) |
Definition at line 69 of file strpool.c.
Referenced by add_folder(), art_item_new(), config_set_defaults(), convert_filenames(), drct_pl_add(), drct_pl_open(), drct_pl_open_temp(), hook_associate(), hook_dissociate_full(), parse_string(), playlist_entry_insert(), playlist_new(), playlist_set_filename(), playlist_set_title(), str_get_decoded(), str_nget(), str_printf(), strings_to_index(), tuple_format_title(), tuple_formatter_process_string(), tuple_set_str(), and vfs_new().
static void str_leaked | ( | void * | key, | |
void * | str, | |||
void * | unused | |||
) | [static] |
Definition at line 190 of file strpool.c.
Referenced by strpool_shutdown().
char* str_printf | ( | const char * | format, | |
... | ||||
) |
Definition at line 164 of file strpool.c.
Referenced by add_file(), get_plugin(), and playback_get_title().
char* str_ref | ( | char * | str | ) |
Definition at line 109 of file strpool.c.
Referenced by playback_entry_get_title(), playback_get_filename(), playlist_entry_describe(), playlist_entry_get_filename(), playlist_entry_get_title(), playlist_get_filename(), playlist_get_title(), scanner(), tuple_copy(), and tuple_get_str().
void str_unref | ( | char * | str | ) |
Definition at line 132 of file strpool.c.
Referenced by add_file(), add_folder(), add_playlist(), art_cleanup(), art_item_free(), audacious_rc_get_active_playlist_name(), audacious_rc_song_filename(), audacious_rc_song_title(), do_remote(), entry_free(), entry_set_tuple_real(), get_mpris_metadata(), get_nonblank_field(), get_plugin(), index_free_filenames(), mpris_emit_track_change(), playback_cleanup(), playlist_free(), playlist_get_blank(), playlist_get_temporary(), playlist_insert_playlist_raw(), playlist_load_state(), playlist_reformat_titles(), playlist_remove_duplicates_by_scheme(), playlist_remove_failed(), playlist_save(), playlist_select_by_patterns(), playlist_set_filename(), playlist_set_title(), position_hook(), scanner(), str_unref_cb(), tuple_compare_string(), tuple_destroy_unlocked(), tuple_evalctx_free_var(), tuple_evalctx_reset(), tuple_format_title(), tuple_set_str(), tuple_unset(), tuple_value_to_gvalue(), update_from_playlist(), and vfs_fclose().
void strpool_shutdown | ( | void | ) |
Definition at line 198 of file strpool.c.
Referenced by shut_down().
pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER [static] |
Definition at line 34 of file strpool.c.
Referenced by str_get(), str_ref(), and str_unref().
GHashTable* table [static] |
Definition at line 35 of file strpool.c.
Referenced by config_set_defaults(), create_filepopup_settings(), get_default(), plugin_load(), str_get(), str_unref(), and strpool_shutdown().