diff options
Diffstat (limited to '')
-rw-r--r-- | src/StickerDatabase.hxx (renamed from src/sticker.h) | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/src/sticker.h b/src/StickerDatabase.hxx index 5545206a5..90ff9b066 100644 --- a/src/sticker.h +++ b/src/StickerDatabase.hxx @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2011 The Music Player Daemon Project + * Copyright (C) 2003-2013 The Music Player Daemon Project * http://www.musicpd.org * * This program is free software; you can redistribute it and/or modify @@ -39,12 +39,10 @@ * */ -#ifndef STICKER_H -#define STICKER_H +#ifndef MPD_STICKER_DATABASE_HXX +#define MPD_STICKER_DATABASE_HXX -#include <glib.h> - -#include <stdbool.h> +#include "gerror.h" struct sticker; @@ -127,8 +125,8 @@ sticker_get_value(const struct sticker *sticker, const char *name); void sticker_foreach(const struct sticker *sticker, void (*func)(const char *name, const char *value, - gpointer user_data), - gpointer user_data); + void *user_data), + void *user_data); /** * Loads the sticker for the specified resource. @@ -153,7 +151,7 @@ sticker_load(const char *type, const char *uri); bool sticker_find(const char *type, const char *base_uri, const char *name, void (*func)(const char *uri, const char *value, - gpointer user_data), - gpointer user_data); + void *user_data), + void *user_data); #endif |