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

bool_t file_can_write_tuple ( const char *  filename,
PluginHandle decoder 
)

Definition at line 239 of file probe.c.

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

Definition at line 160 of file probe.c.

Referenced by add_file(), and scan_worker().

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

Definition at line 214 of file probe.c.

Referenced by scan_worker().

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

Definition at line 199 of file probe.c.

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

Definition at line 244 of file probe.c.

static void probe_by_content ( ProbeState state)
static

Definition at line 154 of file probe.c.

Referenced by file_find_decoder().

static void probe_by_extension ( ProbeState state)
static

Definition at line 128 of file probe.c.

Referenced by file_find_decoder().

static void probe_by_mime ( ProbeState state)
static

Definition at line 138 of file probe.c.

Referenced by file_find_decoder().

static void probe_by_scheme ( ProbeState state)
static

Definition at line 113 of file probe.c.

Referenced by file_find_decoder().

static bool_t probe_func ( PluginHandle plugin,
ProbeState state 
)
static

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

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