probe.c File Reference

#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 gboolean check_opened (ProbeState *state)
static gboolean probe_func (PluginHandle *plugin, ProbeState *state)
static gboolean 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 gchar *filename, gboolean fast)
Tuplefile_read_tuple (const gchar *filename, PluginHandle *decoder)
gboolean file_read_image (const gchar *filename, PluginHandle *decoder, void **data, gint *size)
gboolean file_can_write_tuple (const gchar *filename, PluginHandle *decoder)
gboolean file_write_tuple (const gchar *filename, PluginHandle *decoder, const Tuple *tuple)
gboolean custom_infowin (const gchar *filename, PluginHandle *decoder)

Function Documentation

static gboolean check_opened ( ProbeState state  )  [static]

Definition at line 43 of file probe.c.

Referenced by probe_by_mime(), and probe_func().

gboolean custom_infowin ( const gchar *  filename,
PluginHandle decoder 
)

Definition at line 277 of file probe.c.

gboolean file_can_write_tuple ( const gchar *  filename,
PluginHandle decoder 
)

Definition at line 247 of file probe.c.

PluginHandle* file_find_decoder ( const gchar *  filename,
gboolean  fast 
)

Definition at line 172 of file probe.c.

gboolean file_read_image ( const gchar *  filename,
PluginHandle decoder,
void **  data,
gint size 
)

Definition at line 225 of file probe.c.

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

Definition at line 207 of file probe.c.

Referenced by add_file(), and scanner().

gboolean file_write_tuple ( const gchar *  filename,
PluginHandle decoder,
const Tuple tuple 
)

Definition at line 252 of file probe.c.

static void probe_by_content ( ProbeState state  )  [static]

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

Referenced by file_find_decoder().

static void probe_by_scheme ( ProbeState state  )  [static]

Definition at line 117 of file probe.c.

Referenced by file_find_decoder().

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

Definition at line 61 of file probe.c.

Referenced by probe_by_content(), and probe_func_fast().

static gboolean probe_func_fast ( PluginHandle plugin,
ProbeState state 
) [static]

Definition at line 101 of file probe.c.

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


Generated on 26 Jan 2012 for Audacious by  doxygen 1.6.1