XMMS2
xmms_bindata.h
Go to the documentation of this file.
1/* XMMS2 - X Music Multiplexer System
2 * Copyright (C) 2003-2011 XMMS2 Team
3 *
4 * PLUGINS ARE NOT CONSIDERED TO BE DERIVED WORK !!!
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 */
16
17#ifndef __XMMS_BINDATA_H__
18#define __XMMS_BINDATA_H__
19
20#include <glib.h>
21
22G_BEGIN_DECLS
23
24gchar *xmms_bindata_calculate_md5 (const guchar *data, gsize size, gchar ret[33]);
25gboolean xmms_bindata_plugin_add (const guchar *data, gsize size, gchar hash[33]);
26
27G_END_DECLS
28
29#endif
G_BEGIN_DECLS gchar * xmms_bindata_calculate_md5(const guchar *data, gsize size, gchar ret[33])
Definition: bindata.c:109
gboolean xmms_bindata_plugin_add(const guchar *data, gsize size, gchar hash[33])
Add binary data from a plugin.
Definition: bindata.c:139