XMMS2
xmms_medialib.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 
18 
19 
20 #ifndef __XMMS_PRIV_MEDIALIB_H__
21 #define __XMMS_PRIV_MEDIALIB_H__
22 
23 #include "xmms/xmms_medialib.h"
24 #include "xmmspriv/xmms_playlist.h"
25 #include "xmmspriv/xmms_sqlite.h"
26 
27 typedef struct xmms_medialib_St xmms_medialib_t;
28 
30 
31 GList *xmms_medialib_select (xmms_medialib_session_t *, const gchar *query, xmms_error_t *error);
32 GList *xmms_medialib_info_list (xmms_medialib_t *medialib, guint32 id, xmms_error_t *err);
33 
37 
40 gboolean xmms_medialib_decode_url (char *url);
42 
43 gboolean xmms_medialib_entry_property_set_str_source (xmms_medialib_session_t *session, xmms_medialib_entry_t entry, const gchar *property, const gchar *value, guint32 source);
44 gboolean xmms_medialib_entry_property_set_int_source (xmms_medialib_session_t *session, xmms_medialib_entry_t entry, const gchar *property, gint value, guint32 source);
45 guint32 xmms_medialib_source_to_id (xmms_medialib_session_t *session, const gchar *source);
46 void xmms_medialib_add_recursive (xmms_medialib_t *medialib, const gchar *playlist, const gchar *path, xmms_error_t *error);
47 void xmms_medialib_insert_recursive (xmms_medialib_t *medialib, const gchar *playlist, gint32 pos, const gchar *path, xmms_error_t *error);
48 
49 #endif