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 44 of file probe.c.

Referenced by probe_by_mime(), and probe_func().

bool_t custom_infowin ( const char *  filename,
PluginHandle decoder 
)

Definition at line 273 of file probe.c.

bool_t file_can_write_tuple ( const char *  filename,
PluginHandle decoder 
)

Definition at line 245 of file probe.c.

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

Definition at line 171 of file probe.c.

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

Definition at line 220 of file probe.c.

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

Definition at line 205 of file probe.c.

Referenced by add_file(), and scanner().

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

Definition at line 250 of file probe.c.

static void probe_by_content ( ProbeState state) [static]

Definition at line 165 of file probe.c.

Referenced by file_find_decoder().

static void probe_by_extension ( ProbeState state) [static]

Definition at line 133 of file probe.c.

Referenced by file_find_decoder().

static void probe_by_mime ( ProbeState state) [static]

Definition at line 149 of file probe.c.

Referenced by file_find_decoder().

static void probe_by_scheme ( ProbeState state) [static]

Definition at line 118 of file probe.c.

Referenced by file_find_decoder().

static bool_t probe_func ( PluginHandle plugin,
ProbeState state 
) [static]

Definition at line 65 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 102 of file probe.c.

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