Audacious  $Id:Doxyfile42802007-03-2104:39:00Znenolod$
Macros | Functions | Variables
history.c File Reference
#include <glib.h>
#include <stdio.h>
#include <string.h>
#include <libaudcore/hook.h>
#include "main.h"
#include "misc.h"

Go to the source code of this file.

Macros

#define MAX_ENTRIES   30

Functions

static void history_save (void)
static void history_load (void)
void history_cleanup (void)
const char * history_get (int entry)
void history_add (const char *path)

Variables

static GQueue history = G_QUEUE_INIT
static bool_t loaded
static bool_t modified

Macro Definition Documentation

#define MAX_ENTRIES   30

Definition at line 29 of file history.c.

Referenced by history_save().


Function Documentation

void history_add ( const char *  path)

Definition at line 101 of file history.c.

void history_cleanup ( void  )

Definition at line 81 of file history.c.

Referenced by shut_down().

const char* history_get ( int  entry)

Definition at line 95 of file history.c.

static void history_load ( void  )
static

Definition at line 57 of file history.c.

Referenced by history_add(), and history_get().

static void history_save ( void  )
static

Definition at line 34 of file history.c.

Referenced by history_cleanup(), and history_load().


Variable Documentation

GQueue history = G_QUEUE_INIT
static

Definition at line 31 of file history.c.

Referenced by history_add(), history_cleanup(), history_get(), history_load(), and history_save().

bool_t loaded
static

Definition at line 32 of file history.c.

Referenced by history_cleanup(), history_load(), plugin2_process(), and plugin_new().

bool_t modified
static

Definition at line 32 of file history.c.

Referenced by history_add(), history_cleanup(), and history_save().