~ubuntu-branches/ubuntu/saucy/mpd/saucy

« back to all changes in this revision

Viewing changes to src/queue_save.h

  • Committer: Bazaar Package Importer
  • Author(s): Angel Abad
  • Date: 2011-02-02 12:26:30 UTC
  • mfrom: (1.5.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20110202122630-bdyx8w4k94doz4fs
Tags: 0.16.1-1ubuntu1
* Merge from debian unstable. Remaining changes:
  - debian/control:
    + Don't build-depend on libmikmod2-dev (Debian bug #510675).
    + Move avahi-daemon from Suggests field to Recommends field.
  - debian/mpd.init.d:
    + Read mpd user from mpd.conf.
  - debian/control, debian/rules:
    + Add libmp3lame-dev to the build dependencies and enable lame.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright (C) 2003-2009 The Music Player Daemon Project
 
2
 * Copyright (C) 2003-2010 The Music Player Daemon Project
3
3
 * http://www.musicpd.org
4
4
 *
5
5
 * This program is free software; you can redistribute it and/or modify
25
25
#ifndef QUEUE_SAVE_H
26
26
#define QUEUE_SAVE_H
27
27
 
 
28
#include <glib.h>
28
29
#include <stdio.h>
29
30
 
30
31
struct queue;
33
34
queue_save(FILE *fp, const struct queue *queue);
34
35
 
35
36
/**
36
 
 * Loads one song from the state file line and returns its number.
37
 
 * Returns -1 on failure.
 
37
 * Loads one song from the state file and appends it to the queue.
38
38
 */
39
 
int
40
 
queue_load_song(struct queue *queue, const char *line);
 
39
void
 
40
queue_load_song(FILE *fp, GString *buffer, const char *line,
 
41
                struct queue *queue);
41
42
 
42
43
#endif