Audacious  $Id:Doxyfile42802007-03-2104:39:00Znenolod$
Classes | Functions
probe.c File Reference
#include <glib.h>
#include <stdio.h>
#include <string.h>
#include <libaudcore/audstrings.h>
#include "debug.h"
#include "misc.h"
#include "playlist.h"
#include "plugin.h"
#include "plugins.h"
#include "probe-buffer.h"

Go to the source code of this file.

Classes

struct  ProbeState

Functions

static bool_t check_opened (ProbeState *state)
static bool_t probe_func (PluginHandle *plugin, ProbeState *state)
static bool_t probe_func_fast (PluginHandle *plugin, ProbeState *state)
static void probe_by_scheme (ProbeState *state)
static void probe_by_extension (ProbeState *state)
static void probe_by_mime (ProbeState *state)
static void probe_by_content (ProbeState *state)
PluginHandlefile_find_decoder (const char *filename, bool_t fast)
Tuple * file_read_tuple (const char *filename, PluginHandle *decoder)
bool_t file_read_image (const char *filename, PluginHandle *decoder, void **data, int64_t *size)
bool_t file_can_write_tuple (const char *filename, PluginHandle *decoder)
bool_t file_write_tuple (const char *filename, PluginHandle *decoder, const Tuple *tuple)
bool_t custom_infowin (const char *filename, PluginHandle *decoder)

Function Documentation

static bool_t check_opened ( ProbeState state)
static

Definition at line 42 of file probe.c.

Referenced by probe_by_mime(), and probe_func().

bool_t custom_infowin ( const char *  filename,
PluginHandle decoder 
)

Definition at line 265 of file probe.c.

bool_t file_can_write_tuple ( const char *  filename,
PluginHandle decoder 
)

Definition at line 237 of file probe.c.

PluginHandle* file_find_decoder ( const char *  filename,
bool_t  fast 
)

Definition at line 163 of file probe.c.

Referenced by add_file(), art_item_new(), and scanner().

bool_t file_read_image ( const char *  filename,
PluginHandle decoder,
void **  data,
int64_t *  size 
)

Definition at line 212 of file probe.c.

Referenced by art_item_new().

Tuple* file_read_tuple ( const char *  filename,
PluginHandle decoder 
)

Definition at line 197 of file probe.c.

bool_t file_write_tuple ( const char *  filename,
PluginHandle decoder,
const Tuple *  tuple 
)

Definition at line 242 of file probe.c.

static void probe_by_content ( ProbeState state)
static

Definition at line 157 of file probe.c.

Referenced by file_find_decoder().

static void probe_by_extension ( ProbeState state)
static

Definition at line 131 of file probe.c.

Referenced by file_find_decoder().

static void probe_by_mime ( ProbeState state)
static

Definition at line 141 of file probe.c.

Referenced by file_find_decoder().

static void probe_by_scheme ( ProbeState state)
static

Definition at line 116 of file probe.c.

Referenced by file_find_decoder().

static bool_t probe_func ( PluginHandle plugin,
ProbeState state 
)
static

Definition at line 63 of file probe.c.

Referenced by probe_by_content(), and probe_func_fast().

static bool_t probe_func_fast ( PluginHandle plugin,
ProbeState state 
)
static

Definition at line 100 of file probe.c.

Referenced by probe_by_extension(), probe_by_mime(), and probe_by_scheme().