Audacious $Id:Doxyfile42802007-03-2104:39:00Znenolod$
Defines | 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.

Defines

#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

Define Documentation

#define MAX_ENTRIES   30

Definition at line 31 of file history.c.

Referenced by history_save().


Function Documentation

void history_add ( const char *  path)

Definition at line 103 of file history.c.

void history_cleanup ( void  )

Definition at line 83 of file history.c.

Referenced by shut_down().

const char* history_get ( int  entry)

Definition at line 97 of file history.c.

static void history_load ( void  ) [static]

Definition at line 59 of file history.c.

Referenced by history_add(), and history_get().

static void history_save ( void  ) [static]

Definition at line 36 of file history.c.

Referenced by history_cleanup(), and history_load().


Variable Documentation

GQueue history = G_QUEUE_INIT [static]

Definition at line 33 of file history.c.

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

bool_t loaded [static]

Definition at line 34 of file history.c.

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